Add isiZulu (zu) launcher translation support

Registers isiZulu as a launcher language with a full table translated
from the English strings.

Co-Authored-By: DeepSeek V4.1 Flash Free <[email protected]>
This commit is contained in:
dontstopgorkingitandDeepSeek V4.1 Flash Free committed 2026-11-03 19:48:53 +01:00
1 parent 0e0ae0bf03
commit 7b24627544
2 files changed
+1068 -1

No files matched your search

File diff suppressed because it is too large. Load diff
+7 -1
View File
@@ -65,10 +65,12 @@ pub enum Language {
Slovak,
#[serde(rename = "lt")]
Lithuanian,
#[serde(rename = "zu")]
Zulu,
}
impl Language {
pub const ALL: [Language; 26] = [
pub const ALL: [Language; 27] = [
Self::English,
Self::French,
Self::Russian,
@@ -95,6 +97,7 @@ impl Language {
Self::Bulgarian,
Self::Slovak,
Self::Lithuanian,
Self::Zulu,
];
/// Its code in `settings.json` and on the command line.
@@ -126,6 +129,7 @@ impl Language {
Self::Bulgarian => "bg",
Self::Slovak => "sk",
Self::Lithuanian => "lt",
Self::Zulu => "zu",
}
}
@@ -158,6 +162,7 @@ impl Language {
Self::Bulgarian => "Български",
Self::Slovak => "Slovenčina",
Self::Lithuanian => "Lietuvių",
Self::Zulu => "isiZulu",
}
}
@@ -232,6 +237,7 @@ impl Language {
Self::Bulgarian => include_str!("../lang/bg.json"),
Self::Slovak => include_str!("../lang/sk.json"),
Self::Lithuanian => include_str!("../lang/lt.json"),
Self::Zulu => include_str!("../lang/zu.json"),
}
}
}