diff options
-rw-r--r-- | app/helpers/application_helper.rb | 2 | ||||
-rw-r--r-- | config/locales/en.yml | 1 | ||||
-rw-r--r-- | config/locales/fa.yml | 1 |
3 files changed, 3 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) diff --git a/config/locales/en.yml b/config/locales/en.yml index 672d4d530..2bbd776a3 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -879,6 +879,7 @@ en: label_diff_inline: inline label_diff_side_by_side: side by side label_options: Options + label_option_auto_lang: auto label_copy_workflow_from: Copy workflow from label_permissions_report: Permissions report label_watched_issues: Watched issues diff --git a/config/locales/fa.yml b/config/locales/fa.yml index 6846c3f7a..7b4efe1b1 100644 --- a/config/locales/fa.yml +++ b/config/locales/fa.yml @@ -875,6 +875,7 @@ fa: label_diff_inline: همردیف label_diff_side_by_side: پهلوبهپهلو label_options: گزینهها + label_option_auto_lang: خودکار label_copy_workflow_from: رونویسی گردش کار از روی label_permissions_report: گزارش دسترسیها label_watched_issues: مسئلههای نظارتشده |