Merge pull request #66 from finnlabs/fix/js-translations

Re-instate javascript translations
pull/6827/head
jonasheinrich 9 years ago
commit f5df7b1519
  1. 4
      config/locales/da.yml
  2. 4
      config/locales/de.yml
  3. 5
      config/locales/en.yml
  4. 4
      config/locales/fr.yml
  5. 4
      config/locales/it.yml
  6. 4
      config/locales/ja.yml
  7. 5
      config/locales/js-da.yml
  8. 5
      config/locales/js-de.yml
  9. 23
      config/locales/js-en.yml
  10. 5
      config/locales/js-fr.yml
  11. 5
      config/locales/js-it.yml
  12. 5
      config/locales/js-ja.yml
  13. 5
      config/locales/js-pt-BR.yml
  14. 5
      config/locales/js-ru.yml
  15. 5
      config/locales/js-sk.yml
  16. 5
      config/locales/js-sv-SE.yml
  17. 5
      config/locales/js-tr.yml
  18. 4
      config/locales/ru.yml
  19. 4
      config/locales/sk.yml
  20. 4
      config/locales/sv-SE.yml
  21. 4
      config/locales/tr.yml
  22. 34
      frontend/app/reporting_engine-app.js
  23. 6
      package.json

@ -25,7 +25,3 @@ da:
units: Enheder
validation_failure_date: er en ugyldig dato
validation_failure_integer: er et ugyldigt heltal
js:
reporting_engine:
label_remove: Slet
label_response_error: En fejl opstod under forespørgselshåndtering.

@ -25,7 +25,3 @@ de:
units: Einheiten
validation_failure_date: ist kein gültiges Datum
validation_failure_integer: ist keine ganze Zahl
js:
reporting_engine:
label_remove: Lösche
label_response_error: Bei der Bearbeitung der Anfrage ist ein Fehler aufgetreten.

@ -48,8 +48,3 @@ en:
validation_failure_date: "is not a valid date"
validation_failure_integer: "is not a valid integer"
js:
reporting_engine:
label_remove: "Delete"
label_response_error: "There was an error handling the query."

@ -26,7 +26,3 @@ fr:
units: Unités
validation_failure_date: "n'est pas une date valide"
validation_failure_integer: "n'est pas un nombre entier valide"
js:
reporting_engine:
label_remove: Supprimer
label_response_error: "Une erreur s'est produite lors du traitement de la requête."

@ -25,7 +25,3 @@ it:
units: Unità di misura
validation_failure_date: non è una data valida
validation_failure_integer: non è un numero intero valido
js:
reporting_engine:
label_remove: Cancella
label_response_error: "C'era un errore di gestione query."

@ -25,7 +25,3 @@ ja:
units: 単位
validation_failure_date: は有効な日付ではありません。
validation_failure_integer: は有効な整数ではありません。
js:
reporting_engine:
label_remove: 削除
label_response_error: クエリの処理中にエラーが発生しました。

@ -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.

@ -25,7 +25,3 @@ ru:
units: Модули
validation_failure_date: не является допустимой датой
validation_failure_integer: не является допустимым целым числом
js:
reporting_engine:
label_remove: Удалить
label_response_error: Произошла ошибка при обработке запроса.

@ -25,7 +25,3 @@ sk:
units: Jednotky
validation_failure_date: nie je platný dátum
validation_failure_integer: nie je platné celé číslo
js:
reporting_engine:
label_remove: Odstrániť
label_response_error: Počas spracovania dotazu sa vyskytla chyba.

@ -25,7 +25,3 @@ sv:
units: Enheter
validation_failure_date: inte är ett giltigt datum
validation_failure_integer: är inte ett giltigt heltal
js:
reporting_engine:
label_remove: Ta bort
label_response_error: Det uppstod ett fel när frågan hanterades.

@ -25,7 +25,3 @@ tr:
units: Birimler
validation_failure_date: geçerli bir tarih değil
validation_failure_integer: geçerli bir tamsayı değil
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…
Cancel
Save