* 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

@@ -558,7 +558,7 @@ class TopPanel {
if (!valid) {
e.target.value = this.editor.selectedElement().getAttribute(attr);
// eslint-disable-next-line no-alert
alert(this.uiStrings.notification.invalidAttrValGiven);
alert(this.i18next.t('notification.invalidAttrValGiven'));
return false;
}
@@ -619,7 +619,7 @@ class TopPanel {
if (!isNullish(this.editor.selectedElement) || this.multiselected) {
// eslint-disable-next-line no-alert
const url = prompt(
this.uiStrings.notification.enterNewLinkURL,
this.i18next.t('notification.enterNewLinkURL'),
"http://"
);
if (url) {