fix(i18n): Review-Findings beheben
- Version in newtab.html auf 2.0.0 aktualisieren
- dialog.js OK-Fallback auf t('dialog.ok') umstellen
- Duplikat-Keys widgets.minimize/close entfernen (widget.* wird genutzt)
This commit is contained in:
+2
-2
@@ -127,7 +127,7 @@ const HellionDialog = {
|
||||
return this._show({
|
||||
message,
|
||||
title: opts.title || t('dialog.default_title'),
|
||||
confirmText: opts.confirmText || 'OK',
|
||||
confirmText: opts.confirmText || t('dialog.ok'),
|
||||
cancelText: '',
|
||||
type: opts.type || 'info',
|
||||
isConfirm: false
|
||||
@@ -145,7 +145,7 @@ const HellionDialog = {
|
||||
return this._show({
|
||||
message,
|
||||
title: opts.title || t('dialog.confirm_title'),
|
||||
confirmText: opts.confirmText || 'OK',
|
||||
confirmText: opts.confirmText || t('dialog.ok'),
|
||||
cancelText: opts.cancelText || t('dialog.cancel'),
|
||||
type: opts.type || 'info',
|
||||
isConfirm: true
|
||||
|
||||
Reference in New Issue
Block a user