Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

chore(editor): unify UI language to English

yhh15a85e493959
diff --git a/desktop/src/bt/openBehaviorTree.ts b/desktop/src/bt/openBehaviorTree.ts
index fb55ab06e..432552b06 100644
--- a/desktop/src/bt/openBehaviorTree.ts
+++ b/desktop/src/bt/openBehaviorTree.ts
@@ -19,7 +19,7 @@ export async function openBehaviorTree(path: string): Promise<void> {
BtDocument.openJson(ensureBtIds(JSON.parse(text) as BtDefinition), path);
dockApi.openDocument('behaviortree', 'behaviortree', 'Behavior Tree');
} catch (e) {
- Toasts.push(`无法打开行为树:${String(e)}`, 'error');
+ Toasts.push(`Failed to open behavior tree: ${String(e)}`, 'error');
}
}
@@ -36,10 +36,10 @@ export async function createBehaviorTree(dir: string): Promise<void> {
JSON.stringify({ uuid: crypto.randomUUID(), version: '1.0', type: 'behaviortree', importer: { autoMigrate: true } }, null, 2) + '\n',
);
} catch (e) {
- Toasts.push(`创建行为树失败:${String(e)}`, 'error');
+ Toasts.push(`Failed to create behavior tree: ${String(e)}`, 'error');
return;
}
await ProjectStore.refreshAssets();
- Toasts.push(`已创建行为树:${baseName(rel)}`, 'info');
+ Toasts.push(`Created behavior tree: ${baseName(rel)}`, 'info');
await openBehaviorTree(rel);
}
diff --git a/desktop/src/commands/editorCommands.ts b/desktop/src/commands/editorCommands.ts
index e8b7accaf..231f7961d 100644
--- a/desktop/src/commands/editorCommands.ts
+++ b/desktop/src/commands/editorCommands.ts
@@ -123,7 +123,7 @@ commands.register({
run: () => {
const list = ProjectStore.listAssets('tileset');
if (list.length === 0) {
- Toasts.push('项目里还没有瓦片集 — 在内容浏览器右键一张贴图 → Create Tileset', 'warn');
+ Toasts.push('No tileset in the project yet — right-click a texture in the Content Browser → Create Tileset', 'warn');
return;
}
if (list.length === 1) {
diff --git a/desktop/src/components/TilemapPickerDialog.tsx b/desktop/src/components/TilemapPickerDialog.tsx
index 3d2f99d63..fc8fc29f6 100644
--- a/desktop/src/components/TilemapPickerDialog.tsx
+++ b/desktop/src/components/TilemapPickerDialog.tsx
@@ -29,19 +29,19 @@ export function TilemapPickerDialog() {
};
return (
- <Modal title="新建瓦片地图" onClose={close} width={440}>
+ <Modal title="New Tilemap" onClose={close} width={440}>
<div className="tmpick">
- <p className="tmpick__hint">选择一个瓦片集作为地图的调色板</p>
+ <p className="tmpick__hint">Pick a tileset to use as the map's palette</p>
<input
className="tmpick__search"
- placeholder="搜索瓦片集…"
+ placeholder="Search tilesets…"
value={q}
autoFocus
spellCheck={false}
onChange={(e) => setQ(e.target.value)}
/>
{shown.length === 0 ? (
- <div className="tmpick__empty">没有匹配的瓦片集</div>
+ <div className="tmpick__empty">No matching tilesets</div>
) : (
<div className="tmpick__list">
{shown.map((t) => (
diff --git a/desktop/src/fsm/openStateMachine.ts b/desktop/src/fsm/openStateMachine.ts
index dfbf19150..3bd937b8c 100644
--- a/desktop/src/fsm/openStateMachine.ts
+++ b/desktop/src/fsm/openStateMachine.ts
@@ -21,7 +21,7 @@ export async function openStateMachine(path: string): Promise<void> {
FsmGraphDocument.openJson(JSON.parse(text), path);
dockApi.openDocument('statemachine', 'statemachine', 'State Machine');
} catch (e) {
- Toasts.push(`无法打开状态机:${String(e)}`, 'error');
+ Toasts.push(`Failed to open state machine: ${String(e)}`, 'error');
}
}
@@ -39,10 +39,10 @@ export async function createStateMachine(dir: string): Promise<void> {
JSON.stringify({ uuid: crypto.randomUUID(), version: '1.0', type: 'statemachine', importer: { autoMigrate: true } }, null, 2) + '\n',
);
} catch (e) {
- Toasts.push(`创建状态机失败:${String(e)}`, 'error');
+ Toasts.push(`Failed to create state machine: ${String(e)}`, 'error');
return;
}
await ProjectStore.refreshAssets();
- Toasts.push(`已创建状态机:${baseName(rel)}`, 'info');
+ Toasts.push(`Created state machine: ${baseName(rel)}`, 'info');
await openStateMachine(rel);
}
diff --git a/desktop/src/material/openMaterial.ts b/desktop/src/material/openMaterial.ts
index e6445d5a3..c5a9187d6 100644
--- a/desktop/src/material/openMaterial.ts
+++ b/desktop/src/material/openMaterial.ts
@@ -42,7 +42,7 @@ async function writeMeta(rel: string): Promise<void> {
export async function createMaterial(dir: string, templateId = 'sprite-unlit'): Promise<void> {
const template = builtinShaderTemplate(templateId);
if (!template) {
- Toasts.push(`未知材质模板:${templateId}`, 'error');
+ Toasts.push(`Unknown material template: ${templateId}`, 'error');
return;
}
const folder = dir ? (dir.endsWith('/') ? dir : `${dir}/`) : '';
@@ -66,11 +66,11 @@ export async function createMaterial(dir: string, templateId = 'sprite-unlit'):
await window.estella.fs.write(matRel, JSON.stringify(asset, null, 2) + '\n');
await writeMeta(matRel);
} catch (e) {
- Toasts.push(`创建材质失败:${String(e)}`, 'error');
+ Toasts.push(`Failed to create material: ${String(e)}`, 'error');
return;
}
await ProjectStore.refreshAssets();
- Toasts.push(`已创建材质:${baseName(matRel)}`, 'info');
+ Toasts.push(`Created material: ${baseName(matRel)}`, 'info');
openMaterial(matRel);
}
@@ -92,10 +92,10 @@ export async function createMaterialInstance(parentPath: string): Promise<void>
await window.estella.fs.write(matRel, JSON.stringify(asset, null, 2) + '\n');
await writeMeta(matRel);
} catch (e) {
- Toasts.push(`创建材质实例失败:${String(e)}`, 'error');
+ Toasts.push(`Failed to create material instance: ${String(e)}`, 'error');
return;
}
await ProjectStore.refreshAssets();
- Toasts.push(`已创建材质实例:${baseName(matRel)}`, 'info');
+ Toasts.push(`Created material instance: ${baseName(matRel)}`, 'info');
openMaterial(matRel);
}
diff --git a/desktop/src/material/openMaterialGraph.ts b/desktop/src/material/openMaterialGraph.ts
index 1f47c335d..2f477aeea 100644
--- a/desktop/src/material/openMaterialGraph.ts
+++ b/desktop/src/material/openMaterialGraph.ts
@@ -24,7 +24,7 @@ export async function openMaterialGraph(path: string): Promise<void> {
MaterialGraphDocument.openJson(JSON.parse(text), path);
dockApi.openDocument('materialgraph', 'materialgraph', 'Material Graph');
} catch (e) {
- Toasts.push(`无法打开材质图:${String(e)}`, 'error');
+ Toasts.push(`Failed to open material graph: ${String(e)}`, 'error');
}
}
@@ -37,7 +37,7 @@ export async function saveMaterialGraph(path: string, graph: MaterialGraph): Pro
MaterialGraphDocument.markSaved();
Toasts.push('Material graph saved', 'info', 1400);
} catch (e) {
- Toasts.push(`保存材质图失败:${String(e)}`, 'error');
+ Toasts.push(`Failed to save material graph: ${String(e)}`, 'error');
}
}
@@ -58,10 +58,10 @@ export async function createMaterialGraph(dir: string): Promise<void> {
JSON.stringify({ uuid: crypto.randomUUID(), version: '1.0', type: 'materialgraph', importer: { autoMigrate: true } }, null, 2) + '\n',
);
} catch (e) {
- Toasts.push(`创建材质图失败:${String(e)}`, 'error');
+ Toasts.push(`Failed to create material graph: ${String(e)}`, 'error');
return;
}
await ProjectStore.refreshAssets();
- Toasts.push(`已创建材质图:${baseName(rel)}`, 'info');
+ Toasts.push(`Created material graph: ${baseName(rel)}`, 'info');
await openMaterialGraph(rel);
}
diff --git a/desktop/src/panels/Details.tsx b/desktop/src/panels/Details.tsx
index 58aa781b2..f024bedfc 100644
--- a/desktop/src/panels/Details.tsx
+++ b/desktop/src/panels/Details.tsx
@@ -1515,7 +1515,7 @@ function MaterialAssetInspector({ path }: { path: string }) {
MaterialDocument.markSaved();
Toasts.push('Material saved', 'info', 1400);
} catch (e) {
- Toasts.push(`保存材质失败:${String(e)}`, 'error');
+ Toasts.push(`Failed to save material: ${String(e)}`, 'error');
}
};
@@ -1804,7 +1804,7 @@ function GenericAssetInspector({ path }: { path: string }) {
if (type === 'texture' || type === 'sprite') ProjectStore.applyLiveTextureSettings(path);
Toasts.push('Import settings saved', 'info', 1400);
} catch (e) {
- Toasts.push(`保存导入设置失败:${String(e)}`, 'error');
+ Toasts.push(`Failed to save import settings: ${String(e)}`, 'error');
}
};
diff --git a/desktop/src/panels/Sequencer.tsx b/desktop/src/panels/Sequencer.tsx
index 7f9b4993e..75e0f26c2 100644
--- a/desktop/src/panels/Sequencer.tsx
+++ b/desktop/src/panels/Sequencer.tsx
@@ -34,16 +34,16 @@ import {
// Interpolation choices shown in the keyframe popover (subset of InterpType).
const INTERP_OPTIONS: [InterpType, string][] = [
- [InterpType.Hermite, '自动(平滑)'],
- [InterpType.Linear, '线性'],
- [InterpType.Step, '阶梯(常量)'],
- [InterpType.EaseInOut, '缓入缓出'],
+ [InterpType.Hermite, 'Auto (smooth)'],
+ [InterpType.Linear, 'Linear'],
+ [InterpType.Step, 'Step (constant)'],
+ [InterpType.EaseInOut, 'Ease in-out'],
];
const WRAP_OPTIONS: [WrapMode, string][] = [
- [WrapMode.Once, '单次'],
- [WrapMode.Loop, '循环'],
- [WrapMode.PingPong, '往复'],
+ [WrapMode.Once, 'Once'],
+ [WrapMode.Loop, 'Loop'],
+ [WrapMode.PingPong, 'Ping-pong'],
];
function getNested(obj: unknown, path: string): number {
@@ -85,15 +85,15 @@ function EmptyState() {
return (
<div className="seq-empty">
<Film size={30} strokeWidth={1.3} />
- <div className="seq-empty__title">没有打开的动画</div>
- <div className="seq-empty__hint">新建一段动画,或在内容浏览器双击已有的 .esanim 打开。</div>
+ <div className="seq-empty__title">No animation open</div>
+ <div className="seq-empty__hint">Create a new animation, or double-click an existing .esanim in the Content Browser.</div>
<button type="button" className="seq-btn seq-btn--text on" onClick={() => void createAnimationClip('')}>
- <Plus size={14} /><span>新建动画</span>
+ <Plus size={14} /><span>New animation</span>
</button>
<ol className="seq-empty__steps">
- <li>在场景里选中一个物体,点工具栏「绑定」把预览绑到它</li>
- <li>开「录制」,然后移动/旋转它或改属性 — 关键帧自动记录</li>
- <li>拖动播放头预览,点「保存」写回文件</li>
+ <li>Select an object in the scene, then click Bind in the toolbar to attach the preview to it</li>
+ <li>Turn on Record, then move/rotate it or edit properties — keyframes are recorded automatically</li>
+ <li>Drag the playhead to preview, then click Save to write back to the file</li>
</ol>
</div>
);
@@ -275,58 +275,58 @@ function SequencerBody() {
<div className="seq-bar">
<span className="seq-meta">
<Film size={13} className="seq-meta__icon" />
- <b>{TimelineDocument.meta.filePath?.split('/').pop() ?? '未命名'}</b>
- <span className="seq-meta__dim">· {totalFrames}帧 · {fps}fps · {loop ? '循环' : '单次'}</span>
+ <b>{TimelineDocument.meta.filePath?.split('/').pop() ?? 'Unnamed'}</b>
+ <span className="seq-meta__dim">· {totalFrames} frames · {fps}fps · {loop ? 'Loop' : 'Once'}</span>
</span>
<button
type="button"
className={`seq-btn seq-btn--text${rootName ? ' on' : ''}`}
- title="把预览绑定到当前选中实体"
+ title="Bind preview to the selected entity"
onClick={() => TimelineDocument.setRootEntity(useSelection.getState().selectedId)}
>
- <Link2 size={13} /><span>{rootName ?? '未绑定'}</span>
+ <Link2 size={13} /><span>{rootName ?? 'Unbound'}</span>
</button>
<span className="seq-div" />
<button
type="button"
className={`seq-btn seq-btn--rec${recording ? ' on' : ''}`}
- title="录制:编辑属性自动打帧"
+ title="Record: property edits auto-key"
onClick={() => useSequencerStore.getState().toggleRecording()}
>
<Circle size={12} fill="currentColor" />
</button>
<span className="seq-div" />
- <button type="button" className="seq-btn" title="跳到开头" onClick={() => setTime(0)}><ChevronFirst size={15} /></button>
- <button type="button" className="seq-btn" title="上一关键帧" onClick={() => jumpKey(-1)}><ChevronLeft size={15} /></button>
+ <button type="button" className="seq-btn" title="Jump to start" onClick={() => setTime(0)}><ChevronFirst size={15} /></button>
+ <button type="button" className="seq-btn" title="Previous keyframe" onClick={() => jumpKey(-1)}><ChevronLeft size={15} /></button>
<button
type="button"
className="seq-btn seq-btn--play"
- title="播放 / 暂停(空格)"
+ title="Play / pause (Space)"
onClick={() => useSequencerStore.getState().togglePlay()}
>
{playing ? <Pause size={14} fill="currentColor" /> : <Play size={14} fill="currentColor" />}
</button>
- <button type="button" className="seq-btn" title="下一关键帧" onClick={() => jumpKey(1)}><ChevronRight size={15} /></button>
- <button type="button" className="seq-btn" title="跳到结尾" onClick={() => setTime(duration)}><ChevronLast size={15} /></button>
+ <button type="button" className="seq-btn" title="Next keyframe" onClick={() => jumpKey(1)}><ChevronRight size={15} /></button>
+ <button type="button" className="seq-btn" title="Jump to end" onClick={() => setTime(duration)}><ChevronLast size={15} /></button>
<button
type="button"
className={`seq-btn${loop ? ' on' : ''}`}
- title="循环"
+ title="Loop"
onClick={() => useSequencerStore.getState().toggleLoop()}
>
<Repeat size={14} />
</button>
<span className="seq-div" />
- <span className="seq-frame">帧 <strong>{frame}</strong> / {totalFrames}</span>
+ <span className="seq-frame">Frame <strong>{frame}</strong> / {totalFrames}</span>
<span className="seq-spacer" />
<div className="seq-tabs">
- <button type="button" className={`seq-tab${view === 'sheet' ? ' active' : ''}`} onClick={() => useSequencerStore.getState().setView('sheet')}>摄影表</button>
- <button type="button" className={`seq-tab${view === 'curve' ? ' active' : ''}`} onClick={() => useSequencerStore.getState().setView('curve')}>曲线</button>
+ <button type="button" className={`seq-tab${view === 'sheet' ? ' active' : ''}`} onClick={() => useSequencerStore.getState().setView('sheet')}>Sheet</button>
+ <button type="button" className={`seq-tab${view === 'curve' ? ' active' : ''}`} onClick={() => useSequencerStore.getState().setView('curve')}>Curves</button>
</div>
<button
type="button"
className={`seq-btn${snap ? ' on' : ''}`}
- title="吸附到帧"
+ title="Snap to frame"
onClick={() => useSequencerStore.getState().toggleSnap()}
>
<Magnet size={14} />
@@ -334,7 +334,7 @@ function SequencerBody() {
<button
type="button"
className="seq-btn"
- title="片段设置(时长 / 帧率 / 循环)"
+ title="Clip settings (duration / fps / loop)"
onClick={(e) => setSettingsOpen(popoverAt(e))}
>
<Settings2 size={14} />
@@ -342,26 +342,26 @@ function SequencerBody() {
<button
type="button"
className="seq-btn seq-btn--text"
- title="添加轨道"
+ title="Add track"
disabled={root == null}
onClick={(e) => setPickerOpen(popoverAt(e))}
>
- <Plus size={14} /><span>轨道</span>
+ <Plus size={14} /><span>Track</span>
</button>
<button
type="button"
className={`seq-btn seq-btn--text${TimelineDocument.meta.dirty ? ' on' : ''}`}
- title="保存动画"
+ title="Save animation"
onClick={() => void TimelineCommands.save()}
>
- <Save size={14} /><span>{TimelineDocument.meta.dirty ? '保存*' : '保存'}</span>
+ <Save size={14} /><span>{TimelineDocument.meta.dirty ? 'Save*' : 'Save'}</span>
</button>
</div>
{/* body: track list + timeline */}
<div className="seq-body">
<div className="seq-tracks">
- <div className="seq-track-head">轨道</div>
+ <div className="seq-track-head">Tracks</div>
<div className="seq-rows">
{shown.map((row) => (
<TrackRow
@@ -410,7 +410,7 @@ function SequencerBody() {
key={t}
className={`seq-key${sel ? ' sel' : ''}${isDrag ? ' drag' : ''}`}
style={{ left: `${timeToPct(at, duration)}%` }}
- title={`帧 ${Math.round(at * fps)}`}
+ title={`Frame ${Math.round(at * fps)}`}
onPointerDown={row.ref ? (e) => onKeyPointerDown(e, row.ref!, row.id, t) : undefined}
/>
);
@@ -441,9 +441,9 @@ function SequencerBody() {
<>
<div className="seq-pop-scrim" onPointerDown={() => setPickerOpen(null)} />
<div className="seq-picker" style={{ left: pickerOpen.x, top: pickerOpen.y }}>
- <div className="seq-interp__title">添加轨道</div>
+ <div className="seq-interp__title">Add track</div>
{addTrackItems.length === 0 ? (
- <div className="seq-picker__empty">无可添加的可动画属性</div>
+ <div className="seq-picker__empty">No animatable properties to add</div>
) : (
addTrackItems.map((it) => (
<button
@@ -469,23 +469,23 @@ function SequencerBody() {
<>
<div className="seq-pop-scrim" onPointerDown={() => setSettingsOpen(null)} />
<div className="seq-settings" style={{ left: settingsOpen.x, top: settingsOpen.y }}>
- <div className="seq-interp__title">片段设置</div>
+ <div className="seq-interp__title">Clip settings</div>
<label className="seq-settings__row">
- <span>时长 (秒)</span>
+ <span>Duration (s)</span>
<input
type="number" min={0} step={0.1} defaultValue={duration}
onChange={(e) => TimelineCommands.setDuration(parseFloat(e.target.value) || 0)}
/>
</label>
<label className="seq-settings__row">
- <span>帧率 (fps)</span>
+ <span>Frame rate (fps)</span>
<input
type="number" min={1} step={1} defaultValue={fps}
onChange={(e) => TimelineDocument.setFps(parseInt(e.target.value, 10) || 1)}
/>
</label>
<div className="seq-settings__row">
- <span>循环</span>
+ <span>Loop</span>
<div className="seq-settings__wrap">
{WRAP_OPTIONS.map(([mode, label]) => (
<button
@@ -511,7 +511,7 @@ function SequencerBody() {
items={
[
{
- label: '删除轨道',
+ label: 'Delete track',
onClick: () => {
TimelineCommands.removeChannel(rowCtx.ref);
useSequencerStore.getState().selectKey(null);
@@ -528,7 +528,7 @@ function SequencerBody() {
<>
<div className="seq-pop-scrim" onPointerDown={() => setInterpPopover(null)} />
<div className="seq-interp" style={{ left: interp.x, top: interp.y }}>
- <div className="seq-interp__title">插值</div>
+ <div className="seq-interp__title">Interpolation</div>
{INTERP_OPTIONS.map(([mode, label]) => (
<button
key={mode}
@@ -552,7 +552,7 @@ function SequencerBody() {
setInterpPopover(null);
}}
>
- <Trash2 size={12} /> 删除关键帧
+ <Trash2 size={12} /> Delete keyframe
</button>
</div>
</>
@@ -561,9 +561,9 @@ function SequencerBody() {
{/* status strip */}
<div className="seq-foot">
<span className="seq-foot__dot" />
- <span>{recording ? '● 录制中' : '动画编辑'}</span>
+ <span>{recording ? '● Recording' : 'Animation edit'}</span>
<span className="seq-spacer" />
- <span><strong>{keyCount}</strong> 关键帧 · {trackCount} 轨道</span>
+ <span><strong>{keyCount}</strong> keys · {trackCount} tracks</span>
</div>
</div>
);
@@ -610,7 +610,7 @@ function TrackRow({
<button
type="button"
className="seq-row__btn"
- title="在播放头打关键帧"
+ title="Key at playhead"
onClick={(e) => {
e.stopPropagation();
onAddKey(row.ref!);
@@ -621,7 +621,7 @@ function TrackRow({
<button
type="button"
className={`seq-row__btn${muted ? ' on' : ''}`}
- title={muted ? '取消静音' : '静音轨道'}
+ title={muted ? 'Unmute track' : 'Mute track'}
onClick={(e) => {
e.stopPropagation();
useSequencerStore.getState().toggleMute(muteKey(row.ref!));
diff --git a/desktop/src/panels/TilemapPainter.tsx b/desktop/src/panels/TilemapPainter.tsx
index a45a7b7cb..bd535c783 100644
--- a/desktop/src/panels/TilemapPainter.tsx
+++ b/desktop/src/panels/TilemapPainter.tsx
@@ -22,6 +22,7 @@ import { SceneModel } from '@/engine/SceneModel';
import { SceneCommands } from '@/engine/SceneCommands';
import { ProjectStore } from '@/project/ProjectStore';
import { TILE_TOOL_KEY, exitTilePaint } from '@/tools/tileMode';
+import { MOD_LABEL } from '@/commands/keybinding';
import { buildStampGhost } from '@/tools/tileStampGhost';
function colsFor(width: number, tileW: number, margin: number, spacing: number): number {
@@ -34,14 +35,14 @@ function rowsFor(height: number, tileH: number, margin: number, spacing: number)
}
const TOOLS: { id: PaintTool; icon: typeof Brush; label: string }[] = [
- { id: 'brush', icon: Brush, label: '画笔' },
- { id: 'erase', icon: Eraser, label: '擦除' },
- { id: 'rect', icon: Square, label: '矩形' },
- { id: 'line', icon: Slash, label: '直线' },
- { id: 'bucket', icon: PaintBucket, label: '油漆桶' },
- { id: 'select', icon: BoxSelect, label: '选区 (复制/剪切/粘贴 ⌘C/X/V)' },
- { id: 'eyedropper', icon: Pipette, label: '吸管' },
- { id: 'terrain', icon: Mountain, label: '地形' },
+ { id: 'brush', icon: Brush, label: 'Brush' },
+ { id: 'erase', icon: Eraser, label: 'Eraser' },
+ { id: 'rect', icon: Square, label: 'Rect' },
+ { id: 'line', icon: Slash, label: 'Line' },
+ { id: 'bucket', icon: PaintBucket, label: 'Bucket' },
+ { id: 'select', icon: BoxSelect, label: `Select (${MOD_LABEL}C/X/V copy/cut/paste)` },
+ { id: 'eyedropper', icon: Pipette, label: 'Eyedropper' },
+ { id: 'terrain', icon: Mountain, label: 'Terrain' },
];
const TERRAIN_COLORS = ['#4caf50', '#d6884c', '#4c8fd6', '#b14cd6', '#d6c64c', '#d64c6e'];
@@ -206,8 +207,8 @@ export function TilemapPainter() {
if (!hasTilemap) {
return (
<div className="tp-empty">
- <p>未选择瓦片地图</p>
- <p className="tp-hint">在内容浏览器右键 .estileset → 新建瓦片地图,或在大纲里选中一个瓦片地图实体</p>
+ <p>No tilemap selected</p>
+ <p className="tp-hint">Right-click an .estileset in the Content Browser → Create Tilemap, or select a tilemap entity in the Outliner</p>
</div>
);
}
@@ -303,19 +304,19 @@ export function TilemapPainter() {
{layers.map((L) => (
<span key={L.id} className={'tp-layer' + (L.id === selectedId ? ' is-active' : '')}>
<button
- type="button" className="tp-layer-vis" title={L.hidden ? '显示' : '隐藏'}
+ type="button" className="tp-layer-vis" title={L.hidden ? 'Show' : 'Hide'}
onClick={() => SceneCommands.setEntityVisible(L.id, L.hidden)}
>
{L.hidden ? <EyeOff size={12} /> : <Eye size={12} />}
</button>
<button
- type="button" className="tp-layer-name" title={`绘制到「${L.name}」`}
+ type="button" className="tp-layer-name" title={`Paint on "${L.name}"`}
onClick={() => useSelection.getState().select(L.id)}
>
{L.name}
</button>
<button
- type="button" className="tp-layer-lock" title={L.locked ? '解锁' : '锁定'}
+ type="button" className="tp-layer-lock" title={L.locked ? 'Unlock' : 'Lock'}
onClick={() => SceneCommands.setEntityLocked(L.id, !L.locked)}
>
{L.locked ? <Lock size={11} /> : <Unlock size={11} />}
@@ -328,7 +329,7 @@ export function TilemapPainter() {
<button
type="button"
className={'tp-tool' + (tool === null ? ' is-active' : '')}
- title="选择 / 变换 (Q · Esc 退出绘制)"
+ title="Select / transform (Q · Esc to exit painting)"
onClick={() => exitTilePaint('select')}
>
<MousePointer2 size={15} />
@@ -346,18 +347,18 @@ export function TilemapPainter() {
</button>
))}
<span className="tp-sep" />
- <button type="button" className="tp-tool" title="水平翻转 (H)" onClick={() => flipH()}>
+ <button type="button" className="tp-tool" title="Flip horizontal (H)" onClick={() => flipH()}>
<FlipHorizontal size={15} />
</button>
- <button type="button" className="tp-tool" title="垂直翻转 (V)" onClick={() => flipV()}>
+ <button type="button" className="tp-tool" title="Flip vertical (V)" onClick={() => flipV()}>
<FlipVertical size={15} />
</button>
- <button type="button" className="tp-tool" title="旋转 90° (R)" onClick={() => rotateCW()}>
+ <button type="button" className="tp-tool" title="Rotate 90° (R)" onClick={() => rotateCW()}>
<RotateCw size={15} />
</button>
<span className="tp-grow" />
<span className="tp-brush">
- {tool === 'terrain' ? '地形画笔' : (
+ {tool === 'terrain' ? 'Terrain brush' : (
<>
<BrushThumbnail stamp={stamp} atlas={localAtlas} />
{stamp.w}×{stamp.h}
@@ -374,23 +375,23 @@ export function TilemapPainter() {
title={`${ts.path} (gid ${ts.firstId}+)`}
>
<button type="button" className="tp-tsbtn" onClick={() => setActiveTileset(i)}>
- {ts.path.split(/[\\/]/).pop()?.replace(/\.estileset$/, '') ?? `瓦片集 ${i + 1}`}
+ {ts.path.split(/[\\/]/).pop()?.replace(/\.estileset$/, '') ?? `Tileset ${i + 1}`}
</button>
{tilesets.length > 1 && (
- <button type="button" className="tp-tsx" title="移除图集" onClick={() => removeTilesetAt(i)}>
+ <button type="button" className="tp-tsx" title="Remove tileset" onClick={() => removeTilesetAt(i)}>
<X size={11} />
</button>
)}
</span>
))}
<div className="tp-tsadd-wrap" onPointerDown={(e) => e.stopPropagation()}>
- <button type="button" className="tp-tsadd" title="添加图集" onClick={() => setAddOpen((o) => !o)}>
+ <button type="button" className="tp-tsadd" title="Add tileset" onClick={() => setAddOpen((o) => !o)}>
<Plus size={13} />
</button>
{addOpen && (
<div className="tp-tsmenu">
{addable.length === 0 ? (
- <div className="tp-tsmenu-empty">没有可添加的瓦片集</div>
+ <div className="tp-tsmenu-empty">No tilesets to add</div>
) : (
addable.map((a) => (
<button key={a.ref} type="button" className="tp-tsmenu-item" onClick={() => addTileset(a.ref)}>
@@ -406,7 +407,7 @@ export function TilemapPainter() {
{tool === 'terrain' ? (
<div className="tp-terrains">
{(asset?.terrains ?? []).length === 0 ? (
- <div className="tp-warn">没有地形(在瓦片集编辑器的「地形」模式里新建并标记瓦片)</div>
+ <div className="tp-warn">No terrains (create and tag tiles in the Tileset Editor's Terrain mode)</div>
) : (
(asset?.terrains ?? []).map((t, i) => (
<button
@@ -425,21 +426,21 @@ export function TilemapPainter() {
<>
{texUrl && (
<div className="tp-palbar">
- <button type="button" className="tp-zbtn" title="缩小" onClick={() => setZoom((z) => clamp(z / 1.25, 0.25, 8))}>
+ <button type="button" className="tp-zbtn" title="Zoom out" onClick={() => setZoom((z) => clamp(z / 1.25, 0.25, 8))}>
<ZoomOut size={13} />
</button>
<span className="tp-zpct">{Math.round(zoom * 100)}%</span>
- <button type="button" className="tp-zbtn" title="放大" onClick={() => setZoom((z) => clamp(z * 1.25, 0.25, 8))}>
+ <button type="button" className="tp-zbtn" title="Zoom in" onClick={() => setZoom((z) => clamp(z * 1.25, 0.25, 8))}>
<ZoomIn size={13} />
</button>
- <button type="button" className="tp-zbtn" title="适应宽度" onClick={fitZoom}>
+ <button type="button" className="tp-zbtn" title="Fit width" onClick={fitZoom}>
<Maximize2 size={13} />
</button>
</div>
)}
<div className="tp-palette" ref={paletteRef} onPointerUp={endDrag} onPointerLeave={endDrag}>
{!texUrl ? (
- <div className="tp-warn">没有调色板(瓦片地图未引用 .estileset)</div>
+ <div className="tp-warn">No palette (the tilemap references no .estileset)</div>
) : (
<div className="tp-atlas-sizer" style={{ width: (natural?.w ?? 0) * zoom, height: (natural?.h ?? 0) * zoom }}>
<div
diff --git a/desktop/src/panels/TilesetEditor.tsx b/desktop/src/panels/TilesetEditor.tsx
index 23c901778..12c91b93d 100644
--- a/desktop/src/panels/TilesetEditor.tsx
+++ b/desktop/src/panels/TilesetEditor.tsx
@@ -104,10 +104,10 @@ function PolygonEditor(props: {
<div className="ts-pe-backdrop" onPointerDown={(e) => { if (e.target === e.currentTarget) onClose(); }}>
<div className="ts-pe">
<div className="ts-pe-head">
- <span>碰撞多边形 · #{tileId}</span>
+ <span>Collision polygon · #{tileId}</span>
<span className="ts-grow" />
- <button type="button" onClick={() => commit([])}>清除</button>
- <button type="button" onClick={onClose}>完成</button>
+ <button type="button" onClick={() => commit([])}>Clear</button>
+ <button type="button" onClick={onClose}>Done</button>
</div>
<div
className="ts-pe-stage"
@@ -131,7 +131,7 @@ function PolygonEditor(props: {
))}
</svg>
</div>
- <div className="ts-pe-hint">点击添加顶点 · 点顶点删除 · ≥3 点生效</div>
+ <div className="ts-pe-hint">Click to add a vertex · click a vertex to delete · takes effect at ≥3 points</div>
</div>
</div>
);
@@ -162,8 +162,8 @@ export function TilesetEditor() {
if (!asset) {
return (
<div className="ts-empty">
- <p>没有打开的瓦片集</p>
- <p className="ts-hint">在内容浏览器里双击 .estileset,或右键纹理 → 新建瓦片集</p>
+ <p>No tileset open</p>
+ <p className="ts-hint">Double-click an .estileset in the Content Browser, or right-click a texture → Create Tileset</p>
</div>
);
}
@@ -220,7 +220,7 @@ export function TilesetEditor() {
key={id}
className={'ts-cell ts-pcell' + (hasPolygon(id) ? ' is-poly' : '')}
style={{ left, top, width: w, height: h }}
- title={`#${id} — 点击编辑碰撞多边形`}
+ title={`#${id} — click to edit collision polygon`}
onPointerDown={(e) => { e.preventDefault(); setPolyTile(id); }}
/>,
);
@@ -257,7 +257,7 @@ export function TilesetEditor() {
>
<button
type="button" className="ts-zone ts-zone-c"
- title="该瓦片属于此地形"
+ title="Tile belongs to this terrain"
onClick={() => toggleMember(id)}
/>
{showZones && terrain && ZONES.filter((z) => terrain.mode === 'corner' || !z.corner).map((z) => {
@@ -290,13 +290,13 @@ export function TilesetEditor() {
<GridField label="Spacing" value={sp} onCommit={(n) => editGrid({ spacing: n })} />
<span className="ts-sep" />
<div className="ts-modes">
- <button type="button" className={mode === 'collision' ? 'is-active' : ''} onClick={() => setMode('collision')}>碰撞</button>
- <button type="button" className={mode === 'terrain' ? 'is-active' : ''} onClick={() => setMode('terrain')}>地形</button>
+ <button type="button" className={mode === 'collision' ? 'is-active' : ''} onClick={() => setMode('collision')}>Collision</button>
+ <button type="button" className={mode === 'terrain' ? 'is-active' : ''} onClick={() => setMode('terrain')}>Terrain</button>
</div>
{mode === 'collision' && (
<div className="ts-modes">
- <button type="button" className={shape === 'box' ? 'is-active' : ''} onClick={() => setShape('box')}>盒</button>
- <button type="button" className={shape === 'polygon' ? 'is-active' : ''} onClick={() => setShape('polygon')}>多边形</button>
+ <button type="button" className={shape === 'box' ? 'is-active' : ''} onClick={() => setShape('box')}>Box</button>
+ <button type="button" className={shape === 'polygon' ? 'is-active' : ''} onClick={() => setShape('polygon')}>Polygon</button>
</div>
)}
<span className="ts-sep" />
@@ -310,7 +310,7 @@ export function TilesetEditor() {
{cols}×{rows}{mode === 'collision' ? ` · ${solidCount} solid` : ''}
</span>
<button type="button" className="ts-save" onClick={() => void TilesetCommands.save()} disabled={!meta.dirty}>
- <Save size={13} /> 保存{meta.dirty ? ' •' : ''}
+ <Save size={13} /> Save{meta.dirty ? ' •' : ''}
</button>
</div>
@@ -325,10 +325,10 @@ export function TilesetEditor() {
>
<span className="ts-tswatch" style={{ background: TERRAIN_COLORS[i % TERRAIN_COLORS.length] }} />
{t.name}
- <span className="ts-tmode">{t.mode === 'corner' ? '角' : '边'}</span>
+ <span className="ts-tmode">{t.mode === 'corner' ? 'Corner' : 'Edge'}</span>
</button>
))}
- <button type="button" className="ts-terrain ts-add" title="新建地形"
+ <button type="button" className="ts-terrain ts-add" title="New terrain"
onClick={() => { TilesetCommands.addTerrain('', 'edge'); setActiveSet(terrains.length); setMode('terrain'); }}>
<Plus size={13} />
</button>
@@ -342,10 +342,10 @@ export function TilesetEditor() {
value={terrain.mode}
onChange={(e) => TilesetCommands.updateTerrain(activeSet, { mode: e.target.value as TerrainMode })}
>
- <option value="edge">边 (4-bit)</option>
- <option value="corner">角 (blob)</option>
+ <option value="edge">Edge (4-bit)</option>
+ <option value="corner">Corner (blob)</option>
</select>
- <button type="button" className="ts-trm" title="删除地形"
+ <button type="button" className="ts-trm" title="Delete terrain"
onClick={() => { TilesetCommands.removeTerrain(activeSet); setActiveSet(0); }}>
<Trash2 size={13} />
</button>
@@ -357,7 +357,7 @@ export function TilesetEditor() {
<div className="ts-canvas" onPointerUp={mode === 'collision' ? commitDrag : undefined}
onPointerLeave={mode === 'collision' ? commitDrag : undefined}>
{!texUrl ? (
- <div className="ts-warn">纹理未找到(引用 {String(asset.texture) || '空'})</div>
+ <div className="ts-warn">Texture not found (ref {String(asset.texture) || 'empty'})</div>
) : (
<div className="ts-stage" style={{ width: (natural?.w ?? 0) * zoom, height: (natural?.h ?? 0) * zoom }}>
<img
diff --git a/desktop/src/panels/Viewport.tsx b/desktop/src/panels/Viewport.tsx
index c308251a1..ff86a93b9 100644
--- a/desktop/src/panels/Viewport.tsx
+++ b/desktop/src/panels/Viewport.tsx
@@ -13,6 +13,7 @@ import { exitTilePaint, isTilePaintMode, selectedTilemapCellSize } from '@/tools
import { buildStampGhost } from '@/tools/tileStampGhost';
import { TilemapAPI, tileIdOf } from 'esengine';
import { commands } from '@/commands';
+import { MOD_LABEL } from '@/commands/keybinding';
import { EngineHost } from '@/engine/EngineHost';
import { PlayRealm } from '@/engine/PlayRealm';
import { ViewportController } from '@/engine/ViewportController';
@@ -211,20 +212,20 @@ const TOOL_HINT: Record<ToolMode, string> = {
// Hint shown while painting a tilemap — replaces TOOL_HINT so the viewport speaks the
// paint vocabulary (and always points at Q/Esc as the way back to select/transform).
const TILE_HINT: Record<PaintTool, string> = {
- brush: '拖动绘制 · H/V 翻转 · R 旋转笔刷 · I 吸管 · Q/Esc 退出',
- erase: '拖动擦除(按笔刷大小) · Q/Esc 退出',
- rect: '拖出矩形填充 · Q/Esc 退出',
- line: '拖出直线 · Q/Esc 退出',
- bucket: '点击油漆桶填充连通区域 · Q/Esc 退出',
- select: '框选 · ⌘C/X 复制/剪切 · Del 清除 · ⌘V 粘贴为笔刷 · Q/Esc 退出',
- eyedropper: '点击拾取瓦片到笔刷 · Q/Esc 退出',
- terrain: '拖动绘制地形(自动过渡) · Q/Esc 退出',
+ brush: 'Drag to paint · H/V flips · R rotates the brush · I eyedropper · Q/Esc exits',
+ erase: 'Drag to erase (brush-sized) · Q/Esc exits',
+ rect: 'Drag a rectangle to fill · Q/Esc exits',
+ line: 'Drag a straight line · Q/Esc exits',
+ bucket: 'Click to fill the connected region · Q/Esc exits',
+ select: `Box-select · ${MOD_LABEL}C/X copies/cuts · Del clears · ${MOD_LABEL}V pastes as brush · Q/Esc exits`,
+ eyedropper: 'Click to pick a tile into the brush · Q/Esc exits',
+ terrain: 'Drag to paint terrain (auto-transitions) · Q/Esc exits',
};
// Label for the mode badge — the paint tool's short name.
const TILE_TOOL_LABEL: Record<PaintTool, string> = {
- brush: '画笔', erase: '擦除', rect: '矩形', line: '直线',
- bucket: '油漆桶', select: '选区', eyedropper: '吸管', terrain: '地形',
+ brush: 'Brush', erase: 'Erase', rect: 'Rect', line: 'Line',
+ bucket: 'Bucket', select: 'Select', eyedropper: 'Eyedropper', terrain: 'Terrain',
};
function OvTool({
@@ -1360,7 +1361,7 @@ export function Viewport() {
{perfVisible && <Perf id="viewport.perfhud"><PerfOverlay /></Perf>}
{inTilePaint && paintTool && (
- <div className="viewport__tileflag">◧ 瓦片绘制 · {TILE_TOOL_LABEL[paintTool]}</div>
+ <div className="viewport__tileflag">◧ Tile paint · {TILE_TOOL_LABEL[paintTool]}</div>
)}
{isPlaying && <div className="viewport__playflag">● PLAY</div>}
</div>
diff --git a/desktop/src/tilemap/createTilemap.ts b/desktop/src/tilemap/createTilemap.ts
index 622d1c6f6..51706dab3 100644
--- a/desktop/src/tilemap/createTilemap.ts
+++ b/desktop/src/tilemap/createTilemap.ts
@@ -19,14 +19,14 @@ import { Toasts } from '@/store/Toasts';
export async function createTilemapFromTileset(tilesetPath: string): Promise<void> {
const tilesetRef = ProjectStore.assetRef(tilesetPath); // .estileset → @uuid
if (!tilesetRef) {
- Toasts.push('该瓦片集未被项目追踪', 'error');
+ Toasts.push('Tileset is not tracked by the project', 'error');
return;
}
let asset;
try {
asset = parseTileset(JSON.parse(await window.estella.fs.read(tilesetPath)));
} catch (e) {
- Toasts.push(`读取瓦片集失败:${String(e)}`, 'error');
+ Toasts.push(`Failed to read tileset: ${String(e)}`, 'error');
return;
}
@@ -55,5 +55,5 @@ export async function createTilemapFromTileset(tilesetPath: string): Promise<voi
// The painter is a palette companion to viewport painting — dock it to the side
// so the Viewport stays visible (a center tab would hide what you paint on).
dockApi.openSidePanel('tilemap', 'tilemap', 'Tilemap', 'left', 300);
- Toasts.push('已创建瓦片地图 — 选择刷子在视口绘制', 'info');
+ Toasts.push('Created tilemap — pick a brush to paint in the viewport', 'info');
}
diff --git a/desktop/src/tileset/TilesetCommands.ts b/desktop/src/tileset/TilesetCommands.ts
index 0412d9d1c..859fa9f1d 100644
--- a/desktop/src/tileset/TilesetCommands.ts
+++ b/desktop/src/tileset/TilesetCommands.ts
@@ -124,9 +124,9 @@ export const TilesetCommands = {
try {
await window.estella.fs.write(path, JSON.stringify(serializeTileset(asset), null, 2) + '\n');
TilesetDocument.markSaved();
- Toasts.push('已保存瓦片集', 'info');
+ Toasts.push('Tileset saved', 'info');
} catch (e) {
- Toasts.push(`保存瓦片集失败:${String(e)}`, 'error');
+ Toasts.push(`Failed to save tileset: ${String(e)}`, 'error');
}
},
};
diff --git a/desktop/src/tileset/openTileset.ts b/desktop/src/tileset/openTileset.ts
index e2dcce870..5f6c5c3fb 100644
--- a/desktop/src/tileset/openTileset.ts
+++ b/desktop/src/tileset/openTileset.ts
@@ -21,7 +21,7 @@ export async function openTileset(path: string): Promise<void> {
TilesetDocument.openJson(JSON.parse(text), path);
dockApi.openDocument('tileset', 'tileset', 'Tileset');
} catch (e) {
- Toasts.push(`无法打开瓦片集:${String(e)}`, 'error');
+ Toasts.push(`Failed to open tileset: ${String(e)}`, 'error');
}
}
@@ -29,7 +29,7 @@ export async function openTileset(path: string): Promise<void> {
export async function createTilesetFromTexture(texturePath: string): Promise<void> {
const ref = ProjectStore.assetRef(texturePath);
if (!ref) {
- Toasts.push('该纹理未被项目追踪,无法创建瓦片集', 'error');
+ Toasts.push('Texture is not tracked by the project — cannot create tileset', 'error');
return;
}
const dir = texturePath.includes('/') ? texturePath.slice(0, texturePath.lastIndexOf('/') + 1) : '';
@@ -46,10 +46,10 @@ export async function createTilesetFromTexture(texturePath: string): Promise<voi
JSON.stringify({ uuid, version: '1.0', type: 'tileset', importer: { autoMigrate: true } }, null, 2) + '\n',
);
} catch (e) {
- Toasts.push(`创建瓦片集失败:${String(e)}`, 'error');
+ Toasts.push(`Failed to create tileset: ${String(e)}`, 'error');
return;
}
await ProjectStore.refreshAssets(); // re-scan so the new tileset is tracked
- Toasts.push(`已创建瓦片集:${rel.split('/').pop()}`, 'info');
+ Toasts.push(`Created tileset: ${rel.split('/').pop()}`, 'info');
await openTileset(rel);
}
diff --git a/desktop/src/timeline/TimelineCommands.ts b/desktop/src/timeline/TimelineCommands.ts
index 99ce8616e..a7f0ca02a 100644
--- a/desktop/src/timeline/TimelineCommands.ts
+++ b/desktop/src/timeline/TimelineCommands.ts
@@ -165,15 +165,15 @@ class TimelineCommandsImpl {
const { filePath } = TimelineDocument.meta;
if (!asset) return;
if (!filePath) {
- Toasts.push('动画未关联文件(示例片段无法保存)', 'error');
+ Toasts.push('Animation has no file (sample clips cannot be saved)', 'error');
return;
}
try {
await window.estella.fs.write(filePath, serializeTimelineToJson(asset) + '\n');
TimelineDocument.markSaved();
- Toasts.push('动画已保存', 'success', 1500);
+ Toasts.push('Animation saved', 'success', 1500);
} catch (e) {
- Toasts.push(`保存失败:${String(e)}`, 'error');
+ Toasts.push(`Failed to save: ${String(e)}`, 'error');
}
}
}
diff --git a/desktop/src/timeline/openClip.ts b/desktop/src/timeline/openClip.ts
index 33385e003..950ef2a59 100644
--- a/desktop/src/timeline/openClip.ts
+++ b/desktop/src/timeline/openClip.ts
@@ -29,7 +29,7 @@ export async function openAnimationClip(path: string): Promise<void> {
useSequencerStore.getState().resetForClip();
dockApi.revealAndExpand('sequencer');
} catch (e) {
- Toasts.push(`无法打开动画:${String(e)}`, 'error');
+ Toasts.push(`Failed to open animation: ${String(e)}`, 'error');
}
}
@@ -49,10 +49,10 @@ export async function createAnimationClip(dir: string): Promise<void> {
JSON.stringify({ uuid: crypto.randomUUID(), version: '1.0', type: 'animation', importer: { autoMigrate: true } }, null, 2) + '\n',
);
} catch (e) {
- Toasts.push(`创建动画失败:${String(e)}`, 'error');
+ Toasts.push(`Failed to create animation: ${String(e)}`, 'error');
return;
}
await ProjectStore.refreshAssets();
- Toasts.push(`已创建动画:${baseName(rel)}`, 'info');
+ Toasts.push(`Created animation: ${baseName(rel)}`, 'info');
await openAnimationClip(rel);
}
diff --git a/desktop/src/timeline/timelineView.ts b/desktop/src/timeline/timelineView.ts
index 782c83f51..3d6a13104 100644
--- a/desktop/src/timeline/timelineView.ts
+++ b/desktop/src/timeline/timelineView.ts
@@ -140,7 +140,7 @@ export function buildTimelineRows(asset: TimelineAsset | null): SeqRow[] {
rows.push({
id: entityKey,
kind: 'entity',
- label: childPath || '根实体',
+ label: childPath || 'Root entity',
depth: 0,
groupKey: entityKey,
parentGroups: [],
diff --git a/desktop/src/tools/tileTools.ts b/desktop/src/tools/tileTools.ts
index 83a955110..1f2b3ac75 100644
--- a/desktop/src/tools/tileTools.ts
+++ b/desktop/src/tools/tileTools.ts
@@ -331,7 +331,7 @@ const bucketTool: EditorTool = {
}
}
if (edits.length > 0) SceneCommands.paintTiles(selId, edits);
- if (capped) Toasts.push(`油漆桶到达 ${BUCKET_CAP} 格上限,已部分填充`, 'warn');
+ if (capped) Toasts.push(`Bucket fill hit the ${BUCKET_CAP}-cell cap — filled partially`, 'warn');
return false; // one-shot, no drag
},
onPointerMove() {},
diff --git a/desktop/src/tools/transformTools.ts b/desktop/src/tools/transformTools.ts
index b9523c93f..e9e7240d6 100644
--- a/desktop/src/tools/transformTools.ts
+++ b/desktop/src/tools/transformTools.ts
@@ -119,7 +119,7 @@ function captureTargets(ids: readonly EntityId[], kind: Kind = 'move'): Target[]
// One hint per burst of drags, not per pointer-down.
if (Date.now() - flowHintAt > 4000) {
flowHintAt = Date.now();
- Toasts.push('流式布局(Relative)节点由布局定位,已跳过拖拽 — 将 position 改为 Absolute 可自由拖动', 'info');
+ Toasts.push('Flow-layout (Relative) nodes are positioned by layout — drag skipped. Set position to Absolute to move freely.', 'info');
}
}
}