Permalink
Browse files

Added localized descriptions for settings page.

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

0 comments on commit 4bda8cd

Please sign in to comment.