Skip to content

Commit

Permalink
添加了部分模组职业,添加或更改了小部分翻译
Browse files Browse the repository at this point in the history
  • Loading branch information
TYHH10 authored and TYHH10 committed Nov 8, 2024
1 parent f65327b commit 3287232
Show file tree
Hide file tree
Showing 7 changed files with 4,283 additions and 31 deletions.
4,184 changes: 4,184 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"dependencies": {
"@mdi/font": "^6.1.95",
"baro-save-editor": "file:",
"buffer": "^6.0.3",
"core-js": "^3.17.2",
"fflate": "^0.7.1",
Expand Down
95 changes: 81 additions & 14 deletions src/components/CrewList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,20 @@
<v-card class="d-flex flex-column mainCard" style="width: 100%; height: 100%">
<v-card-title style="background-color: rgb(var(--v-theme-primary))">
<span class="text-h4"
>Editing <span class="text-black">{{ charClone?.attributes?.name }}</span></span
>编辑 <span class="text-black">{{ charClone?.attributes?.name }}</span></span
>
</v-card-title>
<v-card-text v-if="charClone" class="d-flex flex-grow-1">
<v-row v-if="!showTextarea">
<v-col>
<v-card elevation="1">
<v-card-title>
<span class="text-h4">General</span>
<span class="text-h4">通用</span>
</v-card-title>
<v-card-text class="charEditCardText">
<div>
<v-text-field
label="Name"
label="名字"
variant="outlined"
style="color: white; min-width: 200px"
class="mb-4 mt-3"
Expand All @@ -99,22 +99,37 @@
<v-col>
<v-card elevation="1">
<v-card-title>
<span class="text-h4">Job &amp; Skills</span>
<span class="text-h4">职业 &amp; 技能</span>
</v-card-title>
<v-card-text class="charEditCardText">
<div>
<div class="text-h5">Job:</div>
<div class="text-h5">职业:</div>
<select :class="cloneJob.attributes.identifier" v-model="cloneJob.attributes.identifier">
<option class="captain" value="captain">Captain</option>
<option class="securityofficer" value="securityofficer">Security Officer</option>
<option class="medicaldoctor" value="medicaldoctor">Medical Doctor</option>
<option class="engineer" value="engineer">Engineer</option>
<option class="mechanic" value="mechanic">Mechanic</option>
<option class="assistant" value="assistant">Assistant</option>
<option class="captain" value="captain">船长</option>
<option class="securityofficer" value="securityofficer">安全官</option>
<option class="medicaldoctor" value="medicaldoctor">医生</option>
<option class="engineer" value="engineer">工程师</option>
<option class="mechanic" value="mechanic">机修工</option>
<option class="assistant" value="assistant">助手</option>
<option class="admiral" value="admiral">指挥官(模组)</option>
<option class="Magician" value="Magician">魔法使(模组)</option>
<option class="realme" value="realme">「真我」(模组)</option>
<option class="M200" value="M200">战术人形M200(模组)</option>
<option class="Amiya" value="Amiya">阿米娅(模组)</option>
<option class="BIANCA" value="BIANCA">比安卡·深痕(模组)</option>
<option class="ForceWarrior" value="ForceWarrior">原力武士(模组)</option>
<option class="synth" value="synth">合成人(模组)</option>
<option class="blade" value="blade">Blade(模组)</option>
<option class="Kaltsit" value="Kaltsit">凯尔希(模组)</option>
<option class="diver" value="diver">The Diver(模组)</option>
<option class="harlequin" value="harlequin">Harlequin(模组)</option>
<option class="acolyte" value="acolyte">Acolyte(模组)</option>
<option class="v_scientist" value="v_scientist">Scientist(模组)</option>
<option class="separatist" value="separatist">Separatist(模组)</option>
</select>
</div>
<div>
<div class="text-h5">Skills</div>
<div class="text-h5">技能</div>
<div>
<div v-for="skill of cloneJob.elements" :key="skill.attributes.identifier">
<div>{{ skill.attributes.identifier }}</div>
Expand All @@ -130,8 +145,8 @@
</v-card-text>
<v-card-actions style="flex: 0 1 auto">
<v-spacer></v-spacer>
<v-btn color="red darken-1" text @click="editDialogClose()"> Cancel </v-btn>
<v-btn color="green darken-1" text @click="editDialogSave()"> Save </v-btn>
<v-btn color="red darken-1" text @click="editDialogClose()"> 取消 </v-btn>
<v-btn color="green darken-1" text @click="editDialogSave()"> 保存 </v-btn>
</v-card-actions>
</v-card>
</v-dialog>
Expand Down Expand Up @@ -611,4 +626,56 @@ option {
.assistant {
color: #f8f8f8;
}
.admiral {
color: #0bff85;
}
.Magician {
color: #0bff85;
}
.realme {
color: #0bff85;
}
.M200 {
color: #0bff85;
}
.Amiya {
color: #0bff85;
}
.BIANCA {
color: #0bff85;
}
.ForceWarrior {
color: #0bff85;
}
.synth {
color: #0bff85;
}
.blade {
color: #0bff85;
}
.Kaltsit {
color: #0bff85;
}
.diver {
color: #0bff85;
}
.harlequin {
color: #0bff85;
}
.acolvte {
color: #0bff85;
}
</style>
6 changes: 3 additions & 3 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">编辑 gamesession.xml</span>
<span class="text-h5">编辑 gamesession.xml Ctrl+F搜索</span>
</v-card-title>
<v-card-text class="d-flex flex-grow-1">
<textarea
Expand Down Expand Up @@ -118,7 +118,7 @@
<v-text-field
hide-details="true"
density="comfortable"
label="Current Money"
label="输入钱数量"
variant="outlined"
style="color: white; min-width: 140px"
v-model="money.inputVal.value"
Expand Down Expand Up @@ -175,7 +175,7 @@ function moneySetup() {
store.getters.campaign.attributes.money = inputVal.value
store.dispatch('showAlert', {
type: 'success',
text: `Set current money to "${inputVal.value}".`,
text: `当前钱数量设置为 "${inputVal.value}".`,
})
} else
store.dispatch('showAlert', {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ScriptRunner.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> Run Script </v-card-title>
<v-card-title> 运行脚本 </v-card-title>
</v-card-header>
<v-sheet class="mb-2 d-flex flex-column justify-center align-center px-4">
<textarea v-model="areaText" spellcheck="false" class="textArea px-2 mx-0"></textarea>
Expand Down
4 changes: 2 additions & 2 deletions src/components/ShuttleExporter.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<v-card elevation="1" class="pb-4">
<v-card-header class="flex-column align-center">
<v-card-title> Export from file </v-card-title>
<v-card-title> 文件导出 </v-card-title>
</v-card-header>
<v-sheet class="d-flex flex-column align-center">
<!-- preview image -->
Expand All @@ -10,7 +10,7 @@
class="d-flex flex-row justify-center align-center mt-2 px-4"
style="width: 100%"
>
<div class="d-flex flex-row justify-center align-center">Preview Image</div>
<div class="d-flex flex-row justify-center align-center">预览图片</div>
<v-spacer></v-spacer>
<v-icon title="Download" class="iconButton" color="secondary" @click="downloadImage()">
mdi-file-download-outline
Expand Down
22 changes: 11 additions & 11 deletions src/components/WireHider.vue
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<template>
<v-card elevation="1" class="pb-2">
<v-card-header class="flex-column align-center">
<v-card-title> Wire Hider </v-card-title>
<v-card-title> 导线隐藏 </v-card-title>
</v-card-header>
<v-sheet class="mb-2 px-4 d-flex flex-row justify-center">
<select v-model="selectedWireType" class="px-2">
<option value="all">all</option>
<option value="whitewire">white</option>
<option value="redwire">red</option>
<option value="bluewire">blue</option>
<option value="yellowwire">yellow</option>
<option value="greenwire">green</option>
<option value="blackwire">black</option>
<option value="brownall">brown</option>
<option value="all">全部</option>
<option value="whitewire">白色</option>
<option value="redwire">红色</option>
<option value="bluewire">蓝色</option>
<option value="yellowwire">橙色</option>
<option value="greenwire">绿色</option>
<option value="blackwire">黑色</option>
<option value="brownall">棕色</option>
</select>
<v-btn @click="hideWires" variant="outlined" color="secondary" class="mx-2">Hide</v-btn>
<v-btn @click="unhideWires" variant="outlined" color="secondary">Unhide</v-btn>
<v-btn @click="hideWires" variant="outlined" color="secondary" class="mx-2">隐藏</v-btn>
<v-btn @click="unhideWires" variant="outlined" color="secondary">取消隐藏</v-btn>
</v-sheet>
</v-card>
</template>
Expand Down

0 comments on commit 3287232

Please sign in to comment.