i18n: even more things appeared

This commit is contained in:
Ly-sec
2025-09-24 15:31:11 +02:00
parent 24cb5823ee
commit 5de4330199
25 changed files with 402 additions and 298 deletions
+3 -3
View File
@@ -38,10 +38,10 @@ ColumnLayout {
if (exitCode === 0) {
Settings.data.nightLight.enabled = true
NightLightService.apply()
ToastService.showNotice("Night light", "Enabled")
ToastService.showNotice(I18n.tr("settings.display.night-light.section.label"), I18n.tr("toast.night-light.enabled"))
} else {
Settings.data.nightLight.enabled = false
ToastService.showWarning("Night light", "wlsunset not installed")
ToastService.showWarning(I18n.tr("settings.display.night-light.section.label"), I18n.tr("toast.night-light.not-installed"))
}
}
@@ -234,7 +234,7 @@ ColumnLayout {
Settings.data.nightLight.enabled = false
Settings.data.nightLight.forced = false
NightLightService.apply()
ToastService.showNotice("Night light", "Disabled")
ToastService.showNotice(I18n.tr("settings.display.night-light.section.label"), I18n.tr("toast.night-light.disabled"))
}
}
}