Skip to content
This repository
Browse code

Added localized descriptions for settings page.

  • Loading branch information...
commit 4bda8cd6624ce78acebe894f838eb749dd71a4a2 1 parent 2e5e93e
Ivan Cenov authored March 17, 2012
5  app/views/settings/_better_gantt_chart_settings.rhtml
@@ -3,9 +3,8 @@
3 3
 <%= check_box_tag('settings[work_on_weekends]', @settings['work_on_weekends'], @settings['work_on_weekends']) %>
4 4
 </p>
5 5
 <p>
6  
-<strong>Enabled</strong>: a week has 7 working days. Issues can start and finish on weekends when automatically rescheduled. Issue duration includes weekends.
7  
-<br /><strong>Disabled</strong>: a week has 5 working days. If start or due date falls on a weekend when the issue is rescheduled automatically, it is moved to the next Monday.
8  
-<br />Note, that with any value of the setting start and due dates can always be set to a weekend manually.
  6
+<strong><%= h l(:label_enabled) %></strong>: <%= h l(:description_enabled) %>
  7
+<br /><strong><%= h l(:label_disabled) %></strong>: <%= h l(:description_disabled) %>
9 8
 </p>
10 9
 <p>
11 10
 <br />
4  config/locales/bg.yml
@@ -4,3 +4,7 @@ bg:
4 4
   work_on_weekends_label: "Работа в почивните дни"
5 5
   smart_sorting_label: "Интелигентно сортиране"
6 6
   task_moved_journal_entry: "поради промени в свързана задача"
  7
+  label_enabled: "Включено"
  8
+  label_disabled: "Изключено"
  9
+  description_enabled: "Седмицата съдържа 7 работни дни. Задачите могат да стартират и спират в събота и неделя, когато се изпълнява автоматично преместване на датите. Продължителността на задачите включва събота и неделя."
  10
+  description_disabled: "Седмицата съдържа 5 работни дни. Ако началната или крайната дата попадне в почивните дни при автоматично преместване, тя се премества в следващия понеделник. Независимо от това е възможно ръчно установяване на дата в почивен ден."
4  config/locales/en.yml
@@ -4,3 +4,7 @@ en:
4 4
   work_on_weekends_label: "Work on weekends"
5 5
   smart_sorting_label: "Smart sorting"
6 6
   task_moved_journal_entry: "due to changes in a related task"
  7
+  label_enabled: "Enabled"
  8
+  label_disabled: "Disabled"
  9
+  description_enabled: "a week has 7 working days. Issues can start and finish on weekends when automatically rescheduled. Issue duration includes weekends."
  10
+  description_disabled: "a week has 5 working days. If start or due date falls on a weekend when the issue is rescheduled automatically, it is moved to the next Monday. Note, that with any value of the setting start and due dates can always be set to a weekend manually."
5  config/locales/fr.yml
@@ -3,4 +3,9 @@ fr:
3 3
   field_duration: "Durée"
4 4
   work_on_weekends_label: "Travail le week-end"
5 5
   smart_sorting_label: "Classement intelligent"
  6
+  task_moved_journal_entry: "due to changes in a related task"
  7
+  label_enabled: "Enabled"
  8
+  label_disabled: "Disabled"
  9
+  description_enabled: "a week has 7 working days. Issues can start and finish on weekends when automatically rescheduled. Issue duration includes weekends."
  10
+  description_disabled: "a week has 5 working days. If start or due date falls on a weekend when the issue is rescheduled automatically, it is moved to the next Monday. Note, that with any value of the setting start and due dates can always be set to a weekend manually."
6 11
 

0 notes on commit 4bda8cd

Please sign in to comment.
Something went wrong with that request. Please try again.