From 8d086cb7d446d4d4c1b1140f387c1c8ebeb7ca06 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Fri, 12 Feb 2010 19:15:39 +0000 Subject: [PATCH] Removed hard coded English string. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3416 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/issue_statuses_controller.rb | 2 +- config/locales/bg.yml | 2 +- config/locales/bs.yml | 1 + config/locales/ca.yml | 1 + config/locales/cs.yml | 1 + config/locales/da.yml | 1 + config/locales/de.yml | 1 + config/locales/el.yml | 1 + config/locales/en.yml | 1 + config/locales/es.yml | 1 + config/locales/eu.yml | 1 + config/locales/fi.yml | 1 + config/locales/fr.yml | 1 + config/locales/gl.yml | 1 + config/locales/he.yml | 1 + config/locales/hr.yml | 1 + config/locales/hu.yml | 1 + config/locales/id.yml | 1 + config/locales/it.yml | 2 +- config/locales/ja.yml | 1 + config/locales/ko.yml | 1 + config/locales/lt.yml | 1 + config/locales/nl.yml | 1 + config/locales/no.yml | 1 + config/locales/pl.yml | 1 + config/locales/pt-BR.yml | 1 + config/locales/pt.yml | 1 + config/locales/ro.yml | 1 + config/locales/ru.yml | 1 + config/locales/sk.yml | 1 + config/locales/sl.yml | 1 + config/locales/sr.yml | 1 + config/locales/sv.yml | 1 + config/locales/th.yml | 1 + config/locales/tr.yml | 1 + config/locales/uk.yml | 1 + config/locales/vi.yml | 1 + config/locales/zh-TW.yml | 1 + config/locales/zh.yml | 2 +- 39 files changed, 39 insertions(+), 4 deletions(-) diff --git a/app/controllers/issue_statuses_controller.rb b/app/controllers/issue_statuses_controller.rb index a0da7f020..b4b754b92 100644 --- a/app/controllers/issue_statuses_controller.rb +++ b/app/controllers/issue_statuses_controller.rb @@ -60,7 +60,7 @@ class IssueStatusesController < ApplicationController IssueStatus.find(params[:id]).destroy redirect_to :action => 'index' rescue - flash[:error] = "Unable to delete issue status" + flash[:error] = l(:error_unable_delete_issue_status) redirect_to :action => 'index' end diff --git a/config/locales/bg.yml b/config/locales/bg.yml index 2a68101e4..ced5fcf80 100644 --- a/config/locales/bg.yml +++ b/config/locales/bg.yml @@ -881,4 +881,4 @@ bg: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities - \ No newline at end of file + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/bs.yml b/config/locales/bs.yml index edfd1f6f2..bc8040df9 100644 --- a/config/locales/bs.yml +++ b/config/locales/bs.yml @@ -905,3 +905,4 @@ bs: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/ca.yml b/config/locales/ca.yml index 12d36328f..e8a941756 100644 --- a/config/locales/ca.yml +++ b/config/locales/ca.yml @@ -884,3 +884,4 @@ ca: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/cs.yml b/config/locales/cs.yml index 202ba3b2b..64bc3899d 100644 --- a/config/locales/cs.yml +++ b/config/locales/cs.yml @@ -887,3 +887,4 @@ cs: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/da.yml b/config/locales/da.yml index ff76caa45..d19b35831 100644 --- a/config/locales/da.yml +++ b/config/locales/da.yml @@ -907,3 +907,4 @@ da: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/de.yml b/config/locales/de.yml index 4a3d3941a..ad3975c28 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -907,3 +907,4 @@ de: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/el.yml b/config/locales/el.yml index 5ab7e6280..b1dee191a 100644 --- a/config/locales/el.yml +++ b/config/locales/el.yml @@ -887,3 +887,4 @@ el: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/en.yml b/config/locales/en.yml index 2ee57bcf9..366e96884 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -165,6 +165,7 @@ en: error_issue_done_ratios_not_updated: "Issue done ratios not updated." error_workflow_copy_source: 'Please select a source tracker or role' error_workflow_copy_target: 'Please select target tracker(s) and role(s)' + error_unable_delete_issue_status: 'Unable to delete issue status' warning_attachments_not_saved: "{{count}} file(s) could not be saved." diff --git a/config/locales/es.yml b/config/locales/es.yml index 5c77c71c6..b552cdcfb 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -931,3 +931,4 @@ es: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/eu.yml b/config/locales/eu.yml index 66395fe37..e3fcde0c4 100644 --- a/config/locales/eu.yml +++ b/config/locales/eu.yml @@ -891,3 +891,4 @@ eu: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/fi.yml b/config/locales/fi.yml index d26c9852b..9abbec250 100644 --- a/config/locales/fi.yml +++ b/config/locales/fi.yml @@ -917,3 +917,4 @@ fi: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 636a588f6..91e8a421a 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -908,3 +908,4 @@ fr: enumeration_system_activity: Activité système label_board_sticky: Sticky label_board_locked: Verrouillé + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/gl.yml b/config/locales/gl.yml index 92356c343..000c4a932 100644 --- a/config/locales/gl.yml +++ b/config/locales/gl.yml @@ -907,3 +907,4 @@ gl: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/he.yml b/config/locales/he.yml index eb068f7a2..0bbc3ef55 100644 --- a/config/locales/he.yml +++ b/config/locales/he.yml @@ -891,3 +891,4 @@ he: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/hr.yml b/config/locales/hr.yml index b7b70b5c4..3bece1c6d 100644 --- a/config/locales/hr.yml +++ b/config/locales/hr.yml @@ -894,3 +894,4 @@ hr: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/hu.yml b/config/locales/hu.yml index 99a475e9c..b795d0996 100644 --- a/config/locales/hu.yml +++ b/config/locales/hu.yml @@ -912,3 +912,4 @@ permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/id.yml b/config/locales/id.yml index 79e4d36c4..0a49b3219 100644 --- a/config/locales/id.yml +++ b/config/locales/id.yml @@ -899,3 +899,4 @@ id: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/it.yml b/config/locales/it.yml index 4e52a3df5..f4f53d10c 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -894,4 +894,4 @@ it: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities - \ No newline at end of file + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/ja.yml b/config/locales/ja.yml index ce5d87efa..851236639 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -916,3 +916,4 @@ ja: enumeration_activities: 作業分類 (時間トラッキング) enumeration_system_activity: システム作業分類 permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/ko.yml b/config/locales/ko.yml index 7d389a9d1..abe003a81 100644 --- a/config/locales/ko.yml +++ b/config/locales/ko.yml @@ -947,3 +947,4 @@ ko: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/lt.yml b/config/locales/lt.yml index 4c5be32b0..8c94bddd1 100644 --- a/config/locales/lt.yml +++ b/config/locales/lt.yml @@ -955,3 +955,4 @@ lt: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/nl.yml b/config/locales/nl.yml index bb2b8dd1e..bfe5dfce9 100644 --- a/config/locales/nl.yml +++ b/config/locales/nl.yml @@ -869,3 +869,4 @@ nl: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/no.yml b/config/locales/no.yml index ee8463317..ff44f1a0b 100644 --- a/config/locales/no.yml +++ b/config/locales/no.yml @@ -882,3 +882,4 @@ permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/pl.yml b/config/locales/pl.yml index 2492e6e2d..b3a60aad7 100644 --- a/config/locales/pl.yml +++ b/config/locales/pl.yml @@ -912,3 +912,4 @@ pl: permission_export_wiki_pages: Eksport stron wiki permission_manage_project_activities: Zarządzanie aktywnościami projektu setting_cache_formatted_text: Cache formatted text + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml index a590a11d7..0d11ebb07 100644 --- a/config/locales/pt-BR.yml +++ b/config/locales/pt-BR.yml @@ -915,3 +915,4 @@ pt-BR: permission_export_wiki_pages: Exportar páginas wiki setting_cache_formatted_text: Realizar cache de texto formatado permission_manage_project_activities: Gerenciar atividades do projeto + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/pt.yml b/config/locales/pt.yml index 7c22dff0b..19842cda2 100644 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -899,3 +899,4 @@ pt: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/ro.yml b/config/locales/ro.yml index d7b115efd..56a57aebb 100644 --- a/config/locales/ro.yml +++ b/config/locales/ro.yml @@ -884,3 +884,4 @@ ro: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/ru.yml b/config/locales/ru.yml index ec1c955af..656ba000e 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -997,3 +997,4 @@ ru: label_board_locked: Заблокирована permission_export_wiki_pages: Экспорт wiki-страниц + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/sk.yml b/config/locales/sk.yml index f2baf5108..77bc5f19e 100644 --- a/config/locales/sk.yml +++ b/config/locales/sk.yml @@ -886,3 +886,4 @@ sk: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/sl.yml b/config/locales/sl.yml index 2d5279f15..9fe44bc3a 100644 --- a/config/locales/sl.yml +++ b/config/locales/sl.yml @@ -883,3 +883,4 @@ sl: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/sr.yml b/config/locales/sr.yml index 135715f36..d11ce0ded 100644 --- a/config/locales/sr.yml +++ b/config/locales/sr.yml @@ -902,3 +902,4 @@ permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/sv.yml b/config/locales/sv.yml index c073b93ad..61cf431b5 100644 --- a/config/locales/sv.yml +++ b/config/locales/sv.yml @@ -936,3 +936,4 @@ sv: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/th.yml b/config/locales/th.yml index 557ad2cf2..22c1382df 100644 --- a/config/locales/th.yml +++ b/config/locales/th.yml @@ -884,3 +884,4 @@ th: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/tr.yml b/config/locales/tr.yml index c90661a49..8523e0165 100644 --- a/config/locales/tr.yml +++ b/config/locales/tr.yml @@ -914,3 +914,4 @@ tr: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/uk.yml b/config/locales/uk.yml index f4e012d50..fa94ebfb7 100644 --- a/config/locales/uk.yml +++ b/config/locales/uk.yml @@ -883,3 +883,4 @@ uk: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/vi.yml b/config/locales/vi.yml index 5dfb5049c..494eb7370 100644 --- a/config/locales/vi.yml +++ b/config/locales/vi.yml @@ -946,3 +946,4 @@ vi: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/zh-TW.yml b/config/locales/zh-TW.yml index 4a64e2e41..e677425a9 100644 --- a/config/locales/zh-TW.yml +++ b/config/locales/zh-TW.yml @@ -978,3 +978,4 @@ permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities + error_unable_delete_issue_status: Unable to delete issue status diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 3e87d0adc..c06114718 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -909,4 +909,4 @@ zh: permission_export_wiki_pages: Export wiki pages setting_cache_formatted_text: Cache formatted text permission_manage_project_activities: Manage project activities - \ No newline at end of file + error_unable_delete_issue_status: Unable to delete issue status