Skip to content

Commit

Permalink
update lang
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjj1024 committed Oct 22, 2024
1 parent 24b5be7 commit 2499a2d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src-tauri/src/command/pake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pub async fn update_config_file(
.replace("-1", width.as_str())
.replace("-2", height.as_str());
if ascii {
contents = contents.replace("-3", r#"["all"]"#);
contents = contents.replace("-3", r#""all""#);
} else {
contents = contents.replace(
"-3",
Expand Down
4 changes: 2 additions & 2 deletions src/lang/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ export default {
delProject: 'Delete Project',
webUrl: 'Website',
example: 'example',
appName: 'Name',
appName: 'AppName',
appId: 'Identifier',
appIcon: 'Icon',
appIcon: 'AppIcon',
appVersion: 'Version',
platform: 'Platform',
desktop: 'Desktop',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ const dispatchAction = async () => {
const loadingText = `<div>${minute}${t('minute')}${second}${t(
'second'
)}</div><div>${buildStatus}${buildRate}%...</div>`
console.log('loadingText---', loadingText)
// console.log('loadingText---', loadingText)
document.querySelector('.el-loading-text')!.innerHTML = loadingText
}, 1000)
// check build status
Expand Down
2 changes: 0 additions & 2 deletions src/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -626,10 +626,8 @@ export const usePakeStore = defineStore('pakeplus', {
this.currentProject = project
localStorage.setItem('currentProject', JSON.stringify(project))
const exist = this.projectList.findIndex((item: Project) => {
console.log('item---', item, project)
return item.name === project.name
})
console.log('exist---', exist, project, this.projectList)
if (exist !== -1) {
this.projectList[exist] = project
} else {
Expand Down

0 comments on commit 2499a2d

Please sign in to comment.