Merge pull request #66 from finnlabs/fix/js-translations
Re-instate javascript translationspull/6827/head
commit
f5df7b1519
@ -0,0 +1,5 @@ |
||||
da: |
||||
js: |
||||
reporting_engine: |
||||
label_remove: Slet |
||||
label_response_error: En fejl opstod under forespørgselshåndtering. |
@ -0,0 +1,5 @@ |
||||
de: |
||||
js: |
||||
reporting_engine: |
||||
label_remove: Lösche |
||||
label_response_error: Bei der Bearbeitung der Anfrage ist ein Fehler aufgetreten. |
@ -0,0 +1,23 @@ |
||||
#-- copyright |
||||
# ReportingEngine |
||||
# |
||||
# Copyright (C) 2010 - 2014 the OpenProject Foundation (OPF) |
||||
# |
||||
# This program is free software; you can redistribute it and/or |
||||
# modify it under the terms of the GNU General Public License |
||||
# version 3. |
||||
# |
||||
# This program is distributed in the hope that it will be useful, |
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
# GNU General Public License for more details. |
||||
# |
||||
# You should have received a copy of the GNU General Public License |
||||
# along with this program; if not, write to the Free Software |
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
||||
#++ |
||||
en: |
||||
js: |
||||
reporting_engine: |
||||
label_remove: "Delete" |
||||
label_response_error: "There was an error handling the query." |
@ -0,0 +1,5 @@ |
||||
fr: |
||||
js: |
||||
reporting_engine: |
||||
label_remove: Supprimer |
||||
label_response_error: "Une erreur s'est produite lors du traitement de la requête." |
@ -0,0 +1,5 @@ |
||||
it: |
||||
js: |
||||
reporting_engine: |
||||
label_remove: Cancella |
||||
label_response_error: "C'era un errore di gestione query." |
@ -0,0 +1,5 @@ |
||||
ja: |
||||
js: |
||||
reporting_engine: |
||||
label_remove: 削除 |
||||
label_response_error: クエリの処理中にエラーが発生しました。 |
@ -0,0 +1,5 @@ |
||||
pt-BR: |
||||
js: |
||||
reporting_engine: |
||||
label_remove: Excluir |
||||
label_response_error: Ocorreu um erro na manipulação da consulta. |
@ -0,0 +1,5 @@ |
||||
ru: |
||||
js: |
||||
reporting_engine: |
||||
label_remove: Удалить |
||||
label_response_error: Произошла ошибка при обработке запроса. |
@ -0,0 +1,5 @@ |
||||
sk: |
||||
js: |
||||
reporting_engine: |
||||
label_remove: Odstrániť |
||||
label_response_error: Počas spracovania dotazu sa vyskytla chyba. |
@ -0,0 +1,5 @@ |
||||
sv: |
||||
js: |
||||
reporting_engine: |
||||
label_remove: Ta bort |
||||
label_response_error: Det uppstod ett fel när frågan hanterades. |
@ -0,0 +1,5 @@ |
||||
tr: |
||||
js: |
||||
reporting_engine: |
||||
label_remove: Sil |
||||
label_response_error: Sorgu işleme sırasında bir hata oluştu. |
@ -0,0 +1,34 @@ |
||||
//-- copyright
|
||||
// OpenProject is a project management system.
|
||||
// Copyright (C) 2012-2014 the OpenProject Foundation (OPF)
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License version 3.
|
||||
//
|
||||
// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
|
||||
// Copyright (C) 2006-2013 Jean-Philippe Lang
|
||||
// Copyright (C) 2010-2013 the ChiliProject Team
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation; either version 2
|
||||
// of the License, or (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
//
|
||||
// See doc/COPYRIGHT.rdoc for more details.
|
||||
//++
|
||||
|
||||
// load all js locales
|
||||
var localeFiles = require.context('../../config/locales', false, /js-[\w|-]{2,5}\.yml$/); |
||||
localeFiles.keys().forEach(function(localeFile) { |
||||
var locale = localeFile.match(/js-([\w|-]{2,5})\.yml/)[1]; |
||||
I18n.addTranslations(locale, localeFiles(localeFile)[locale]); |
||||
}); |
@ -0,0 +1,6 @@ |
||||
{ |
||||
"name": "reporting_engine", |
||||
"version": "0.1.0", |
||||
"main": "frontend/app/reporting_engine-app.js", |
||||
"dependencies": {} |
||||
} |
Loading…
Reference in new issue