1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-14 16:22:46 -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
+1 -1
View File
@@ -373,7 +373,7 @@ Singleton {
if (wifiConnected && currentWifiSSID === pendingConnectionSSID && wifiIP) {
const elapsed = Date.now() - pendingConnectionStartTime;
log.info("Successfully connected to", pendingConnectionSSID, "in", elapsed, "ms");
ToastService.showInfo(`Connected to ${pendingConnectionSSID}`);
ToastService.showInfo(I18n.tr("Connected to %1").arg(pendingConnectionSSID));
if (userPreference === "wifi" || userPreference === "auto") {
setConnectionPriority("wifi");
+1 -1
View File
@@ -342,7 +342,7 @@ Singleton {
log.info("Connected (API v" + apiVersion + ", CLI " + cliVersion + ") -", JSON.stringify(capabilities));
if (apiVersion < expectedApiVersion) {
ToastService.showError("DMS server is outdated (API v" + apiVersion + ", expected v" + expectedApiVersion + ")");
ToastService.showError(I18n.tr("DMS server is outdated (API v%1, expected v%2)").arg(apiVersion).arg(expectedApiVersion));
}
capabilitiesReceived();
+1 -1
View File
@@ -444,7 +444,7 @@ Singleton {
// Night Mode Functions - Simplified
function enableNightMode() {
if (!gammaControlAvailable) {
ToastService.showWarning("Night mode failed: DMS gamma control not available");
ToastService.showWarning(I18n.tr("Night mode failed: DMS gamma control not available"));
return;
}
+2 -2
View File
@@ -108,7 +108,7 @@ Singleton {
if (exitCode === 0) {
configValidationOutput = "";
} else if (hasInitialConnection && configValidationOutput.length > 0) {
ToastService.showError("niri: failed to load config", configValidationOutput, "", "niri-config");
ToastService.showError(I18n.tr("niri: failed to load config"), configValidationOutput, "", "niri-config");
}
}
}
@@ -568,7 +568,7 @@ Singleton {
configReloaded();
if (hasInitialConnection && !suppressConfigToast && !suppressNextConfigToast && !matugenSuppression) {
ToastService.showInfo("niri: config reloaded", "", "", "niri-config");
ToastService.showInfo(I18n.tr("niri: config reloaded"), "", "", "niri-config");
} else if (suppressNextConfigToast) {
suppressNextConfigToast = false;
suppressResetTimer.stop();
+1 -1
View File
@@ -116,7 +116,7 @@ Singleton {
errorOutput = "";
return;
}
ToastService.showError("Hibernate failed", errorOutput);
ToastService.showError(I18n.tr("Hibernate failed"), errorOutput);
errorOutput = "";
}
}