Skip to content

Commit

Permalink
MCKIN-24508 Missing translations added v3 (#304)
Browse files Browse the repository at this point in the history
MCKIN-24508 Missing translations added

* missing translations added

* missing translations

* string added

* white space removed
  • Loading branch information
musmanmalik committed Sep 28, 2020
1 parent 32972a2 commit bfd04be
Show file tree
Hide file tree
Showing 18 changed files with 185 additions and 156 deletions.
64 changes: 34 additions & 30 deletions problem_builder/public/js/translations/de_DE/textjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,17 @@
django.catalog = django.catalog || {};

var newcatalog = {
"All": "Alle",
"Data export failed. Reason: <%= error %>": "Export der Daten ist fehlgeschlagen. Grund: <%= error %>",
"All": "Alle",
"Data export failed. Reason: <%= error %>": "Export der Daten ist fehlgeschlagen. Grund: <%= error %>",
"Results retrieved on <%= creation_time %> (<%= seconds %> second).": [
"Ergebnisse am <%= creation_time %> (<%= seconds %> second) abgerufen",
"Ergebnisse am <%= creation_time %> (<%= seconds %> second) abgerufen",
"Ergebnisse am <%= creation_time %> (<%= seconds %> second) abgerufen."
],
"The report is currently being generated\u2026": "Der Report wird gerade zusammengestellt\u2026"
],
"The report is currently being generated\u2026": "Der Report wird gerade zusammengestellt\u2026",
"You have used {num_used} of 1 submission.": [
"Sie haben {num_used} von einer Einreichung verwendet.",
"Sie haben {num_used} von {max_attempts} Einreichungen verwendet."
]
};
for (var key in newcatalog) {
django.catalog[key] = newcatalog[key];
Expand All @@ -52,7 +56,7 @@
if (typeof(value) == 'undefined') {
return (count == 1) ? singular : plural;
} else {
return value[django.pluralidx(count)];
return value.constructor === Array ? value[django.pluralidx(count)] : value;
}
};

Expand Down Expand Up @@ -86,36 +90,36 @@
/* formatting library */

django.formats = {
"DATETIME_FORMAT": "j. F Y H:i",
"DATETIME_FORMAT": "j. F Y H:i",
"DATETIME_INPUT_FORMATS": [
"%d.%m.%Y %H:%M:%S",
"%d.%m.%Y %H:%M:%S.%f",
"%d.%m.%Y %H:%M",
"%d.%m.%Y",
"%Y-%m-%d %H:%M:%S",
"%Y-%m-%d %H:%M:%S.%f",
"%Y-%m-%d %H:%M",
"%d.%m.%Y %H:%M:%S",
"%d.%m.%Y %H:%M:%S.%f",
"%d.%m.%Y %H:%M",
"%d.%m.%Y",
"%Y-%m-%d %H:%M:%S",
"%Y-%m-%d %H:%M:%S.%f",
"%Y-%m-%d %H:%M",
"%Y-%m-%d"
],
"DATE_FORMAT": "j. F Y",
],
"DATE_FORMAT": "j. F Y",
"DATE_INPUT_FORMATS": [
"%d.%m.%Y",
"%d.%m.%y",
"%d.%m.%Y",
"%d.%m.%y",
"%Y-%m-%d"
],
"DECIMAL_SEPARATOR": ",",
"FIRST_DAY_OF_WEEK": "1",
"MONTH_DAY_FORMAT": "j. F",
"NUMBER_GROUPING": "3",
"SHORT_DATETIME_FORMAT": "d.m.Y H:i",
"SHORT_DATE_FORMAT": "d.m.Y",
"THOUSAND_SEPARATOR": ".",
"TIME_FORMAT": "H:i",
],
"DECIMAL_SEPARATOR": ",",
"FIRST_DAY_OF_WEEK": 1,
"MONTH_DAY_FORMAT": "j. F",
"NUMBER_GROUPING": 3,
"SHORT_DATETIME_FORMAT": "d.m.Y H:i",
"SHORT_DATE_FORMAT": "d.m.Y",
"THOUSAND_SEPARATOR": ".",
"TIME_FORMAT": "H:i",
"TIME_INPUT_FORMATS": [
"%H:%M:%S",
"%H:%M:%S.%f",
"%H:%M:%S",
"%H:%M:%S.%f",
"%H:%M"
],
],
"YEAR_MONTH_FORMAT": "F Y"
};

