1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-15 00:32:47 -04:00

Added Missing i18n Strings (#2398)

* Update hypr-colors.conf

* added i18n strings

* added missing i18n strings

* Update TypographyMotionTab.qml
This commit is contained in:
Youseffo13
2026-05-13 15:23:50 +02:00
committed by GitHub
parent 8f958658dc
commit e6da762870
17 changed files with 79 additions and 69 deletions
+6 -6
View File
@@ -11,8 +11,8 @@ DankModal {
property string confirmTitle: ""
property string confirmMessage: ""
property string confirmButtonText: "Confirm"
property string cancelButtonText: "Cancel"
property string confirmButtonText: I18n.tr("Confirm")
property string cancelButtonText: I18n.tr("Cancel")
property color confirmButtonColor: Theme.primary
property var onConfirm: function () {}
property var onCancel: function () {}
@@ -22,8 +22,8 @@ DankModal {
function show(title, message, onConfirmCallback, onCancelCallback) {
confirmTitle = title || "";
confirmMessage = message || "";
confirmButtonText = "Confirm";
cancelButtonText = "Cancel";
confirmButtonText = I18n.tr("Confirm");
cancelButtonText = I18n.tr("Cancel");
confirmButtonColor = Theme.primary;
onConfirm = onConfirmCallback || (() => {});
onCancel = onCancelCallback || (() => {});
@@ -35,8 +35,8 @@ DankModal {
function showWithOptions(options) {
confirmTitle = options.title || "";
confirmMessage = options.message || "";
confirmButtonText = options.confirmText || "Confirm";
cancelButtonText = options.cancelText || "Cancel";
confirmButtonText = options.confirmText || I18n.tr("Confirm");
cancelButtonText = options.cancelText || I18n.tr("Cancel");
confirmButtonColor = options.confirmColor || Theme.primary;
onConfirm = options.onConfirm || (() => {});
onCancel = options.onCancel || (() => {});