Skip to content

Commit

Permalink
chore(i18n): update terminology for clarity
Browse files Browse the repository at this point in the history
- Change 'Frontend' to 'Client'
- Change 'Backend' to 'Server'
  • Loading branch information
qwqcode committed Oct 19, 2024
1 parent 15f2fb8 commit 4ad0cc1
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions ui/artalk/src/i18n/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ const en = {
merge: 'Merge',

/* General */
frontend: 'Frontend',
backend: 'Backend',
client: 'Client',
server: 'Server',
loading: 'Loading',
loadFail: 'Load Failed',
editing: 'Editing',
Expand Down
4 changes: 2 additions & 2 deletions ui/artalk/src/i18n/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions ui/artalk/src/i18n/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ export default defineLocaleExternal(
merge: '統合する',

/* General */
frontend: 'フロントエンド',
backend: 'バックエンド',
client: 'クライアント',
server: 'サーバー',
loading: '読み込み中',
loadFail: '読み込みに失敗しました',
editing: '編集中',
Expand Down
4 changes: 2 additions & 2 deletions ui/artalk/src/i18n/ko.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ export default defineLocaleExternal(
merge: '병합',

/* General */
frontend: '프론트엔드',
backend: '백엔드',
client: '클라이언트',
server: '서버',
loading: '로딩 중',
loadFail: '로딩 실패',
editing: '편집 중',
Expand Down
4 changes: 2 additions & 2 deletions ui/artalk/src/i18n/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ export default defineLocaleExternal(
merge: 'Объединить',

/* General */
frontend: 'Фронтенд',
backend: 'Бэкенд',
client: 'Клиент',
server: 'Сервер',
loading: 'Загрузка',
loadFail: 'Ошибка загрузки',
editing: 'Редактирование',
Expand Down
4 changes: 2 additions & 2 deletions ui/artalk/src/i18n/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ const zhCN: I18n = {
merge: '合并',

/* General */
frontend: '前端',
backend: '后端',
client: '客户端',
server: '服务器',
loading: '加载中',
loadFail: '加载失败',
editing: '修改中',
Expand Down
4 changes: 2 additions & 2 deletions ui/artalk/src/i18n/zh-TW.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ export default defineLocaleExternal('zh-TW', {
merge: '合併',

/* General */
frontend: '前端',
backend: '後端',
client: '客戶端',
server: '伺服器',
loading: '加載中',
loadFail: '加載失敗',
editing: '修改中',
Expand Down
4 changes: 2 additions & 2 deletions ui/artalk/src/plugins/version-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ function versionCheck(list: List, feVer: string, beVer: string) {

const errEl = Utils.createElement(
`<div class="atk-version-check-notice">${$t('updateMsg', {
name: comp < 0 ? $t('frontend') : $t('backend'),
name: comp < 0 ? $t('client') : $t('server'),
})} <span class="atk-info">` +
`${$t('currentVersion')}: ${$t('frontend')} ${feVer} / ${$t('backend')} ${beVer}` +
`${$t('currentVersion')}: ${$t('client')} ${feVer} / ${$t('server')} ${beVer}` +
`</span></div>`,
)
const ignoreBtn = Utils.createElement(`<span class="atk-ignore-btn">${$t('ignore')}</span>`)
Expand Down

0 comments on commit 4ad0cc1

Please sign in to comment.