1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-01 19:18:28 -04:00

i18n: term overhaul

- Delete ~160-ish useless terms
- Add context to more terms
- Add a mechanism to duplicate the same terms with different contexts
- sync
This commit is contained in:
bbedward
2026-07-16 12:15:20 -04:00
parent 6c45413d7a
commit 3c0f2cbc48
83 changed files with 19570 additions and 20947 deletions
@@ -1518,7 +1518,7 @@ Singleton {
}
function showHyprlandReadOnlyWarning() {
ToastService.showWarning(I18n.tr("Hyprland conf mode"), I18n.tr("This install is still using hyprland.conf. Run dms setup to migrate before editing display settings."), "dms setup", "display-config");
ToastService.showWarning(I18n.tr("Hyprland conf mode"), I18n.tr("This install is still using hyprland.conf. Run dms setup to migrate before changing these settings."), "dms setup", "display-config");
}
function buildOutputsMap() {
@@ -2639,7 +2639,7 @@ Singleton {
function getTransformLabel(transform) {
switch (transform) {
case "Normal":
return I18n.tr("Normal");
return I18n.tr("Normal", "display rotation option", true);
case "90":
return I18n.tr("90°");
case "180":
@@ -2655,12 +2655,12 @@ Singleton {
case "Flipped270":
return I18n.tr("Flipped 270°");
default:
return I18n.tr("Normal");
return I18n.tr("Normal", "display rotation option", true);
}
}
function getTransformValue(label) {
if (label === I18n.tr("Normal"))
if (label === I18n.tr("Normal", "display rotation option", true))
return "Normal";
if (label === I18n.tr("90°"))
return "90";