Add Հայերեն (hy) launcher translation support

Registers Հայերեն 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 18:01:57 +01:00
1 parent ea66f0b2d1
commit 09f41157c2
2 files changed
+1044 -1

No files matched your search

File diff suppressed because it is too large. Load diff
+7 -1
View File
@@ -47,10 +47,12 @@ pub enum Language {
Indonesian,
#[serde(rename = "pt")]
Portuguese,
#[serde(rename = "hy")]
Armenian,
}
impl Language {
pub const ALL: [Language; 17] = [
pub const ALL: [Language; 18] = [
Self::English,
Self::French,
Self::Russian,
@@ -68,6 +70,7 @@ impl Language {
Self::Hindi,
Self::Indonesian,
Self::Portuguese,
Self::Armenian,
];
/// Its code in `settings.json` and on the command line.
@@ -90,6 +93,7 @@ impl Language {
Self::Hindi => "hi",
Self::Indonesian => "id",
Self::Portuguese => "pt",
Self::Armenian => "hy",
}
}
@@ -113,6 +117,7 @@ impl Language {
Self::Hindi => "हिन्दी",
Self::Indonesian => "Bahasa Indonesia",
Self::Portuguese => "Português (Portugal)",
Self::Armenian => "Հայերեն",
}
}
@@ -173,6 +178,7 @@ impl Language {
Self::Hindi => include_str!("../lang/hi.json"),
Self::Indonesian => include_str!("../lang/id.json"),
Self::Portuguese => include_str!("../lang/pt.json"),
Self::Armenian => include_str!("../lang/hy.json"),
}
}
}