Skip to content

Commit

Permalink
up chi translations
Browse files Browse the repository at this point in the history
  • Loading branch information
TYHH10 authored and TYHH10 committed Aug 27, 2024
1 parent 7d30cf2 commit f65327b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/components/CrewList.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<v-card elevation="1" class="pb-2">
<v-card-header class="flex-column align-center">
<v-card-title>{{ isMultiPlayer ? 'Hired Bots' : '拥有的船员' }}</v-card-title>
<v-card-title>{{ isMultiPlayer ? '拥有的船员' : '拥有的船员' }}</v-card-title>
</v-card-header>
<v-sheet class="mb-2" id="crewListWrapper">
<v-sheet
Expand Down
10 changes: 5 additions & 5 deletions src/components/MiscSaveTools.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<v-dialog class="fullscreen" v-model="gameses.dialog.value" fullscreen>
<v-card class="d-flex flex-column" style="width: 100%; height: 100%">
<v-card-title>
<span class="text-h5">Manualy edit gamesession.xml</span>
<span class="text-h5">编辑 gamesession.xml</span>
</v-card-title>
<v-card-text class="d-flex flex-grow-1">
<textarea
Expand All @@ -34,8 +34,8 @@
</v-card-text>
<v-card-actions style="flex: 0 1 auto">
<v-spacer></v-spacer>
<v-btn color="red darken-1" text @click="gameses.closeDialog()"> Cancel </v-btn>
<v-btn color="green darken-1" text @click="gameses.saveChanges()"> Save </v-btn>
<v-btn color="red darken-1" text @click="gameses.closeDialog()"> 取消 </v-btn>
<v-btn color="green darken-1" text @click="gameses.saveChanges()"> 保存 </v-btn>
</v-card-actions>
</v-card>
</v-dialog>
Expand All @@ -44,7 +44,7 @@
<h3 class="toolTitle">Save 转换</h3>
<div class="toolContent d-flex flex-row justify-space-between align-center px-2 mb-8">
<div class="text">
Convert to a <span class="text-primary">{{ isMP ? 'single' : 'multi' }}-player</span> format:
转换为 <span class="text-primary">{{ isMP ? '单人' : '多人' }}-游戏</span> 格式:
</div>
<v-spacer></v-spacer>
<v-btn title="Convert" @click="convert.click" size="x-small" icon>
Expand Down Expand Up @@ -133,7 +133,7 @@
color="secondary"
class="py-5"
>
SET
应用
</v-btn>
</div>
</v-sheet>
Expand Down
14 changes: 7 additions & 7 deletions src/components/OwnedSubList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class="d-flex flex-row justify-center px-4"
>
<input
title="Set as currently used"
title="设置当前存档使用潜艇"
class="selectedSub"
type="radio"
name="selectedOwnedSub"
Expand All @@ -19,13 +19,13 @@
/>
<div class="subname">{{ sub }}</div>
<v-spacer></v-spacer>
<v-icon title="Download submarine file" color="secondary" class="iconButton" @click="downloadSub(sub)">
<v-icon title="下载潜艇文件" color="secondary" class="iconButton" @click="downloadSub(sub)">
mdi-file-download-outline
</v-icon>
<v-icon title="Edit submarine" color="secondary" class="iconButton" @click="editSub(sub)">
<v-icon title="编辑潜艇" color="secondary" class="iconButton" @click="editSub(sub)">
mdi-clipboard-arrow-right-outline
</v-icon>
<v-icon title="Delete submarine" color="red" class="iconButton" @click="deleteSub(sub)">
<v-icon title="删除潜艇" color="red" class="iconButton" @click="deleteSub(sub)">

Check warning on line 28 in src/components/OwnedSubList.vue

View workflow job for this annotation

GitHub Actions / build-gh-pages

Replace `⏎··········mdi-delete-outline⏎·······` with `·mdi-delete-outline`
mdi-delete-outline
</v-icon>
</v-sheet>
Expand Down Expand Up @@ -60,14 +60,14 @@ export default {
if (index === -1) {
this.$store.dispatch('showAlert', {
type: 'error',
text: `Failed to delete ${subName} - not found in ownedSubmarines.`,
text: `无法删除 (${subName}) - 在拥有的潜艇中无法找到.`,
})
return console.error(`Failed to delete ${subName} - not found in ownedSubmarines`)
}
this.ownedSubList.splice(index, 1)
this.$store.dispatch('showAlert', {
type: 'success',
text: `Removed "${subName}" from the owned submarines and "${subFilename}" file from the savefile.`,
text: `在拥有的潜艇中删除了 (${subName}),在存档文件中删除了 (${subFilename}) 文件.`,
})
},
downloadSub(subName) {
Expand Down Expand Up @@ -96,7 +96,7 @@ export default {
this.$store.state.gamesession.elements[0].attributes.submarine = subName
this.$store.dispatch('showAlert', {
type: 'success',
text: `Set current submarine to ${subName}.`,
text: `当前存档使用潜艇更改为 (${subName}).`,
})
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/SaveDataBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
下载
</v-btn>
<div class="float-right ma-1">
已加载文件: <span class="text-primary">{{ filename }}</span> , Save 日期/时间:
已加载文件: <span class="text-primary">{{ filename }}</span> , 存档日期/时间:
<span class="text-primary">{{ modificationDate }}</span>
</div>
</v-card>
Expand Down

0 comments on commit f65327b

Please sign in to comment.