Skip to content

Commit

Permalink
update lang chagne
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjj1024 committed Nov 15, 2024
1 parent 977679e commit dcde5dd
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 12 deletions.
9 changes: 9 additions & 0 deletions src/lang/en_us.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,13 @@ export default {
aboutGuide:
"Although it's called PakePlus, it has no relation to Pake, just like JavaScript and Java are unrelated. It is open-source and free, allowing you to package web pages into cross-platform apps. All you need is a Github Token to package your web page into a standalone executable program. It currently supports Windows, macOS, and Linux systems, with future plans to support mobile platforms like Android and iOS. If you have any questions, feel free to add me on WeChat: lanxingme (please note 'PakePlus'), or send me an email.",
followme: 'Follow me',
moreConfig: 'More Config',
scriptFile: 'Scripts',
selectJsScriptFile: 'Please select the js script file',
customize: 'Customize',
filterElements: 'Filter Elements',
inputXpathSelectors:
'Please enter the xpath selectors, separated by semicolons',
mobileEnd: 'Mobile End',
sourceCode: 'Source Code',
}
15 changes: 11 additions & 4 deletions src/lang/ja_jp.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export default {
projectTitle: 'プロジェクト管理',
projectTips:
'オープンソースで無料、Webページをパッケージしてクロスプラットフォームアプリを作成するには、Githubトークンが1つだけ必要です',
projectTips: 'このソフトウェアはオープンソースで無料です。',
darkMode: 'ダークテーマ',
lightMode: 'ライトテーマ',
testToken: 'テスト',
Expand Down Expand Up @@ -36,9 +35,9 @@ export default {
appId: 'アプリID',
appIcon: 'アプリアイコン',
appVersion: 'アプリバージョン',
platform: 'プレビューのプラットフォーム',
platform: 'ぶたい',
desktop: 'デスクトップ版',
winSize: 'ウィンドウサイズ',
winSize: 'サイズ',
width: '幅',
height: '高さ',
appDes: 'アプリの説明',
Expand Down Expand Up @@ -93,4 +92,12 @@ export default {
second: '秒',
copySuccess: 'コピー成功',
delSuccess: '削除成功',
moreConfig: 'より多くの設定',
scriptFile: 'スクリプトファイル',
selectJsScriptFile: 'jsスクリプトファイルを選択してください',
customize: 'カスタマイズ',
filterElements: 'ろ過',
inputXpathSelectors: 'xpath選択器を入力してください',
mobileEnd: 'モバイル端末',
sourceCode: 'ソースコード',
}
8 changes: 8 additions & 0 deletions src/lang/zh_cn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,12 @@ export default {
aboutGuide:
'虽然它叫PakePlus,但是它和Pake没有关系哦,就像JavaScript和Java一样。开源免费,Web网页打包跨平台APP,仅仅只需要一个GithubToken,就可以将你的网页打包成一个独立可执行程序,目前支持Windows,macOS, Linux系统,未来还会支持Android,iOS等移动端。有问题可以加我微信:lanxingme,备注:PakePlus,或者给我发送邮件',
followme: '关注小神',
moreConfig: '更多配置',
scriptFile: '脚本文件',
selectJsScriptFile: '请选择js脚本文件',
customize: '自定义',
filterElements: '过滤元素',
inputXpathSelectors: '请输入xpath选择器,以英文分号分割',
mobileEnd: '移动端',
sourceCode: '源代码',
}
8 changes: 8 additions & 0 deletions src/lang/zh_tw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,12 @@ export default {
second: '秒',
copySuccess: '複製成功',
delSuccess: '刪除成功',
moreConfig: '更多配置',
scriptFile: '腳本文件',
selectJsScriptFile: '請選擇js腳本文件',
customize: '自定義',
filterElements: '過濾元素',
inputXpathSelectors: '請輸入xpath選擇器,以英文分號分割',
mobileEnd: '移動端',
sourceCode: '源代碼',
}
24 changes: 16 additions & 8 deletions src/pages/edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item disabled>
更多配置
{{ t('moreConfig') }}
</el-dropdown-item>
<el-dropdown-item
:disabled="store.release.id === 0"
Expand Down Expand Up @@ -133,7 +133,7 @@
/>
</el-form-item>
<el-form-item
label="脚本文件"
:label="t('scriptFile')"
prop="jsFile"
class="formItem"
>
Expand All @@ -143,7 +143,7 @@
collapse-tags
filterable
ref="selJs"
placeholder="请选择js脚本文件"
:placeholder="t('selectJsScriptFile')"
class="jsSelect"
@change="jsChange"
@click="jsHandle"
Expand All @@ -167,7 +167,7 @@
<el-radio value="iPhone">iPhone</el-radio>
<el-radio value="Android">Android</el-radio>
<el-radio value="iPad">iPad</el-radio>
<el-radio value="custom">自定义</el-radio>
<el-radio value="custom">{{ t('customize') }}</el-radio>
</el-radio-group>
</el-form-item>
<!-- window size -->
Expand All @@ -189,7 +189,7 @@
&#xe66b;
</span>
</el-form-item>
<el-form-item label="过滤元素" prop="desc">
<el-form-item :label="t('filterElements')" prop="desc">
<el-input
v-model="appForm.filterCss"
type="textarea"
Expand All @@ -198,7 +198,7 @@
autoCorrect="off"
spellCheck="false"
:rows="3"
placeholder="请输入xpath选择器,以英文分号分割"
:placeholder="t('inputXpathSelectors')"
/>
</el-form-item>
<el-form-item :label="t('appDes')" prop="desc">
Expand Down Expand Up @@ -236,8 +236,16 @@
<el-form-item :label="t('pubPlatform')">
<el-checkbox-group v-model="pubForm.platform">
<el-checkbox :label="t('desktop')" value="desktop" />
<el-checkbox label="移动端" value="mobile" disabled />
<el-checkbox label="源代码" value="source" disabled />
<el-checkbox
:label="t('mobileEnd')"
value="mobile"
disabled
/>
<el-checkbox
:label="t('sourceCode')"
value="source"
disabled
/>
</el-checkbox-group>
</el-form-item>
<el-form-item :label="t('pubMode')">
Expand Down

0 comments on commit dcde5dd

Please sign in to comment.