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 de51676516..0dfeda8d5f 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 a683f875bd..90d72035ff 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 d78e61140d..05b1cd7248 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 049f734bc6..9e7b0b8f80 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 4e1afa6f13..c39f3e57a4 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 f438805a82..9f18f6a1ce 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 14dab4071a..b2157fc396 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 b907a56b43..d158007623 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 89e4aaf6bd..fedf37d1e7 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 2fa1c4ce7e..8a6678ff56 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 9e691bb6ed..51483f7056 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 7f44b81967..3f93834641 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 94cf716cd2..bf82d0cfe4 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 c204aaad3b..241810108d 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 fa490e7c68..a5dabc5d3a 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 1d1c330b2f..633ee7b85a 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 a69e6af6c6..6d9a53eade 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 49e59720ec..8280e1570c 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 df95addccc..67f2ae3810 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 1e449573d3..93ec6832ee 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 016b555298..ea02687170 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 aa5359b0a7..c9db913bb4 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 5bf3dbb0d6..1ff51f848b 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 d9409b99d0..24f961fb89 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 7120fe7ddc..79c4d82fac 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 27a0a32ea4..4a4ae9ae07 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 6a1f4e2731..0e48166ec9 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 5e565a9caf..b781019a91 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 0e75a25e99..b6601a9ecc 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 3eb1a25843..073a327fe0 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 d6822490da..a189ab0465 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 e95ce4048e..b6e5539b08 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 210532849c..378c31e275 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 4cf562e242..a81a3abbad 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 a25ef9617a..8faaec050d 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").