From 4ad0cc13665dc37ce2f9cb086244f0666c725b95 Mon Sep 17 00:00:00 2001 From: qwqcode Date: Sat, 19 Oct 2024 14:09:59 +0800 Subject: [PATCH] chore(i18n): update terminology for clarity - Change 'Frontend' to 'Client' - Change 'Backend' to 'Server' --- ui/artalk/src/i18n/en.ts | 4 ++-- ui/artalk/src/i18n/fr.ts | 4 ++-- ui/artalk/src/i18n/ja.ts | 4 ++-- ui/artalk/src/i18n/ko.ts | 4 ++-- ui/artalk/src/i18n/ru.ts | 4 ++-- ui/artalk/src/i18n/zh-CN.ts | 4 ++-- ui/artalk/src/i18n/zh-TW.ts | 4 ++-- ui/artalk/src/plugins/version-check.ts | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/ui/artalk/src/i18n/en.ts b/ui/artalk/src/i18n/en.ts index f460729d..4766a1a6 100644 --- a/ui/artalk/src/i18n/en.ts +++ b/ui/artalk/src/i18n/en.ts @@ -95,8 +95,8 @@ const en = { merge: 'Merge', /* General */ - frontend: 'Frontend', - backend: 'Backend', + client: 'Client', + server: 'Server', loading: 'Loading', loadFail: 'Load Failed', editing: 'Editing', diff --git a/ui/artalk/src/i18n/fr.ts b/ui/artalk/src/i18n/fr.ts index 985be697..bd6f5e4a 100644 --- a/ui/artalk/src/i18n/fr.ts +++ b/ui/artalk/src/i18n/fr.ts @@ -101,8 +101,8 @@ export default defineLocaleExternal( merge: 'Fusionner', /* General */ - frontend: 'Frontend', - backend: 'Backend', + client: 'Client', + server: 'Serveur', loading: 'Chargement', loadFail: 'Échec du chargement', editing: 'Modification', diff --git a/ui/artalk/src/i18n/ja.ts b/ui/artalk/src/i18n/ja.ts index 051c6b9f..e67e8dd2 100644 --- a/ui/artalk/src/i18n/ja.ts +++ b/ui/artalk/src/i18n/ja.ts @@ -99,8 +99,8 @@ export default defineLocaleExternal( merge: '統合する', /* General */ - frontend: 'フロントエンド', - backend: 'バックエンド', + client: 'クライアント', + server: 'サーバー', loading: '読み込み中', loadFail: '読み込みに失敗しました', editing: '編集中', diff --git a/ui/artalk/src/i18n/ko.ts b/ui/artalk/src/i18n/ko.ts index 2ad65d1b..6e8ac6a9 100644 --- a/ui/artalk/src/i18n/ko.ts +++ b/ui/artalk/src/i18n/ko.ts @@ -99,8 +99,8 @@ export default defineLocaleExternal( merge: '병합', /* General */ - frontend: '프론트엔드', - backend: '백엔드', + client: '클라이언트', + server: '서버', loading: '로딩 중', loadFail: '로딩 실패', editing: '편집 중', diff --git a/ui/artalk/src/i18n/ru.ts b/ui/artalk/src/i18n/ru.ts index c8c5f51d..ea3e6691 100644 --- a/ui/artalk/src/i18n/ru.ts +++ b/ui/artalk/src/i18n/ru.ts @@ -100,8 +100,8 @@ export default defineLocaleExternal( merge: 'Объединить', /* General */ - frontend: 'Фронтенд', - backend: 'Бэкенд', + client: 'Клиент', + server: 'Сервер', loading: 'Загрузка', loadFail: 'Ошибка загрузки', editing: 'Редактирование', diff --git a/ui/artalk/src/i18n/zh-CN.ts b/ui/artalk/src/i18n/zh-CN.ts index 82023cd6..4e930ae0 100644 --- a/ui/artalk/src/i18n/zh-CN.ts +++ b/ui/artalk/src/i18n/zh-CN.ts @@ -97,8 +97,8 @@ const zhCN: I18n = { merge: '合并', /* General */ - frontend: '前端', - backend: '后端', + client: '客户端', + server: '服务器', loading: '加载中', loadFail: '加载失败', editing: '修改中', diff --git a/ui/artalk/src/i18n/zh-TW.ts b/ui/artalk/src/i18n/zh-TW.ts index 80297d9b..8f4b75fd 100644 --- a/ui/artalk/src/i18n/zh-TW.ts +++ b/ui/artalk/src/i18n/zh-TW.ts @@ -97,8 +97,8 @@ export default defineLocaleExternal('zh-TW', { merge: '合併', /* General */ - frontend: '前端', - backend: '後端', + client: '客戶端', + server: '伺服器', loading: '加載中', loadFail: '加載失敗', editing: '修改中', diff --git a/ui/artalk/src/plugins/version-check.ts b/ui/artalk/src/plugins/version-check.ts index 9e53f297..a8b1e682 100644 --- a/ui/artalk/src/plugins/version-check.ts +++ b/ui/artalk/src/plugins/version-check.ts @@ -20,9 +20,9 @@ function versionCheck(list: List, feVer: string, beVer: string) { const errEl = Utils.createElement( `
${$t('updateMsg', { - name: comp < 0 ? $t('frontend') : $t('backend'), + name: comp < 0 ? $t('client') : $t('server'), })} ` + - `${$t('currentVersion')}: ${$t('frontend')} ${feVer} / ${$t('backend')} ${beVer}` + + `${$t('currentVersion')}: ${$t('client')} ${feVer} / ${$t('server')} ${beVer}` + `
`, ) const ignoreBtn = Utils.createElement(`${$t('ignore')}`)