Skip to content

Commit

Permalink
fix(admin-ui): Add missing "state.error" token
Browse files Browse the repository at this point in the history
  • Loading branch information
chladog authored Nov 6, 2020
1 parent 1662885 commit b40843a
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 28 deletions.
46 changes: 23 additions & 23 deletions packages/admin-ui/i18n-coverage.json
Original file line number Diff line number Diff line change
@@ -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
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export class StateI18nTokenPipe implements PipeTransform {
Pending: _('state.pending'),
Settled: _('state.settled'),
Failed: _('state.failed'),
Error: _('state.error'),
};
transform<T extends unknown>(value: T): T {
if (typeof value === 'string') {
Expand Down
1 change: 1 addition & 0 deletions packages/admin-ui/src/lib/static/i18n-messages/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion packages/admin-ui/src/lib/static/i18n-messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@
"arranging-payment": "Zahlung einrichten",
"cancelled": "Storniert",
"delivered": "Ausgeführt",
"error": "",
"failed": "",
"partially-delivered": "Teilweise ausgeführt",
"partially-shipped": "",
Expand Down Expand Up @@ -707,4 +708,4 @@
"job-result": "Job-Ergebnis",
"job-state": "Job-Status"
}
}
}
1 change: 1 addition & 0 deletions packages/admin-ui/src/lib/static/i18n-messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@
"arranging-payment": "Arranging payment",
"cancelled": "Cancelled",
"delivered": "Delivered",
"error": "Error",
"failed": "Failed",
"partially-delivered": "Partially delivered",
"partially-shipped": "Partially shipped",
Expand Down
1 change: 1 addition & 0 deletions packages/admin-ui/src/lib/static/i18n-messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@
"arranging-payment": "",
"cancelled": "",
"delivered": "",
"error": "",
"failed": "",
"partially-delivered": "",
"partially-shipped": "",
Expand Down
3 changes: 2 additions & 1 deletion packages/admin-ui/src/lib/static/i18n-messages/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@
"arranging-payment": "Oczekiwanie na płatność",
"cancelled": "Anulowano",
"delivered": "Zrealizowano",
"error": "",
"failed": "",
"partially-delivered": "Częściowo zrealizowano",
"partially-shipped": "",
Expand Down Expand Up @@ -707,4 +708,4 @@
"job-result": "Rezultat zlecenia",
"job-state": "Status zlecenia"
}
}
}
3 changes: 2 additions & 1 deletion packages/admin-ui/src/lib/static/i18n-messages/pt_BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@
"arranging-payment": "Organização de pagamento",
"cancelled": "Cancelado",
"delivered": "Realizado",
"error": "",
"failed": "",
"partially-delivered": "Parcialmente realizado",
"partially-shipped": "",
Expand Down Expand Up @@ -707,4 +708,4 @@
"job-result": "Resultado do trabalho",
"job-state": "Estado do trabalho"
}
}
}
3 changes: 2 additions & 1 deletion packages/admin-ui/src/lib/static/i18n-messages/zh_Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@
"arranging-payment": "正在付款",
"cancelled": "已取消",
"delivered": "已完成",
"error": "",
"failed": "",
"partially-delivered": "部分配货",
"partially-shipped": "",
Expand Down Expand Up @@ -707,4 +708,4 @@
"job-result": "",
"job-state": ""
}
}
}
3 changes: 2 additions & 1 deletion packages/admin-ui/src/lib/static/i18n-messages/zh_Hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@
"arranging-payment": "正在付款",
"cancelled": "已取消",
"delivered": "已完成",
"error": "",
"failed": "",
"partially-delivered": "部分配貨",
"partially-shipped": "",
Expand Down Expand Up @@ -707,4 +708,4 @@
"job-result": "",
"job-state": ""
}
}
}

0 comments on commit b40843a

Please sign in to comment.