画布部分语言适配

This commit is contained in:
李志鹏
2025-10-10 13:44:44 +08:00
parent 251d1a6951
commit 1a17e70e1a
4 changed files with 2844 additions and 2842 deletions

View File

@@ -145,10 +145,10 @@
</div>
<div class="dialog-buttons">
<button class="cancel-btn" @click="cancelFeather">
{{ $t("取消") }}
{{ $t("Canvas.close") }}
</button>
<button class="confirm-btn" @click="applyFeather">
{{ $t("确认") }}
{{ $t("Canvas.confirmEdit") }}
</button>
</div>
</div>
@@ -159,7 +159,7 @@
<div v-if="showColorPicker" class="dialog-overlay">
<div class="dialog-container">
<div class="dialog-header">
<h3>{{ $t("选择填充颜色") }}</h3>
<h3>{{ $t("Canvas.SelectFillColor") }}</h3>
<button class="close-dialog-btn" @click="cancelColorPicker">
×
</button>
@@ -168,10 +168,10 @@
<input type="color" v-model="fillColor" class="color-picker" />
<div class="dialog-buttons">
<button class="cancel-btn" @click="cancelColorPicker">
{{ $t("取消") }}
{{ $t("Canvas.close") }}
</button>
<button class="confirm-btn" @click="confirmColorPicker">
{{ $t("确认") }}
{{ $t("Canvas.confirmEdit") }}
</button>
</div>
</div>

View File

@@ -770,7 +770,7 @@ export class ToolManager {
title,
content,
okText: this.t("Canvas.ConfirmRasterization"),
cancelText: "取消",
cancelText: this.t("Canvas.close"),
centered: true,
icon: h("span", { style: "color: #faad14;" }, "⚠️"),
onOk: () => {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff