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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue