From 788ba873123a2fe43a4dfd0a9c260c3c5173058d Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Fri, 6 Nov 2020 14:59:25 +0100 Subject: [PATCH] fix(admin-ui): Add missing "authorized" state translation --- packages/admin-ui/i18n-coverage.json | 24 +++++++++---------- .../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 | 1 + .../src/lib/static/i18n-messages/pt_BR.json | 3 ++- .../src/lib/static/i18n-messages/zh_Hans.json | 1 + .../src/lib/static/i18n-messages/zh_Hant.json | 1 + 10 files changed, 23 insertions(+), 14 deletions(-) diff --git a/packages/admin-ui/i18n-coverage.json b/packages/admin-ui/i18n-coverage.json index 9382197663..d9633faf03 100644 --- a/packages/admin-ui/i18n-coverage.json +++ b/packages/admin-ui/i18n-coverage.json @@ -1,44 +1,44 @@ { - "generatedOn": "2020-11-06T11:26:32.981Z", - "lastCommit": "1662885683cf5844daee8737d68023eb67e60714", + "generatedOn": "2020-11-06T13:55:36.076Z", + "lastCommit": "b40843a2987222bafc8c90d47d7bb613521feb8f", "translationStatus": { "cs": { - "tokenCount": 677, - "translatedCount": 676, + "tokenCount": 678, + "translatedCount": 677, "percentage": 100 }, "de": { - "tokenCount": 677, + "tokenCount": 678, "translatedCount": 609, "percentage": 90 }, "en": { - "tokenCount": 677, - "translatedCount": 675, + "tokenCount": 678, + "translatedCount": 676, "percentage": 100 }, "es": { - "tokenCount": 677, + "tokenCount": 678, "translatedCount": 466, "percentage": 69 }, "pl": { - "tokenCount": 677, + "tokenCount": 678, "translatedCount": 564, "percentage": 83 }, "pt_BR": { - "tokenCount": 677, + "tokenCount": 678, "translatedCount": 655, "percentage": 97 }, "zh_Hans": { - "tokenCount": 677, + "tokenCount": 678, "translatedCount": 548, "percentage": 81 }, "zh_Hant": { - "tokenCount": 677, + "tokenCount": 678, "translatedCount": 548, "percentage": 81 } 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 69dcc0ebd5..20a16a333a 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 @@ -13,6 +13,7 @@ export class StateI18nTokenPipe implements PipeTransform { PartiallyShipped: _('state.partially-shipped'), Shipped: _('state.shipped'), PartiallyDelivered: _('state.partially-delivered'), + Authorized: _('state.authorized'), Delivered: _('state.delivered'), Cancelled: _('state.cancelled'), Pending: _('state.pending'), 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 adaabe7e7b..eb220ff8d7 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/cs.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/cs.json @@ -678,6 +678,7 @@ "adding-items": "Košík", "all-orders": "Všechny objednávky", "arranging-payment": "Zřizování platby", + "authorized": "Autorizovaná", "cancelled": "Zrušeno", "delivered": "Doručeno", "error": "Chyba", 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 9cf87002cf..2796eac6d1 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/de.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/de.json @@ -678,6 +678,7 @@ "adding-items": "Artikel hinzufügen", "all-orders": "Alle Bestellungen", "arranging-payment": "Zahlung einrichten", + "authorized": "Autorisiert", "cancelled": "Storniert", "delivered": "Ausgeführt", "error": "", @@ -708,4 +709,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 8860e8b9c9..400e74ae52 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/en.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/en.json @@ -678,6 +678,7 @@ "adding-items": "Adding items", "all-orders": "All orders", "arranging-payment": "Arranging payment", + "authorized": "Authorized", "cancelled": "Cancelled", "delivered": "Delivered", "error": "Error", 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 3292fd7e5e..71f24d8e8b 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/es.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/es.json @@ -678,6 +678,7 @@ "adding-items": "", "all-orders": "", "arranging-payment": "", + "authorized": "", "cancelled": "", "delivered": "", "error": "", 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 aff4bf01b7..9fa74a7288 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/pl.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/pl.json @@ -678,6 +678,7 @@ "adding-items": "Dodawanie", "all-orders": "Wszystkie zamówienia", "arranging-payment": "Oczekiwanie na płatność", + "authorized": "", "cancelled": "Anulowano", "delivered": "Zrealizowano", "error": "", 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 33bf95cdd5..fb1691bd3a 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 @@ -678,6 +678,7 @@ "adding-items": "Criando itens", "all-orders": "Todos os pedidos", "arranging-payment": "Organização de pagamento", + "authorized": "Autorizado", "cancelled": "Cancelado", "delivered": "Realizado", "error": "", @@ -708,4 +709,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 bee7be4db5..d53e33e246 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 @@ -678,6 +678,7 @@ "adding-items": "正在选择商品", "all-orders": "所有订单", "arranging-payment": "正在付款", + "authorized": "", "cancelled": "已取消", "delivered": "已完成", "error": "", 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 485a8061e1..2e69ed42f3 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 @@ -678,6 +678,7 @@ "adding-items": "正在選擇商品", "all-orders": "所有訂單", "arranging-payment": "正在付款", + "authorized": "", "cancelled": "已取消", "delivered": "已完成", "error": "",