-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Improve international language and style #7697
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,7 @@ const message = { | |
saveAndEnable: '保存して有効にします', | ||
import: '輸入', | ||
search: '検索', | ||
refresh: 'リフレッシュします', | ||
refresh: 'リロード', | ||
get: '得る', | ||
upgrade: 'アップグレード', | ||
ignore: 'アップグレードを無視します', | ||
|
@@ -1184,7 +1184,7 @@ const message = { | |
editPermissions: '編集@:file.mode', | ||
owner: '所有者', | ||
file: 'ファイル', | ||
remoteFile: 'リモコンからダウンロードしてください', | ||
remoteFile: 'リモートダウンロード', | ||
share: '共有', | ||
sync: 'データ同期', | ||
size: 'サイズ', | ||
|
@@ -1283,9 +1283,9 @@ const message = { | |
clashOpenAlert: '「リサイクルビン」ボタンをクリックして、リサイクルビンディレクトリを開きます', | ||
right: 'フォワード', | ||
back: '戻る', | ||
top: '戻って行きます', | ||
refresh: 'リフレッシュします', | ||
up: '戻って行きます', | ||
top: '戻る', | ||
refresh: 'リロード', | ||
up: '戻る', | ||
openWithVscode: 'VSコードで開く', | ||
vscodeHelper: | ||
'VSコードがローカルにインストールされ、SSHリモートプラグインが構成されていることを確認してください', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The code changes look generally appropriate for a translation file, with some minor corrections to clarify text:
Overall, the text is clear and maintains consistency across the translation strings. |
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }}) | ||
|
@@ -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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are no major discrepancies between the lines highlighted. The minor adjustments focus on optimizing the minimum widths of table columns to ensure better readability and performance, especially with varying data sizes. |
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main code difference you've highlighted is that the
el-radio-button
elements now have a class offlex-1
, which may not be necessary or cause unintended layout issues. Here's my review:Class Usage: The use of
flex-1
on the<div>
wrapping the radio buttons suggests this might be unnecessary if it was intended to center the radios horizontally within their container. However, without additional context (like CSS styles or other siblings), it could lead to unexpected behavior.Potential Issues:
flex-1
was intended, they should be documented. Without that documentation, relying solely on class-based styling can be risky.Optimization Suggestions:
<div>
. This simplifies the HTML structure and makes the code cleaner.Code Improvement: