diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2023-12-22 01:58:28 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2023-12-22 01:58:28 +0000 |
commit | 2634d43c8c33e1fcfeca85f80eb30e3af341a745 (patch) | |
tree | d20609f18d5cf262962a7971370e9e58560c6b3e /app | |
parent | 1f7f1a2db7f92750133faf95eb6f22f82ce337e7 (diff) | |
download | redmine-2634d43c8c33e1fcfeca85f80eb30e3af341a745.tar.gz redmine-2634d43c8c33e1fcfeca85f80eb30e3af341a745.zip |
Fix hardcoded string "auto" on user preferences page (#39879).
Patch by @salmanmp.
git-svn-id: https://svn.redmine.org/redmine/trunk@22549 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 148d07b3e..ac7cc3c50 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1474,7 +1474,7 @@ module ApplicationHelper end def lang_options_for_select(blank=true) - (blank ? [["(auto)", ""]] : []) + languages_options + (blank ? [["(#{l('label_option_auto_lang')})", ""]] : []) + languages_options end def labelled_form_for(*args, &proc) |