diff --git a/app/controllers/versions_controller.rb b/app/controllers/versions_controller.rb index ab2ccb7..3a22217 100644 --- a/app/controllers/versions_controller.rb +++ b/app/controllers/versions_controller.rb @@ -33,7 +33,7 @@ class VersionsController < ApplicationController @version.destroy redirect_to :controller => 'projects', :action => 'settings', :tab => 'versions', :id => @project rescue - flash[:error] = "Unable to delete version" + flash[:error] = l(:notice_unable_delete_version) redirect_to :controller => 'projects', :action => 'settings', :tab => 'versions', :id => @project end diff --git a/lang/bg.yml b/lang/bg.yml index ddc3368..c5c4e0e 100644 --- a/lang/bg.yml +++ b/lang/bg.yml @@ -637,3 +637,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/cs.yml b/lang/cs.yml index 767fcdb..67cfba0 100644 --- a/lang/cs.yml +++ b/lang/cs.yml @@ -642,3 +642,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/da.yml b/lang/da.yml index 8f8905f..ce8b850 100644 --- a/lang/da.yml +++ b/lang/da.yml @@ -639,3 +639,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/de.yml b/lang/de.yml index 1f6c629..dd1b74b 100644 --- a/lang/de.yml +++ b/lang/de.yml @@ -638,3 +638,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/en.yml b/lang/en.yml index c9dddf9..b1f8335 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -638,3 +638,5 @@ default_activity_development: Development enumeration_issue_priorities: Issue priorities enumeration_doc_categories: Document categories enumeration_activities: Activities (time tracking) +notice_unable_delete_version: Unable to delete version + diff --git a/lang/es.yml b/lang/es.yml index 15d6f07..d8f5417 100644 --- a/lang/es.yml +++ b/lang/es.yml @@ -640,3 +640,4 @@ label_issue_watchers: Seguidores setting_commit_logs_encoding: Codificación de los mensajes de commit button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/fi.yml b/lang/fi.yml index 3a33e27..b63802e 100644 --- a/lang/fi.yml +++ b/lang/fi.yml @@ -637,3 +637,4 @@ label_issue_watchers: Tapahtuman seuraajat button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers setting_commit_logs_encoding: Commit messages encoding +notice_unable_delete_version: Unable to delete version diff --git a/lang/fr.yml b/lang/fr.yml index f40a3f3..872266e 100644 --- a/lang/fr.yml +++ b/lang/fr.yml @@ -638,3 +638,4 @@ default_activity_development: Développement enumeration_issue_priorities: Priorités des demandes enumeration_doc_categories: Catégories des documents enumeration_activities: Activités (suivi du temps) +notice_unable_delete_version: Unable to delete version diff --git a/lang/he.yml b/lang/he.yml index e89e65c..8cd68c1 100644 --- a/lang/he.yml +++ b/lang/he.yml @@ -637,3 +637,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/hu.yml b/lang/hu.yml index d415bd7..2f177d4 100644 --- a/lang/hu.yml +++ b/lang/hu.yml @@ -638,3 +638,4 @@ label_issue_watchers: Megfigyelők setting_commit_logs_encoding: Commit üzenetek kódlapja button_quote: Idézet setting_sequential_project_identifiers: Szekvenciális projekt azonosítók generálása +notice_unable_delete_version: Unable to delete version diff --git a/lang/it.yml b/lang/it.yml index e1ef6f8..5507e6b 100644 --- a/lang/it.yml +++ b/lang/it.yml @@ -637,3 +637,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/ja.yml b/lang/ja.yml index dda73dc..c9470f9 100644 --- a/lang/ja.yml +++ b/lang/ja.yml @@ -638,3 +638,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/ko.yml b/lang/ko.yml index be7eab1..38b5a48 100644 --- a/lang/ko.yml +++ b/lang/ko.yml @@ -637,3 +637,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/lt.yml b/lang/lt.yml index e186977..7c62bf1 100644 --- a/lang/lt.yml +++ b/lang/lt.yml @@ -639,3 +639,4 @@ label_issue_watchers: Stebetojai setting_commit_logs_encoding: Commit pranėšimų koduotė setting_sequential_project_identifiers: Generate sequential project identifiers button_quote: Quote +notice_unable_delete_version: Unable to delete version diff --git a/lang/nl.yml b/lang/nl.yml index b1c5756..e8cab52 100644 --- a/lang/nl.yml +++ b/lang/nl.yml @@ -638,3 +638,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/no.yml b/lang/no.yml index 7113b41..ce47413 100644 --- a/lang/no.yml +++ b/lang/no.yml @@ -638,3 +638,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/pl.yml b/lang/pl.yml index e9ffcda..05ff1af 100644 --- a/lang/pl.yml +++ b/lang/pl.yml @@ -637,3 +637,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/pt-br.yml b/lang/pt-br.yml index 663285a..c40c87a 100644 --- a/lang/pt-br.yml +++ b/lang/pt-br.yml @@ -638,3 +638,4 @@ default_activity_development: Desenvolvimento enumeration_issue_priorities: Prioridade das tarefas enumeration_doc_categories: Categorias de documento enumeration_activities: Atividades (time tracking) +notice_unable_delete_version: Unable to delete version diff --git a/lang/pt.yml b/lang/pt.yml index 1d4d043..37e9ad6 100644 --- a/lang/pt.yml +++ b/lang/pt.yml @@ -637,3 +637,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/ro.yml b/lang/ro.yml index acb5ff8..ebf1c0a 100644 --- a/lang/ro.yml +++ b/lang/ro.yml @@ -637,3 +637,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/ru.yml b/lang/ru.yml index fdafe6c..99ada10 100644 --- a/lang/ru.yml +++ b/lang/ru.yml @@ -669,3 +669,4 @@ text_user_mail_option: "Для невыбранных проектов, Вы б text_user_wrote: '%s написал(а):' text_wiki_destroy_confirmation: Вы уверены, что хотите удалить данную вики и все содержимое? text_workflow_edit: Выберите роль и трекер для редактирования последовательности состояний +notice_unable_delete_version: Невозможно удалить версию diff --git a/lang/sr.yml b/lang/sr.yml index 4e26236..f7ddfd7 100644 --- a/lang/sr.yml +++ b/lang/sr.yml @@ -638,3 +638,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/sv.yml b/lang/sv.yml index 3bb337e..b4e621c 100644 --- a/lang/sv.yml +++ b/lang/sv.yml @@ -638,3 +638,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/th.yml b/lang/th.yml index a970871..e2d8a0a 100644 --- a/lang/th.yml +++ b/lang/th.yml @@ -640,3 +640,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/tr.yml b/lang/tr.yml index bb58000..9fb5b63 100644 --- a/lang/tr.yml +++ b/lang/tr.yml @@ -638,3 +638,4 @@ mail_subject_reminder: "%d issue(s) due in the next days" setting_mail_handler_api_key: API key setting_commit_logs_encoding: Commit messages encoding general_csv_decimal_separator: '.' +notice_unable_delete_version: Unable to delete version diff --git a/lang/uk.yml b/lang/uk.yml index cb4e173..8e8541f 100644 --- a/lang/uk.yml +++ b/lang/uk.yml @@ -639,3 +639,4 @@ label_issue_watchers: Watchers setting_commit_logs_encoding: Commit messages encoding button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version diff --git a/lang/zh-tw.yml b/lang/zh-tw.yml index e4ead9b..b547786 100644 --- a/lang/zh-tw.yml +++ b/lang/zh-tw.yml @@ -638,3 +638,4 @@ default_activity_development: 開發 enumeration_issue_priorities: 項目優先權 enumeration_doc_categories: 文件分類 enumeration_activities: 活動 (時間追蹤) +notice_unable_delete_version: Unable to delete version diff --git a/lang/zh.yml b/lang/zh.yml index dbc5311..d016c5a 100644 --- a/lang/zh.yml +++ b/lang/zh.yml @@ -638,3 +638,4 @@ enumeration_doc_categories: 文档类别 enumeration_activities: 活动(时间跟踪) button_quote: Quote setting_sequential_project_identifiers: Generate sequential project identifiers +notice_unable_delete_version: Unable to delete version