Project

General

Profile

Patch #39879 » fix-hardcoded-string.patch

salman mp, 2023-12-19 21:13

View differences:

app/helpers/application_helper.rb (revision 41975:628e5abcf470d2daf49b12e2ce2857c1eedba84a) → app/helpers/application_helper.rb (revision 41975+:628e5abcf470+)
1474 1474
  end
1475 1475

  
1476 1476
  def lang_options_for_select(blank=true)
1477
    (blank ? [["(auto)", ""]] : []) + languages_options
1477
    (blank ? [[l("label_option_auto_lang"), ""]] : []) + languages_options
1478 1478
  end
1479 1479

  
1480 1480
  def labelled_form_for(*args, &proc)
config/locales/en.yml (revision 41975:628e5abcf470d2daf49b12e2ce2857c1eedba84a) → config/locales/en.yml (revision 41975+:628e5abcf470+)
879 879
  label_diff_inline: inline
880 880
  label_diff_side_by_side: side by side
881 881
  label_options: Options
882
  label_option_auto_lang: (auto)
882 883
  label_copy_workflow_from: Copy workflow from
883 884
  label_permissions_report: Permissions report
884 885
  label_watched_issues: Watched issues
config/locales/fa.yml (revision 41975:628e5abcf470d2daf49b12e2ce2857c1eedba84a) → config/locales/fa.yml (revision 41975+:628e5abcf470+)
875 875
  label_diff_inline: هم‌ردیف
876 876
  label_diff_side_by_side: پهلوبه‌پهلو
877 877
  label_options: گزینه‌ها
878
  label_option_auto_lang: (خودکار)
878 879
  label_copy_workflow_from: رونویسی گردش کار از روی
879 880
  label_permissions_report: گزارش دست‌رسی‌ها
880 881
  label_watched_issues: مسئله‌های نظارت‌شده
    (1-1/1)