Expand Down
6 changes: 5 additions & 1 deletion problem_builder/public/js/translations/es_419/textjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
"Resultados obtenidos en <%= creation_time %> (<%= seconds %> second).",
"Resultados obtenidos en <%= creation_time %> (<%= seconds %> seconds)."
],
"The report is currently being generated\u2026": "El informe se est\u00e1 generando..."
"The report is currently being generated\u2026": "El informe se est\u00e1 generando...",
"You have used {num_used} of 1 submission.": [
"Ha utilizado {num_used} de 1 presentaci\u00f3n.",
"Ha utilizado {num_used} de {max_attempts} presentaciones."
]
};
for (var key in newcatalog) {
django.catalog[key] = newcatalog[key];
Expand Down
72 changes: 39 additions & 33 deletions problem_builder/public/js/translations/pl_PL/textjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,21 @@
django.catalog = django.catalog || {};

var newcatalog = {
"All": "Wszystkie",
"Data export failed. Reason: <%= error %>": "Eksport danych nie powi\u00f3d\u0142 si\u0119. Przyczyna: <%= error %>",
"All": "Wszystkie",
"Data export failed. Reason: <%= error %>": "Eksport danych nie powi\u00f3d\u0142 si\u0119. Przyczyna: <%= error %>",
"Results retrieved on <%= creation_time %> (<%= seconds %> second).": [
"Rezultaty pobrano <%= creation_time %> (<%= seconds %> sekunda).",
"Rezultaty pobrano <%= creation_time %> (<%= seconds %> sekund).",
"Rezultaty pobrano <%= creation_time %> (<%= seconds %> sekund).",
"Rezultaty pobrano <%= creation_time %> (<%= seconds %> sekunda).",
"Rezultaty pobrano <%= creation_time %> (<%= seconds %> sekund).",
"Rezultaty pobrano <%= creation_time %> (<%= seconds %> sekund).",
"Rezultaty pobrano <%= creation_time %> (<%= seconds %> sekund)."
],
"The report is currently being generated\u2026": "Generujemy raport..."
],
"The report is currently being generated\u2026": "Generujemy raport...",
"You have used {num_used} of 1 submission.": [
"Wykorzysta\u0142e\u015b {num_used} z 1 zg\u0142oszenia.",
"Wykorzysta\u0142e\u015b {num_used} z {max_attempts} zg\u0142osze\u0144.",
"",
""
]
};
for (var key in newcatalog) {
django.catalog[key] = newcatalog[key];
Expand All @@ -54,7 +60,7 @@
if (typeof(value) == 'undefined') {
return (count == 1) ? singular : plural;
} else {
return value[django.pluralidx(count)];
return value.constructor === Array ? value[django.pluralidx(count)] : value;
}
};

Expand Down Expand Up @@ -88,37 +94,37 @@
/* formatting library */

