Files
bim_engine/src/locales/en-US.ts
yuding ad19934e19 feat(menu): add cancel translucent option to right-click menu
- Add cancelTranslucent i18n translations (zh-CN: 取消半透明, en-US: Cancel Translucent)
- Add unTranslucentModel() method to Engine layer
- Add unTranslucentModel() proxy to EngineManager
- Add menu item after 'Transparent Selected' (order: 4)
- Update menu item order numbers (5-8)
2026-02-04 15:10:51 +08:00

214 lines
5.9 KiB
TypeScript

import {TranslationDictionary} from './types';
export const enUS: TranslationDictionary = {
common: {
title: 'BimEngine',
description: 'This is a BIM-ENGINE demo.',
openTestDialog: 'Open Test Dialog',
openInfoDialog: 'Open Info Dialog (Wrapped)',
},
toolbar: {
home: 'Home',
measure: 'Measure',
zoomBox: 'Zoom Box',
info: 'Info',
location: 'Location',
setting: 'Settings',
walk: 'Walk',
map: 'Map',
property: 'Property',
fullscreen: 'Fullscreen',
walkPerson: 'Person',
walkBird: 'Bird Eye',
walkMenu: 'Menu',
tree: 'Tree',
section: 'Section',
sectionPlane: 'Plane Section',
sectionAxis: 'Axis Section',
sectionBox: 'Section Box'
},
dialog: {
testTitle: 'Test Dialog',
testContent: '<div style="padding: 10px;">This is a <b>draggable</b> and <b>resizable</b> dialog.<br><br>Try dragging the title bar or resizing from the bottom-right corner.</div>',
},
menu: {
info: 'Info',
home: 'Home',
componentDetail: 'Component Detail',
hideSelected: 'Hide Selected',
transparentSelected: 'Transparent Selected',
cancelTranslucent: 'Cancel Translucent',
isolateSelected: 'Isolate Selected',
hideOthers: 'Hide Others',
transparentOthers: 'Transparent Others',
fitSectionBox: 'Fit Section Box',
showAll: 'Show All',
quickSelect: 'Quick Select',
selectSameType: 'Select Same Type',
selectSameLevel: 'Select Same Level',
selectSameLevelType: 'Select Same Level & Type'
},
tree: {
searchPlaceholder: 'Please enter content to search',
},
constructTree: {
title: 'Construct Tree',
},
tab: {
component: 'Component',
system: 'System',
space: 'Space',
type: 'Type',
major: 'Major',
},
panel: {
property: {
title: 'Component Details',
base: 'Basic Info',
material: 'Material',
advanced: 'Advanced',
tab: {
props: 'Properties',
material: 'Material'
}
},
componentDetail: {
title: 'Component Detail',
noSelection: 'Please select a component first'
}
},
measure: {
btnName: 'Measure',
dialogTitle: 'Measure',
modes: {
clearHeight: 'Clear Height',
clearDistance: 'Clear Distance',
distance: 'Distance',
elevation: 'Elevation',
point: 'Point',
angle: 'Angle',
area: 'Area',
slope: 'Slope',
},
actions: {
expand: 'Expand',
collapse: 'Collapse',
clearAll: 'Clear All',
settings: 'Settings',
},
labels: {
currentMode: 'Mode:',
x: 'X:',
y: 'Y:',
z: 'Z:',
value: {
clearHeight: 'Clear Height:',
clearDistance: 'Clear Distance:',
distance: 'Distance:',
elevation: 'Elevation:',
point: 'Point:',
angle: 'Angle:',
area: 'Area:',
slope: 'Slope:',
}
},
settings: {
title: 'Settings',
unit: 'Unit:',
precision: 'Precision:',
hint: 'Distance, clear distance, clear height and elevation use this unit by default; angle and area use their own units.',
save: 'Save',
cancel: 'Cancel',
}
},
sectionPlane: {
dialogTitle: 'Plane Section',
actions: {
hide: 'Hide',
reverse: 'Reverse',
reset: 'Reset'
}
},
sectionAxis: {
dialogTitle: 'Axis Section',
actions: {
hide: 'Hide',
reverse: 'Reverse',
axisX: 'X',
axisY: 'Y',
axisZ: 'Z'
}
},
sectionBox: {
dialogTitle: 'Section Box',
actions: {
hide: 'Hide',
reverse: 'Reverse',
fitToModel: 'Fit',
reset: 'Reset'
},
axes: {
x: 'X',
y: 'Y',
z: 'Z'
}
},
walkControl: {
speed: 'Speed:',
gravity: 'Gravity',
collision: 'Collision',
characterModel: {
label: 'Construction Worker',
constructionWorker: 'Construction Worker',
officeMale: 'Office Male'
},
walkMode: {
label: 'Walk Mode',
walk: 'Walk',
run: 'Run'
},
exit: 'Exit',
path: {
dialogTitle: 'Path Roaming',
duration: 'Duration',
durationUnit: 's',
loop: 'Loop',
addPoint: 'Add Point',
deleteAll: 'Delete All',
point: 'Point',
play: 'Play',
stop: 'Stop',
noPoints: 'No points yet'
}
},
info: {
dialogTitle: 'Basic Info',
meshCount: 'Mesh Count',
totalTriangles: 'Total Triangles',
totalVertices: 'Total Vertices',
},
aiChat: {
title: 'AI Assistant',
placeholder: 'Ask a question...',
quickPrompt: {
summarize: 'Summarize this model',
explain: 'Explain selected component',
generate: 'Generate report'
},
action: {
new: 'New Chat',
history: 'History',
settings: 'Settings',
close: 'Close'
},
helper: {
newline: 'Shift + Enter for new line',
send: 'Enter to send'
},
thinking: 'Thinking...',
other: 'Other',
otherPlaceholder: 'Enter custom answer',
submit: 'Submit'
}
};