-
Kassio Borges authored
Instead of using `Gitlab::I18n::AVAILABLE_LANGUAGES` order to define the user default language in the UI, use the `User#preferred_language`. `User#preferred_language` is set by default with `I18n.default_locale`.
787296d7
Instead of using `Gitlab::I18n::AVAILABLE_LANGUAGES` order to define the user default language in the UI, use the `User#preferred_language`. `User#preferred_language` is set by default with `I18n.default_locale`.