django.formats = {
"DATETIME_FORMAT": "j E Y H:i",
"DATETIME_FORMAT": "j E Y H:i",
"DATETIME_INPUT_FORMATS": [
"%d.%m.%Y %H:%M:%S",
"%d.%m.%Y %H:%M:%S.%f",
"%d.%m.%Y %H:%M",
"%d.%m.%Y",
"%Y-%m-%d %H:%M:%S",
"%Y-%m-%d %H:%M:%S.%f",
"%Y-%m-%d %H:%M",
"%d.%m.%Y %H:%M:%S",
"%d.%m.%Y %H:%M:%S.%f",
"%d.%m.%Y %H:%M",
"%d.%m.%Y",
"%Y-%m-%d %H:%M:%S",
"%Y-%m-%d %H:%M:%S.%f",
"%Y-%m-%d %H:%M",
"%Y-%m-%d"
],
"DATE_FORMAT": "j E Y",
],
"DATE_FORMAT": "j E Y",
"DATE_INPUT_FORMATS": [
"%d.%m.%Y",
"%d.%m.%y",
"%y-%m-%d",
"%d.%m.%Y",
"%d.%m.%y",
"%y-%m-%d",
"%Y-%m-%d"
],
"DECIMAL_SEPARATOR": ",",
"FIRST_DAY_OF_WEEK": "1",
"MONTH_DAY_FORMAT": "j F",
"NUMBER_GROUPING": "3",
"SHORT_DATETIME_FORMAT": "d-m-Y H:i",
"SHORT_DATE_FORMAT": "d-m-Y",
"THOUSAND_SEPARATOR": "\u00a0",
"TIME_FORMAT": "H:i",
],
"DECIMAL_SEPARATOR": ",",
"FIRST_DAY_OF_WEEK": 1,
"MONTH_DAY_FORMAT": "j E",
"NUMBER_GROUPING": 3,
"SHORT_DATETIME_FORMAT": "d-m-Y H:i",
"SHORT_DATE_FORMAT": "d-m-Y",
"THOUSAND_SEPARATOR": "\u00a0",
"TIME_FORMAT": "H:i",
"TIME_INPUT_FORMATS": [
"%H:%M:%S",
"%H:%M:%S.%f",
"%H:%M:%S",
"%H:%M:%S.%f",
"%H:%M"
],
],
"YEAR_MONTH_FORMAT": "F Y"
};

Expand Down
70 changes: 37 additions & 33 deletions problem_builder/public/js/translations/pt_BR/textjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,17 @@
django.catalog = django.catalog || {};

