* update dependencies

* Update .eslintrc.js

* Update .gitignore

* Create onpush.yml

* downgrade 2 packages causing test failure

* fix some localizaiton strings
This commit is contained in:
JFH
2021-05-09 22:36:50 +02:00
committed by GitHub
parent c75170916f
commit af3d807505
4 changed files with 16 additions and 16 deletions

View File

@@ -219,7 +219,7 @@ class LayersPanel {
} while (this.editor.svgCanvas.getCurrentDrawing().hasLayer(uniqName));
const newName = prompt(
this.uiStrings.notification.enterUniqueLayerName,
this.i18next.t('notification.enterUniqueLayerName'),
uniqName
);
if (!newName) {
@@ -263,7 +263,7 @@ class LayersPanel {
this.editor.svgCanvas.getCurrentDrawing().getCurrentLayerName() + " copy";
const newName = prompt(
this.uiStrings.notification.enterUniqueLayerName,
this.i18next.t('notification.enterUniqueLayerName'),
name
);
if (!newName) {
@@ -331,7 +331,7 @@ class LayersPanel {
oldName === newName ||
this.editor.svgCanvas.getCurrentDrawing().hasLayer(newName)
) {
alert(this.uiStrings.notification.layerHasThatName);
alert(this.i18next.t('notification.layerHasThatName'));
return;
}
this.editor.svgCanvas.renameCurrentLayer(newName);