Skip to content

Commit

Permalink
feat: Improve international language and style (#7697)
Browse files Browse the repository at this point in the history
Refs #7696
  • Loading branch information
lan-yonghui authored Jan 10, 2025
1 parent 6b88e1a commit a04f4a8
Show file tree
Hide file tree
Showing 11 changed files with 160 additions and 168 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/router-button/index.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<el-card class="router_card p-1 sm:p-0">
<div class="flex w-full flex-col justify-start sm:items-center items-start sm:justify-between sm:flex-row">
<el-radio-group v-model="activeName" @change="handleChange">
<el-radio-group v-model="activeName" @change="handleChange" class="flex-1">
<el-radio-button
class="router_card_button"
:label="button.label"
Expand Down
10 changes: 5 additions & 5 deletions frontend/src/lang/modules/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const message = {
saveAndEnable: '保存して有効にします',
import: '輸',
search: '検',
refresh: 'フレッシュします',
refresh: 'ロード',
get: '得',
upgrade: 'アップグレード',
ignore: 'アップグレードを無視します',
Expand Down Expand Up @@ -1184,7 +1184,7 @@ const message = {
editPermissions: '編@:file.mode',
owner: '所有者',
file: 'ファイル',
remoteFile: 'モコンからダウンロードしてください',
remoteFile: 'モートダウンロード',
share: '共',
sync: 'データ同期',
size: 'サイズ',
Expand Down Expand Up @@ -1283,9 +1283,9 @@ const message = {
clashOpenAlert: '「リサイクルビンボタンをクリックしてリサイクルビンディレクトリを開きます',
right: 'フォワード',
back: '戻',
top: 'って行きます',
refresh: 'フレッシュします',
up: 'って行きます',
top: '',
refresh: 'ロード',
up: '',
openWithVscode: 'VSコードで開く',
vscodeHelper:
'VSコードがローカルにインストールされSSHリモートプラグインが構成されていることを確認してください',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lang/modules/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,7 @@ const message = {
editPermissions: '@:file.mode',
owner: 'Владелец',
file: 'Файл',
remoteFile: 'Скачать с удаленного сервера',
remoteFile: 'Удалённая загрузка',
share: 'Поделиться',
sync: 'Синхронизация данных',
size: 'Размер',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/database/mysql/conn/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
prop="password"
>
<el-input
style="width: calc(100% - 167px)"
style="width: calc(100% - 205px)"
type="password"
show-password
clearable
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/database/postgresql/conn/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
prop="password"
>
<el-input
style="width: calc(100% - 147px)"
style="width: calc(100% - 205px)"
type="password"
show-password
clearable
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/database/redis/conn/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<el-divider border-style="dashed" />
<el-form-item :label="$t('commons.login.password')" v-if="form.from === 'local'" prop="password">
<el-input
style="width: calc(100% - 147px)"
style="width: calc(100% - 205px)"
type="password"
show-password
clearable
Expand Down
1 change: 1 addition & 0 deletions frontend/src/views/home/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,7 @@ onBeforeUnmount(() => {
font-size: 13px !important;
border: none !important;
width: 100% !important;
line-height: normal !important;
}
.monitor-tags {
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/views/host/file-management/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -386,12 +386,12 @@
</div>
</template>
</el-table-column>
<el-table-column :label="$t('file.mode')" prop="mode" max-width="50" min-width="110px">
<el-table-column :label="$t('file.mode')" prop="mode" min-width="110">
<template #default="{ row }">
<el-link :underline="false" @click="openMode(row)">{{ row.mode }}</el-link>
</template>
</el-table-column>
<el-table-column :label="$t('commons.table.user')" prop="user" show-overflow-tooltip>
<el-table-column :label="$t('commons.table.user')" prop="user" show-overflow-tooltip min-width="90">
<template #default="{ row }">
<el-link :underline="false" @click="openChown(row)">
{{ row.user ? row.user : '-' }} ({{ row.uid }})
Expand All @@ -405,7 +405,7 @@
</el-link>
</template>
</el-table-column>
<el-table-column :label="$t('file.size')" prop="size" max-width="50" sortable>
<el-table-column :label="$t('file.size')" prop="size" min-width="100" sortable>
<template #default="{ row, $index }">
<span v-if="row.isDir">
<el-button
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/setting/panel/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
:model="form"
:label-position="mobile ? 'top' : 'left'"
label-width="auto"
class="sm:w-full md:w-4/5 lg:w-3/5 2xl:w-1/2 max-w-max"
class="sm:w-full md:w-4/5 lg:w-3/5 2xl:w-1/2 max-w-max ml-8"
>
<el-form-item :label="$t('setting.user')" prop="userName">
<el-input disabled v-model="form.userName">
Expand Down
Loading

0 comments on commit a04f4a8

Please sign in to comment.