var newcatalog = {
"All": "Tudo",
"Data export failed. Reason: <%= error %>": "Falha na exporta\u00e7\u00e3o de dados. Motivo: <%= error %>",
"All": "Tudo",
"Data export failed. Reason: <%= error %>": "Falha na exporta\u00e7\u00e3o de dados. Motivo: <%= error %>",
"Results retrieved on <%= creation_time %> (<%= seconds %> second).": [
"Resultados recuperados em <%= creation_time %> (<%= seconds %> segundo).",
"Resultados recuperados em <%= creation_time %> (<%= seconds %> segundo).",
"Resultados recuperados em <%= creation_time %> (<%= seconds %> segundos)."
],
"The report is currently being generated\u2026": "O relat\u00f3rio est\u00e1 sendo gerado..."
],
"The report is currently being generated\u2026": "O relat\u00f3rio est\u00e1 sendo gerado...",
"You have used {num_used} of 1 submission.": [
"Voc\u00ea usou {num_used} de 1 envio.",
"Voc\u00ea usou {num_used} de {max_attempts} envios."
]
};
for (var key in newcatalog) {
django.catalog[key] = newcatalog[key];
Expand Down Expand Up @@ -86,40 +90,40 @@
/* formatting library */

django.formats = {
"DATETIME_FORMAT": "j \\d\\e F \\d\\e Y \u00e0\\s H:i",
"DATETIME_FORMAT": "j \\d\\e F \\d\\e Y \u00e0\\s H:i",
"DATETIME_INPUT_FORMATS": [
"%d/%m/%Y %H:%M:%S",
"%d/%m/%Y %H:%M:%S.%f",
"%d/%m/%Y %H:%M",
"%d/%m/%Y",
"%d/%m/%y %H:%M:%S",
"%d/%m/%y %H:%M:%S.%f",
"%d/%m/%y %H:%M",
"%d/%m/%y",
"%Y-%m-%d %H:%M:%S",
"%Y-%m-%d %H:%M:%S.%f",
"%Y-%m-%d %H:%M",
"%d/%m/%Y %H:%M:%S",
"%d/%m/%Y %H:%M:%S.%f",
"%d/%m/%Y %H:%M",
"%d/%m/%Y",
"%d/%m/%y %H:%M:%S",
"%d/%m/%y %H:%M:%S.%f",
"%d/%m/%y %H:%M",
"%d/%m/%y",
"%Y-%m-%d %H:%M:%S",
"%Y-%m-%d %H:%M:%S.%f",
"%Y-%m-%d %H:%M",
"%Y-%m-%d"
],
"DATE_FORMAT": "j \\d\\e F \\d\\e Y",
],
"DATE_FORMAT": "j \\d\\e F \\d\\e Y",
"DATE_INPUT_FORMATS": [
"%d/%m/%Y",
"%d/%m/%y",
"%d/%m/%Y",
"%d/%m/%y",
"%Y-%m-%d"
],
"DECIMAL_SEPARATOR": ",",
"FIRST_DAY_OF_WEEK": "0",
"MONTH_DAY_FORMAT": "j \\d\\e F",
"NUMBER_GROUPING": "3",
"SHORT_DATETIME_FORMAT": "d/m/Y H:i",
"SHORT_DATE_FORMAT": "d/m/Y",
"THOUSAND_SEPARATOR": ".",
"TIME_FORMAT": "H:i",
],
"DECIMAL_SEPARATOR": ",",
"FIRST_DAY_OF_WEEK": "0",
"MONTH_DAY_FORMAT": "j \\d\\e F",
"NUMBER_GROUPING": "3",
"SHORT_DATETIME_FORMAT": "d/m/Y H:i",
"SHORT_DATE_FORMAT": "d/m/Y",
"THOUSAND_SEPARATOR": ".",
"TIME_FORMAT": "H:i",
"TIME_INPUT_FORMATS": [
"%H:%M:%S",
"%H:%M:%S.%f",
"%H:%M:%S",
"%H:%M:%S.%f",
"%H:%M"
],
],
"YEAR_MONTH_FORMAT": "F \\d\\e Y"
};

Expand Down
9 changes: 7 additions & 2 deletions problem_builder/public/js/translations/zh_CN/textjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@
"All": "\u5168\u90e8",
"Data export failed. Reason: <%= error %>": "\u6570\u636e\u5bfc\u51fa\u5931\u8d25\u3002\u539f\u56e0\uff1a<%= error %>",
"Results retrieved on <%= creation_time %> (<%= seconds %> second).": [
"<%= creation_time %> (<%= seconds %> second) \u65f6\u68c0\u7d22\u5230\u7684\u7ed3\u679c\u3002"
"<%= creation_time %> (<%= seconds %> \u79d2) \u65f6\u68c0\u7d22\u5230\u7684\u7ed3\u679c\u3002",
"<%= creation_time %> (<%= seconds %> \u79d2) \u65f6\u68c0\u7d22\u5230\u7684\u7ed3\u679c\u3002"
],
"The report is currently being generated\u2026": "\u76ee\u524d\u6b63\u5728\u751f\u6210\u62a5\u544a\u2026"
"The report is currently being generated\u2026": "\u76ee\u524d\u6b63\u5728\u751f\u6210\u62a5\u544a\u2026",
"You have used {num_used} of 1 submission.": [
"\u60a8\u5df2\u4f7f\u7528 {num_used} \u6b21\u63d0\u4ea4\uff08\u5171 1 \u6b21\uff09\u3002",
"\u60a8\u5df2\u4f7f\u7528 {num_used} \u6b21\u63d0\u4ea4\uff08\u5171 {max_attempts} \u6b21\uff09"
]
};
for (var key in newcatalog) {
django.catalog[key] = newcatalog[key];
Expand Down
Binary file modified problem_builder/translations/ar/LC_MESSAGES/text.mo
Binary file not shown.

0 comments on commit bfd04be

Please sign in to comment.