From 396363488c9aeda3ee2ec7bf69faa196b2af640a Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Sat, 22 Jul 2023 12:43:12 +0200 Subject: [PATCH] chore: minor translation fixes --- crowdin.yml | 2 +- frontend/src/i18n/translations/en.ts | 2 +- frontend/src/i18n/translations/zh-CN.ts | 4 ++-- frontend/src/pages/404.tsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crowdin.yml b/crowdin.yml index 5d9bdb1..4a230c4 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,4 +1,4 @@ files: - source: /frontend/src/i18n/translations/en.ts - translation: /%original_path%/%two_letters_code%.ts + translation: /%original_path%/%locale%.ts pull_request_title: "chore: update translations via Crowdin" diff --git a/frontend/src/i18n/translations/en.ts b/frontend/src/i18n/translations/en.ts index dd9538b..a74c399 100644 --- a/frontend/src/i18n/translations/en.ts +++ b/frontend/src/i18n/translations/en.ts @@ -128,6 +128,7 @@ export default { "account.shares.table.createdAt": "Created at", "account.shares.table.size": "Size", + "account.shares.modal.share-informations": "Share informations", "account.shares.modal.share-link": "Share link", "account.shares.modal.delete.title": "Delete share {share}", @@ -403,7 +404,6 @@ export default { "admin.config.smtp.button.test": "Send test email", // 404 - "404.title": "404", "404.description": "Oops this page doesn't exist.", "404.button.home": "Bring me back home", diff --git a/frontend/src/i18n/translations/zh-CN.ts b/frontend/src/i18n/translations/zh-CN.ts index f35604f..f6a7202 100644 --- a/frontend/src/i18n/translations/zh-CN.ts +++ b/frontend/src/i18n/translations/zh-CN.ts @@ -113,8 +113,7 @@ export default { "你真的想删除你的账户,并删除所有的共享吗?", // END /account - // /account/shares、 - "account.shares.modal.share-informations": "共享信息", + // /account/shares "account.shares.title": "我的共享", "account.shares.title.empty": "这里空空如也 👀", "account.shares.description.empty": "你没有创建任何共享", @@ -129,6 +128,7 @@ export default { "account.shares.table.createdAt": "创建时间", "account.shares.table.size": "文件大小", + "account.shares.modal.share-informations": "共享信息", "account.shares.modal.share-link": "共享链接", "account.shares.modal.delete.title": "删除 {share}", diff --git a/frontend/src/pages/404.tsx b/frontend/src/pages/404.tsx index 36545fd..fae0d5b 100644 --- a/frontend/src/pages/404.tsx +++ b/frontend/src/pages/404.tsx @@ -44,7 +44,7 @@ const ErrorNotFound = () => {
- + 404
<FormattedMessage id="404.description" />