From b40843a2987222bafc8c90d47d7bb613521feb8f Mon Sep 17 00:00:00 2001 From: Lukas Chladek Date: Fri, 6 Nov 2020 14:35:13 +0100 Subject: [PATCH] fix(admin-ui): Add missing "state.error" token --- packages/admin-ui/i18n-coverage.json | 46 +++++++++---------- .../src/shared/pipes/state-i18n-token.pipe.ts | 1 + .../src/lib/static/i18n-messages/cs.json | 1 + .../src/lib/static/i18n-messages/de.json | 3 +- .../src/lib/static/i18n-messages/en.json | 1 + .../src/lib/static/i18n-messages/es.json | 1 + .../src/lib/static/i18n-messages/pl.json | 3 +- .../src/lib/static/i18n-messages/pt_BR.json | 3 +- .../src/lib/static/i18n-messages/zh_Hans.json | 3 +- .../src/lib/static/i18n-messages/zh_Hant.json | 3 +- 10 files changed, 37 insertions(+), 28 deletions(-) diff --git a/packages/admin-ui/i18n-coverage.json b/packages/admin-ui/i18n-coverage.json index 944e7b29d2..9382197663 100644 --- a/packages/admin-ui/i18n-coverage.json +++ b/packages/admin-ui/i18n-coverage.json @@ -1,46 +1,46 @@ { - "generatedOn": "2020-11-02T18:52:26.628Z", - "lastCommit": "345bcbf915abe30eb390ceaa02ce5fdedd1a0ff6", + "generatedOn": "2020-11-06T11:26:32.981Z", + "lastCommit": "1662885683cf5844daee8737d68023eb67e60714", "translationStatus": { "cs": { - "tokenCount": 676, - "translatedCount": 674, + "tokenCount": 677, + "translatedCount": 676, "percentage": 100 }, "de": { - "tokenCount": 676, - "translatedCount": 601, - "percentage": 89 + "tokenCount": 677, + "translatedCount": 609, + "percentage": 90 }, "en": { - "tokenCount": 676, - "translatedCount": 672, - "percentage": 99 + "tokenCount": 677, + "translatedCount": 675, + "percentage": 100 }, "es": { - "tokenCount": 676, + "tokenCount": 677, "translatedCount": 466, "percentage": 69 }, "pl": { - "tokenCount": 676, - "translatedCount": 556, - "percentage": 82 + "tokenCount": 677, + "translatedCount": 564, + "percentage": 83 }, "pt_BR": { - "tokenCount": 676, - "translatedCount": 647, - "percentage": 96 + "tokenCount": 677, + "translatedCount": 655, + "percentage": 97 }, "zh_Hans": { - "tokenCount": 676, - "translatedCount": 540, - "percentage": 80 + "tokenCount": 677, + "translatedCount": 548, + "percentage": 81 }, "zh_Hant": { - "tokenCount": 676, - "translatedCount": 540, - "percentage": 80 + "tokenCount": 677, + "translatedCount": 548, + "percentage": 81 } } } \ No newline at end of file diff --git a/packages/admin-ui/src/lib/core/src/shared/pipes/state-i18n-token.pipe.ts b/packages/admin-ui/src/lib/core/src/shared/pipes/state-i18n-token.pipe.ts index dfe23689e2..69dcc0ebd5 100644 --- a/packages/admin-ui/src/lib/core/src/shared/pipes/state-i18n-token.pipe.ts +++ b/packages/admin-ui/src/lib/core/src/shared/pipes/state-i18n-token.pipe.ts @@ -18,6 +18,7 @@ export class StateI18nTokenPipe implements PipeTransform { Pending: _('state.pending'), Settled: _('state.settled'), Failed: _('state.failed'), + Error: _('state.error'), }; transform(value: T): T { if (typeof value === 'string') { diff --git a/packages/admin-ui/src/lib/static/i18n-messages/cs.json b/packages/admin-ui/src/lib/static/i18n-messages/cs.json index 7179cca727..adaabe7e7b 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/cs.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/cs.json @@ -680,6 +680,7 @@ "arranging-payment": "Zřizování platby", "cancelled": "Zrušeno", "delivered": "Doručeno", + "error": "Chyba", "failed": "Selhalo", "partially-delivered": "Částečně doručeno", "partially-shipped": "Částečně expedováno", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/de.json b/packages/admin-ui/src/lib/static/i18n-messages/de.json index 6d45760adb..9cf87002cf 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/de.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/de.json @@ -680,6 +680,7 @@ "arranging-payment": "Zahlung einrichten", "cancelled": "Storniert", "delivered": "Ausgeführt", + "error": "", "failed": "", "partially-delivered": "Teilweise ausgeführt", "partially-shipped": "", @@ -707,4 +708,4 @@ "job-result": "Job-Ergebnis", "job-state": "Job-Status" } -} +} \ No newline at end of file diff --git a/packages/admin-ui/src/lib/static/i18n-messages/en.json b/packages/admin-ui/src/lib/static/i18n-messages/en.json index 916de60bdd..8860e8b9c9 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/en.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/en.json @@ -680,6 +680,7 @@ "arranging-payment": "Arranging payment", "cancelled": "Cancelled", "delivered": "Delivered", + "error": "Error", "failed": "Failed", "partially-delivered": "Partially delivered", "partially-shipped": "Partially shipped", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/es.json b/packages/admin-ui/src/lib/static/i18n-messages/es.json index 68074e8c3a..3292fd7e5e 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/es.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/es.json @@ -680,6 +680,7 @@ "arranging-payment": "", "cancelled": "", "delivered": "", + "error": "", "failed": "", "partially-delivered": "", "partially-shipped": "", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/pl.json b/packages/admin-ui/src/lib/static/i18n-messages/pl.json index bbf8aeb2c6..aff4bf01b7 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/pl.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/pl.json @@ -680,6 +680,7 @@ "arranging-payment": "Oczekiwanie na płatność", "cancelled": "Anulowano", "delivered": "Zrealizowano", + "error": "", "failed": "", "partially-delivered": "Częściowo zrealizowano", "partially-shipped": "", @@ -707,4 +708,4 @@ "job-result": "Rezultat zlecenia", "job-state": "Status zlecenia" } -} +} \ No newline at end of file diff --git a/packages/admin-ui/src/lib/static/i18n-messages/pt_BR.json b/packages/admin-ui/src/lib/static/i18n-messages/pt_BR.json index 12de4809e3..33bf95cdd5 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/pt_BR.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/pt_BR.json @@ -680,6 +680,7 @@ "arranging-payment": "Organização de pagamento", "cancelled": "Cancelado", "delivered": "Realizado", + "error": "", "failed": "", "partially-delivered": "Parcialmente realizado", "partially-shipped": "", @@ -707,4 +708,4 @@ "job-result": "Resultado do trabalho", "job-state": "Estado do trabalho" } -} +} \ No newline at end of file diff --git a/packages/admin-ui/src/lib/static/i18n-messages/zh_Hans.json b/packages/admin-ui/src/lib/static/i18n-messages/zh_Hans.json index 7f3ad9dce1..bee7be4db5 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/zh_Hans.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/zh_Hans.json @@ -680,6 +680,7 @@ "arranging-payment": "正在付款", "cancelled": "已取消", "delivered": "已完成", + "error": "", "failed": "", "partially-delivered": "部分配货", "partially-shipped": "", @@ -707,4 +708,4 @@ "job-result": "", "job-state": "" } -} +} \ No newline at end of file diff --git a/packages/admin-ui/src/lib/static/i18n-messages/zh_Hant.json b/packages/admin-ui/src/lib/static/i18n-messages/zh_Hant.json index 8176a823c9..485a8061e1 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/zh_Hant.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/zh_Hant.json @@ -680,6 +680,7 @@ "arranging-payment": "正在付款", "cancelled": "已取消", "delivered": "已完成", + "error": "", "failed": "", "partially-delivered": "部分配貨", "partially-shipped": "", @@ -707,4 +708,4 @@ "job-result": "", "job-state": "" } -} +} \ No newline at end of file