From 36335d3cc4db4ff3cc8145ef1a9f8d3502ff1e5f Mon Sep 17 00:00:00 2001 From: Florian Wathling Date: Sun, 22 Mar 2026 14:09:27 +0100 Subject: [PATCH] feat(i18n): dialog.js Defaults auf t() umstellen --- src/js/dialog.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/dialog.js b/src/js/dialog.js index 26fd8a4..f33d750 100644 --- a/src/js/dialog.js +++ b/src/js/dialog.js @@ -126,7 +126,7 @@ const HellionDialog = { const opts = options || {}; return this._show({ message, - title: opts.title || 'Hinweis', + title: opts.title || t('dialog.default_title'), confirmText: opts.confirmText || 'OK', cancelText: '', type: opts.type || 'info', @@ -144,9 +144,9 @@ const HellionDialog = { const opts = options || {}; return this._show({ message, - title: opts.title || 'Bestätigung', + title: opts.title || t('dialog.confirm_title'), confirmText: opts.confirmText || 'OK', - cancelText: opts.cancelText || 'Abbrechen', + cancelText: opts.cancelText || t('dialog.cancel'), type: opts.type || 'info', isConfirm: true });