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,
|
let KIRI = self.kiri,
|
||||||
BASE = self.base,
|
BASE = self.base,
|
||||||
|
LANG = KIRI.lang.current,
|
||||||
CAM = KIRI.driver.CAM,
|
CAM = KIRI.driver.CAM,
|
||||||
PRO = CAM.process,
|
PRO = CAM.process,
|
||||||
newPolygon = BASE.newPolygon,
|
newPolygon = BASE.newPolygon,
|
||||||
|
|
@ -61,11 +62,11 @@
|
||||||
if (!isCamMode) {
|
if (!isCamMode) {
|
||||||
func.tabClear();
|
func.tabClear();
|
||||||
func.traceDone();
|
func.traceDone();
|
||||||
UI.label.slice.innerText = 'slice';
|
UI.label.slice.innerText = LANG.slice;
|
||||||
UI.label.preview.innerText = 'preview';
|
UI.label.preview.innerText = LANG.preview;
|
||||||
UI.label.export.innerText = 'export';
|
UI.label.export.innerText = LANG.export;
|
||||||
} else {
|
} else {
|
||||||
UI.label.slice.innerText = 'start';
|
UI.label.slice.innerText = LANG.start;
|
||||||
}
|
}
|
||||||
// do not persist traces across page reloads
|
// do not persist traces across page reloads
|
||||||
func.traceClear();
|
func.traceClear();
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="act-slice" class="lt-menu lt-active">
|
<div id="act-slice" class="lt-menu lt-active">
|
||||||
<i class="fas fa-bars"></i>
|
<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="pop-slice" class="pop-lcol f-row">
|
||||||
<div id="act-preview">
|
<div id="act-preview">
|
||||||
<i class="fas fa-cubes"></i>
|
<i class="fas fa-cubes"></i>
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,6 @@ kiri.lang['de-de'] = {
|
||||||
view: "Ansicht", // left view pop menu
|
view: "Ansicht", // left view pop menu
|
||||||
wire: "Drahtansicht", // left render 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"],
|
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
|
// RIGHT-CLICK CONTEXT MENU
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,9 @@ kiri.lang['en-us'] = {
|
||||||
setup: "setup",
|
setup: "setup",
|
||||||
settings: "settings",
|
settings: "settings",
|
||||||
size: "size",
|
size: "size",
|
||||||
|
slice: "slice",
|
||||||
solid: "solid", // view type pop menu
|
solid: "solid", // view type pop menu
|
||||||
|
start: "start",
|
||||||
tool: "tool",
|
tool: "tool",
|
||||||
tools: "tools", // CAM tool menu button
|
tools: "tools", // CAM tool menu button
|
||||||
top: "top",
|
top: "top",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue