fix lang slice/preview overrides. add slice and start verbs
This commit is contained in:
parent
8cb7e67f01
commit
3faa4a1a81
4 changed files with 8 additions and 6 deletions
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
let KIRI = self.kiri,
|
||||
BASE = self.base,
|
||||
LANG = KIRI.lang.current,
|
||||
CAM = KIRI.driver.CAM,
|
||||
PRO = CAM.process,
|
||||
newPolygon = BASE.newPolygon,
|
||||
|
|
@ -61,11 +62,11 @@
|
|||
if (!isCamMode) {
|
||||
func.tabClear();
|
||||
func.traceDone();
|
||||
UI.label.slice.innerText = 'slice';
|
||||
UI.label.preview.innerText = 'preview';
|
||||
UI.label.export.innerText = 'export';
|
||||
UI.label.slice.innerText = LANG.slice;
|
||||
UI.label.preview.innerText = LANG.preview;
|
||||
UI.label.export.innerText = LANG.export;
|
||||
} else {
|
||||
UI.label.slice.innerText = 'start';
|
||||
UI.label.slice.innerText = LANG.start;
|
||||
}
|
||||
// do not persist traces across page reloads
|
||||
func.traceClear();
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@
|
|||
</div>
|
||||
<div id="act-slice" class="lt-menu lt-active">
|
||||
<i class="fas fa-bars"></i>
|
||||
<label id="label-slice" title="analyze parts">slice</label>
|
||||
<label id="label-slice" title="analyze parts" lk="slice">slice</label>
|
||||
<div id="pop-slice" class="pop-lcol f-row">
|
||||
<div id="act-preview">
|
||||
<i class="fas fa-cubes"></i>
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@ kiri.lang['de-de'] = {
|
|||
view: "Ansicht", // left view pop menu
|
||||
wire: "Drahtansicht", // left render pop menu
|
||||
|
||||
acct_xpo: ["make a backup of your device","and device profiles with the","option to include workspace","objects and positions"],
|
||||
acct_xpo: ["Lege ein Backup Deiner Geräte","und Geräte-Profile an, mit der","Option, den Arbeitsbereich und","mit Objekten und Anordnung zu speichern"],
|
||||
|
||||
// RIGHT-CLICK CONTEXT MENU
|
||||
|
|
|
|||
|
|
@ -34,7 +34,9 @@ kiri.lang['en-us'] = {
|
|||
setup: "setup",
|
||||
settings: "settings",
|
||||
size: "size",
|
||||
slice: "slice",
|
||||
solid: "solid", // view type pop menu
|
||||
start: "start",
|
||||
tool: "tool",
|
||||
tools: "tools", // CAM tool menu button
|
||||
top: "top",
|
||||
|
|
|
|||
Loading…
Reference in a new issue