From f1f65794e440573af5e5533590f18690b6ffc48d Mon Sep 17 00:00:00 2001 From: Azamat Hackimov Date: Fri, 21 Aug 2009 19:43:33 +0000 Subject: [PATCH] New strings for translation (fixes #2872), thanks for Enderson Maia for pointing and translation git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2847 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/issues_controller.rb | 4 ++-- config/locales/bg.yml | 2 ++ config/locales/bs.yml | 2 ++ config/locales/ca.yml | 2 ++ config/locales/cs.yml | 2 ++ config/locales/da.yml | 2 ++ config/locales/de.yml | 2 ++ config/locales/en.yml | 2 ++ config/locales/es.yml | 2 ++ config/locales/fi.yml | 2 ++ config/locales/fr.yml | 2 ++ config/locales/gl.yml | 2 ++ config/locales/he.yml | 2 ++ config/locales/hu.yml | 2 ++ config/locales/it.yml | 2 ++ config/locales/ja.yml | 2 ++ config/locales/ko.yml | 2 ++ config/locales/lt.yml | 2 ++ config/locales/nl.yml | 2 ++ config/locales/no.yml | 2 ++ config/locales/pl.yml | 2 ++ config/locales/pt-BR.yml | 2 ++ config/locales/pt.yml | 2 ++ config/locales/ro.yml | 2 ++ config/locales/ru.yml | 2 ++ config/locales/sk.yml | 2 ++ config/locales/sl.yml | 2 ++ config/locales/sr.yml | 2 ++ config/locales/sv.yml | 2 ++ config/locales/th.yml | 2 ++ config/locales/tr.yml | 2 ++ config/locales/uk.yml | 2 ++ config/locales/vi.yml | 2 ++ config/locales/zh-TW.yml | 2 ++ config/locales/zh.yml | 2 ++ 35 files changed, 70 insertions(+), 2 deletions(-) diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index de516765..0dfeda8d 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -131,7 +131,7 @@ class IssuesController < ApplicationController # Tracker must be set before custom field values @issue.tracker ||= @project.trackers.find((params[:issue] && params[:issue][:tracker_id]) || params[:tracker_id] || :first) if @issue.tracker.nil? - render_error 'No tracker is associated to this project. Please check the Project settings.' + render_error l(:error_no_tracker_in_project) return end if params[:issue].is_a?(Hash) @@ -142,7 +142,7 @@ class IssuesController < ApplicationController default_status = IssueStatus.default unless default_status - render_error 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").' + render_error l(:error_no_default_issue_status) return end @issue.status = default_status diff --git a/config/locales/bg.yml b/config/locales/bg.yml index a683f875..90d72035 100644 --- a/config/locales/bg.yml +++ b/config/locales/bg.yml @@ -801,3 +801,5 @@ bg: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/bs.yml b/config/locales/bs.yml index d78e6114..05b1cd72 100644 --- a/config/locales/bs.yml +++ b/config/locales/bs.yml @@ -834,3 +834,5 @@ bs: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/ca.yml b/config/locales/ca.yml index 049f734b..9e7b0b8f 100644 --- a/config/locales/ca.yml +++ b/config/locales/ca.yml @@ -804,3 +804,5 @@ ca: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/cs.yml b/config/locales/cs.yml index 4e1afa6f..c39f3e57 100644 --- a/config/locales/cs.yml +++ b/config/locales/cs.yml @@ -807,3 +807,5 @@ cs: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/da.yml b/config/locales/da.yml index f438805a..9f18f6a1 100644 --- a/config/locales/da.yml +++ b/config/locales/da.yml @@ -834,3 +834,5 @@ da: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/de.yml b/config/locales/de.yml index 14dab407..b2157fc3 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -833,3 +833,5 @@ de: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/en.yml b/config/locales/en.yml index b907a56b..d1580076 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -136,6 +136,8 @@ en: error_scm_command_failed: "An error occurred when trying to access the repository: {{value}}" error_scm_annotate: "The entry does not exist or can not be annotated." error_issue_not_found_in_project: 'The issue was not found or does not belong to this project' + error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.' + error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").' warning_attachments_not_saved: "{{count}} file(s) could not be saved." diff --git a/config/locales/es.yml b/config/locales/es.yml index 89e4aaf6..fedf37d1 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -854,3 +854,5 @@ es: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/fi.yml b/config/locales/fi.yml index 2fa1c4ce..8a6678ff 100644 --- a/config/locales/fi.yml +++ b/config/locales/fi.yml @@ -844,3 +844,5 @@ fi: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 9e691bb6..51483f70 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -836,3 +836,5 @@ fr: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/gl.yml b/config/locales/gl.yml index 7f44b819..3f938346 100644 --- a/config/locales/gl.yml +++ b/config/locales/gl.yml @@ -833,3 +833,5 @@ gl: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/he.yml b/config/locales/he.yml index 94cf716c..bf82d0cf 100644 --- a/config/locales/he.yml +++ b/config/locales/he.yml @@ -816,3 +816,5 @@ he: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/hu.yml b/config/locales/hu.yml index c204aaad..24181010 100644 --- a/config/locales/hu.yml +++ b/config/locales/hu.yml @@ -839,3 +839,5 @@ label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/it.yml b/config/locales/it.yml index fa490e7c..a5dabc5d 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -819,3 +819,5 @@ it: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/ja.yml b/config/locales/ja.yml index 1d1c330b..633ee7b8 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -841,3 +841,5 @@ ja: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/ko.yml b/config/locales/ko.yml index a69e6af6..6d9a53ea 100644 --- a/config/locales/ko.yml +++ b/config/locales/ko.yml @@ -872,3 +872,5 @@ ko: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/lt.yml b/config/locales/lt.yml index 49e59720..8280e157 100644 --- a/config/locales/lt.yml +++ b/config/locales/lt.yml @@ -844,3 +844,5 @@ lt: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/nl.yml b/config/locales/nl.yml index df95addc..67f2ae38 100644 --- a/config/locales/nl.yml +++ b/config/locales/nl.yml @@ -789,3 +789,5 @@ nl: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/no.yml b/config/locales/no.yml index 1e449573..93ec6832 100644 --- a/config/locales/no.yml +++ b/config/locales/no.yml @@ -806,3 +806,5 @@ label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/pl.yml b/config/locales/pl.yml index 016b5552..ea026871 100644 --- a/config/locales/pl.yml +++ b/config/locales/pl.yml @@ -837,3 +837,5 @@ pl: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml index aa5359b0..c9db913b 100644 --- a/config/locales/pt-BR.yml +++ b/config/locales/pt-BR.yml @@ -172,6 +172,8 @@ pt-BR: error_scm_command_failed: "Ocorreu um erro ao tentar acessar o repositório: {{value}}" error_scm_annotate: "Esta entrada não existe ou não pode ser anotada." error_issue_not_found_in_project: 'A tarefa não foi encontrada ou não pertence a este projeto' + error_no_tracker_in_project: 'Não há um tipo de tarefa associado a este projeto. favor verificar as configurações do projeto.' + error_no_default_issue_status: 'A situação padrão para tarefa não está definida. Favor verificar sua configuração (Vá em "Administração -> Situação da tarefa").' mail_subject_lost_password: "Sua senha do {{value}}." mail_body_lost_password: 'Para mudar sua senha, clique no link abaixo:' diff --git a/config/locales/pt.yml b/config/locales/pt.yml index 5bf3dbb0..1ff51f84 100644 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -825,3 +825,5 @@ pt: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/ro.yml b/config/locales/ro.yml index d9409b99..24f961fb 100644 --- a/config/locales/ro.yml +++ b/config/locales/ro.yml @@ -804,3 +804,5 @@ ro: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/ru.yml b/config/locales/ru.yml index 7120fe7d..79c4d82f 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -931,3 +931,5 @@ ru: label_view_all_revisions: Показать все ревизии label_tag: Метка label_branch: Ветвь + error_no_tracker_in_project: С этим проектом не ассоциирован ни один трекер. Проверьте настройки проекта. + error_no_default_issue_status: Не определен статус задача по умолчанию. Проверьте настройки (см. "Администрирование -> Статусы задачи"). diff --git a/config/locales/sk.yml b/config/locales/sk.yml index 27a0a32e..4a4ae9ae 100644 --- a/config/locales/sk.yml +++ b/config/locales/sk.yml @@ -806,3 +806,5 @@ sk: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/sl.yml b/config/locales/sl.yml index 6a1f4e27..0e48166e 100644 --- a/config/locales/sl.yml +++ b/config/locales/sl.yml @@ -803,3 +803,5 @@ sl: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/sr.yml b/config/locales/sr.yml index 5e565a9c..b781019a 100644 --- a/config/locales/sr.yml +++ b/config/locales/sr.yml @@ -827,3 +827,5 @@ label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/sv.yml b/config/locales/sv.yml index 0e75a25e..b6601a9e 100644 --- a/config/locales/sv.yml +++ b/config/locales/sv.yml @@ -861,3 +861,5 @@ sv: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/th.yml b/config/locales/th.yml index 3eb1a258..073a327f 100644 --- a/config/locales/th.yml +++ b/config/locales/th.yml @@ -804,3 +804,5 @@ th: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/tr.yml b/config/locales/tr.yml index d6822490..a189ab04 100644 --- a/config/locales/tr.yml +++ b/config/locales/tr.yml @@ -840,3 +840,5 @@ tr: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/uk.yml b/config/locales/uk.yml index e95ce404..b6e5539b 100644 --- a/config/locales/uk.yml +++ b/config/locales/uk.yml @@ -803,3 +803,5 @@ uk: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/vi.yml b/config/locales/vi.yml index 21053284..378c31e2 100644 --- a/config/locales/vi.yml +++ b/config/locales/vi.yml @@ -873,3 +873,5 @@ vi: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/zh-TW.yml b/config/locales/zh-TW.yml index 4cf562e2..a81a3abb 100644 --- a/config/locales/zh-TW.yml +++ b/config/locales/zh-TW.yml @@ -913,3 +913,5 @@ label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). diff --git a/config/locales/zh.yml b/config/locales/zh.yml index a25ef961..8faaec05 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -836,3 +836,5 @@ zh: label_view_all_revisions: View all revisions label_tag: Tag label_branch: Branch + error_no_tracker_in_project: No tracker is associated to this project. Please check the Project settings. + error_no_default_issue_status: No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses"). -- 2.11.0