Skip to content

Commit a04f4a8

Browse files
authored
feat: Improve international language and style (1Panel-dev#7697)
Refs 1Panel-dev#7696
1 parent 6b88e1a commit a04f4a8

File tree

11 files changed

+160
-168
lines changed

11 files changed

+160
-168
lines changed

frontend/src/components/router-button/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<el-card class="router_card p-1 sm:p-0">
33
<div class="flex w-full flex-col justify-start sm:items-center items-start sm:justify-between sm:flex-row">
4-
<el-radio-group v-model="activeName" @change="handleChange">
4+
<el-radio-group v-model="activeName" @change="handleChange" class="flex-1">
55
<el-radio-button
66
class="router_card_button"
77
:label="button.label"

frontend/src/lang/modules/ja.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const message = {
5252
saveAndEnable: '保存して有効にします',
5353
import: '輸入',
5454
search: '検索',
55-
refresh: 'リフレッシュします',
55+
refresh: 'リロード',
5656
get: '得る',
5757
upgrade: 'アップグレード',
5858
ignore: 'アップグレードを無視します',
@@ -1184,7 +1184,7 @@ const message = {
11841184
editPermissions: '編集@:file.mode',
11851185
owner: '所有者',
11861186
file: 'ファイル',
1187-
remoteFile: 'リモコンからダウンロードしてください',
1187+
remoteFile: 'リモートダウンロード',
11881188
share: '共有',
11891189
sync: 'データ同期',
11901190
size: 'サイズ',
@@ -1283,9 +1283,9 @@ const message = {
12831283
clashOpenAlert: '「リサイクルビン」ボタンをクリックして、リサイクルビンディレクトリを開きます',
12841284
right: 'フォワード',
12851285
back: '戻る',
1286-
top: '戻って行きます',
1287-
refresh: 'リフレッシュします',
1288-
up: '戻って行きます',
1286+
top: '戻る',
1287+
refresh: 'リロード',
1288+
up: '戻る',
12891289
openWithVscode: 'VSコードで開く',
12901290
vscodeHelper:
12911291
'VSコードがローカルにインストールされ、SSHリモートプラグインが構成されていることを確認してください',

frontend/src/lang/modules/ru.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ const message = {
12151215
editPermissions: '@:file.mode',
12161216
owner: 'Владелец',
12171217
file: 'Файл',
1218-
remoteFile: 'Скачать с удаленного сервера',
1218+
remoteFile: 'Удалённая загрузка',
12191219
share: 'Поделиться',
12201220
sync: 'Синхронизация данных',
12211221
size: 'Размер',

frontend/src/views/database/mysql/conn/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
prop="password"
8282
>
8383
<el-input
84-
style="width: calc(100% - 167px)"
84+
style="width: calc(100% - 205px)"
8585
type="password"
8686
show-password
8787
clearable

frontend/src/views/database/postgresql/conn/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
prop="password"
8383
>
8484
<el-input
85-
style="width: calc(100% - 147px)"
85+
style="width: calc(100% - 205px)"
8686
type="password"
8787
show-password
8888
clearable

frontend/src/views/database/redis/conn/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<el-divider border-style="dashed" />
6969
<el-form-item :label="$t('commons.login.password')" v-if="form.from === 'local'" prop="password">
7070
<el-input
71-
style="width: calc(100% - 147px)"
71+
style="width: calc(100% - 205px)"
7272
type="password"
7373
show-password
7474
clearable

frontend/src/views/home/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,7 @@ onBeforeUnmount(() => {
720720
font-size: 13px !important;
721721
border: none !important;
722722
width: 100% !important;
723+
line-height: normal !important;
723724
}
724725
725726
.monitor-tags {

frontend/src/views/host/file-management/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,12 +386,12 @@
386386
</div>
387387
</template>
388388
</el-table-column>
389-
<el-table-column :label="$t('file.mode')" prop="mode" max-width="50" min-width="110px">
389+
<el-table-column :label="$t('file.mode')" prop="mode" min-width="110">
390390
<template #default="{ row }">
391391
<el-link :underline="false" @click="openMode(row)">{{ row.mode }}</el-link>
392392
</template>
393393
</el-table-column>
394-
<el-table-column :label="$t('commons.table.user')" prop="user" show-overflow-tooltip>
394+
<el-table-column :label="$t('commons.table.user')" prop="user" show-overflow-tooltip min-width="90">
395395
<template #default="{ row }">
396396
<el-link :underline="false" @click="openChown(row)">
397397
{{ row.user ? row.user : '-' }} ({{ row.uid }})
@@ -405,7 +405,7 @@
405405
</el-link>
406406
</template>
407407
</el-table-column>
408-
<el-table-column :label="$t('file.size')" prop="size" max-width="50" sortable>
408+
<el-table-column :label="$t('file.size')" prop="size" min-width="100" sortable>
409409
<template #default="{ row, $index }">
410410
<span v-if="row.isDir">
411411
<el-button

frontend/src/views/setting/panel/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
:model="form"
77
:label-position="mobile ? 'top' : 'left'"
88
label-width="auto"
9-
class="sm:w-full md:w-4/5 lg:w-3/5 2xl:w-1/2 max-w-max"
9+
class="sm:w-full md:w-4/5 lg:w-3/5 2xl:w-1/2 max-w-max ml-8"
1010
>
1111
<el-form-item :label="$t('setting.user')" prop="userName">
1212
<el-input disabled v-model="form.userName">

0 commit comments

Comments
 (0)