Skip to content

Commit

Permalink
Merge pull request #258 from bropines/main
Browse files Browse the repository at this point in the history
Try to add russian localy
  • Loading branch information
viarotel authored Oct 21, 2024
2 parents 72968e9 + 5ca39ae commit 4dc12db
Show file tree
Hide file tree
Showing 10 changed files with 778 additions and 6 deletions.
9 changes: 8 additions & 1 deletion .eslintrc-auto-import.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@
"watchPostEffect": true,
"watchSyncEffect": true,
"ElMessage": true,
"ElButtonProps": true
"ElButtonProps": true,
"DirectiveBinding": true,
"MaybeRef": true,
"MaybeRefOrGetter": true,
"onWatcherCleanup": true,
"useId": true,
"useModel": true,
"useTemplateRef": true
}
}
353 changes: 353 additions & 0 deletions README-RU.md

Large diffs are not rendered by default.

Binary file added screenshots/ru-RU/overview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/Device/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<el-table-column
v-slot="{ row, $index }"
:label="$t('device.control.name')"
min-width="200"
min-width="250"
align="left"
>
<MirrorAction
Expand Down
10 changes: 6 additions & 4 deletions src/components/Preference/components/PreferenceForm/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<el-form
ref="elForm"
:model="preferenceData"
label-width="225px"
label-width="250px"
class="pr-8 pt-4"
>
<el-row :gutter="20">
Expand Down Expand Up @@ -63,9 +63,11 @@
>
</el-link>
</el-tooltip>
<span class="" :title="$t(item_1.placeholder)">{{
$t(item_1.label)
}}</span>
<div class="truncate max-w-56" :title="$t(item_1.label)">
{{
$t(item_1.label)
}}
</div>
</div>
</template>

Expand Down
1 change: 1 addition & 0 deletions src/locales/languages/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"common.language.zh-CN": "中文",
"common.language.zh-TW": "繁體中文",
"common.language.en-US": "English",
"common.language.ru-RU": "Русский",

"time.update": "Update Time",
"time.unit.month": "month",
Expand Down
403 changes: 403 additions & 0 deletions src/locales/languages/ru-RU.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/locales/languages/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"common.language.zh-CN": "中文",
"common.language.zh-TW": "繁體中文",
"common.language.en-US": "English",
"common.language.ru-RU": "Русский",

"time.update": "更新时间",
"time.unit.month": "",
Expand Down
1 change: 1 addition & 0 deletions src/locales/languages/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"common.language.zh-CN": "中文",
"common.language.zh-TW": "繁體中文",
"common.language.en-US": "English",
"common.language.ru-RU": "Русский",

"time.update": "更新時間",
"time.unit.month": "",
Expand Down
4 changes: 4 additions & 0 deletions src/store/preference/model/common/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ export default {
label: 'common.language.en-US',
value: 'en-US',
},
{
label: 'common.language.ru-RU',
value: 'ru-RU',
},
],
},
savePath: {
Expand Down

0 comments on commit 4dc12db

Please sign in to comment.