Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/models/uc_period.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ def txt_to_notify(add_body=true)

if active?(time)
msg = l(:label_dear_colleagues)+"\n\n"
msg << l(:infromation_technical_operations_emergency, :time_end => format_time(end_date-to))+"\n\n"
msg << l(:information_technical_operations_emergency, :time_end => format_time(end_date-to))+"\n\n"
msg << custom_message if add_body && custom_message && custom_message != ''
elsif planning?(time)
msg = l(:label_dear_colleagues)+"\n\n"
msg << l(:infromation_technical_operations_planing, :time_start => format_time(begin_date-to), :time_end => format_time(end_date-to))+"\n\n"
msg << l(:information_technical_operations_planing, :time_start => format_time(begin_date-to), :time_end => format_time(end_date-to))+"\n\n"
msg << custom_message if add_body && custom_message && custom_message != ''
elsif manual_off?(time)
msg = l(:label_dear_colleagues)+"\n\n"
msg << l(:infromation_technical_operations_ends)
msg << l(:information_technical_operations_ends)
end
msg
end

end
end
8 changes: 4 additions & 4 deletions config/locales/bg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ bg:
warning_technical_operations_in_progress: "Техническа поддръжка"

label_dear_colleagues: "Уважаеми потребители!"
infromation_technical_operations_planing: "Redmine е в техническа поддръжка от %{time_start} до %{time_end}. Моля да завършите работата си в Redmine до началото на периода."
infromation_technical_operations_ends: "Техническата поддръжка е завършена. Redmine работи нормално."
infromation_technical_operations_emergency: "Redmine е в техническа поддръжка, която ще продължи до %{time_end}."
information_technical_operations_planing: "Redmine е в техническа поддръжка от %{time_start} до %{time_end}. Моля да завършите работата си в Redmine до началото на периода."
information_technical_operations_ends: "Техническата поддръжка е завършена. Redmine работи нормално."
information_technical_operations_emergency: "Redmine е в техническа поддръжка, която ще продължи до %{time_end}."

infromation_technical_operations_emergency_html: "Redmine е в техническа поддръжка, която ще продължи до <strong><nobr>%{time_end}</nobr></strong>"
information_technical_operations_emergency_html: "Redmine е в техническа поддръжка, която ще продължи до <strong><nobr>%{time_end}</nobr></strong>"
8 changes: 4 additions & 4 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ de:
warning_technical_operations_in_progress: "Achtung, technische Wartungsarbeiten werden durchgeführt!"

label_dear_colleagues: "Liebe Kollegen!"
infromation_technical_operations_planing: "Der Redmine Server wird für die Zeit vom %{time_start} bis %{time_end} gewartet! Bitte schließen Sie Ihre Aktivitäten bis zu diesem Zeitfenster ab."
infromation_technical_operations_ends: "Technische Wartungsarbeiten wurden abgeschlossen. Redmine arbeitet normal."
infromation_technical_operations_emergency: "Der Redmine Server ist unter Wartung bis %{time_end}."
information_technical_operations_planing: "Der Redmine Server wird für die Zeit vom %{time_start} bis %{time_end} gewartet! Bitte schließen Sie Ihre Aktivitäten bis zu diesem Zeitfenster ab."
information_technical_operations_ends: "Technische Wartungsarbeiten wurden abgeschlossen. Redmine arbeitet normal."
information_technical_operations_emergency: "Der Redmine Server ist unter Wartung bis %{time_end}."

infromation_technical_operations_emergency_html: "Der Redmine Server ist unter Wartung bis <strong><nobr>%{time_end}</nobr></strong>"
information_technical_operations_emergency_html: "Der Redmine Server ist unter Wartung bis <strong><nobr>%{time_end}</nobr></strong>"
8 changes: 4 additions & 4 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ en:
warning_technical_operations_in_progress: "Warning technical operations in progress!"

label_dear_colleagues: "Dear colleagues!"
infromation_technical_operations_planing: "Redmine server will be under maintenance from %{time_start} till %{time_end}! Please complete your activities in RM to this period."
infromation_technical_operations_ends: "Technical operations completed. Redmine is operating normally"
infromation_technical_operations_emergency: "Redmine server is under maintenance till %{time_end}."
information_technical_operations_planing: "Redmine server will be under maintenance from %{time_start} till %{time_end}! Please complete your activities in RM to this period."
information_technical_operations_ends: "Technical operations completed. Redmine is operating normally"
information_technical_operations_emergency: "Redmine server is under maintenance till %{time_end}."

infromation_technical_operations_emergency_html: "Redmine server is under maintenance till <strong><nobr>%{time_end}</nobr></strong>"
information_technical_operations_emergency_html: "Redmine server is under maintenance till <strong><nobr>%{time_end}</nobr></strong>"
8 changes: 4 additions & 4 deletions config/locales/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ ru:
warning_technical_operations_in_progress: "Технические работы!"

label_dear_colleagues: "Уважаемые коллеги!"
infromation_technical_operations_planing: "На сервере Redmine с %{time_start} по %{time_end} будут проводиться технические работы! Просим завершить свою деятельность в RM к указанному периоду."
infromation_technical_operations_ends: "Технические работы завершены. Redmine работает в штатном режиме"
infromation_technical_operations_emergency: "На сервере Redmine проводятся технические работы, которые продлятся по %{time_end}."
information_technical_operations_planing: "На сервере Redmine с %{time_start} по %{time_end} будут проводиться технические работы! Просим завершить свою деятельность в RM к указанному периоду."
information_technical_operations_ends: "Технические работы завершены. Redmine работает в штатном режиме"
information_technical_operations_emergency: "На сервере Redmine проводятся технические работы, которые продлятся по %{time_end}."

infromation_technical_operations_emergency_html: "На сервере Redmine проводятся технические работы, которые продлятся по <strong><nobr>%{time_end}</nobr></strong>"
information_technical_operations_emergency_html: "На сервере Redmine проводятся технические работы, которые продлятся по <strong><nobr>%{time_end}</nobr></strong>"