We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4146329 commit bbbc24eCopy full SHA for bbbc24e
1 file changed
pinc/UserSuggestions.inc
@@ -104,10 +104,12 @@ class UserSuggestions
104
}
105
106
// if the user hasn't proofread any projects, lets assume they'll want to
107
- // proofread in the language the UI is in and fall back to English
+ // proofread in the language the UI is in and fall back to English.
108
+ // Project languages are in English, so we need to return the English
109
+ // name of the language.
110
if (!$user_languages) {
111
$user_languages = [
- lang_name(short_lang_code(get_user_language($this->_username))) => 5,
112
+ eng_name(short_lang_code(get_user_language($this->_username))) => 5,
113
];
114
$user_languages["English"] = 1;
115
0 commit comments