diff options
| author | Markus Langgeng Iman Saputra <markus.langgeng4@gmail.com> | 2025-04-04 15:50:13 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-04 15:50:13 +0000 |
| commit | ea336a6ac71ba9d84da6caa5d64291c87b0bca44 (patch) | |
| tree | 8c647ef396a6f190dc9747fe00630b752273e178 /crates/typst-library/src/text | |
| parent | 387a8b48951b0e7e283c81557852e3eba3afb446 (diff) | |
Add Indonesian translation (#6108)
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
Diffstat (limited to 'crates/typst-library/src/text')
| -rw-r--r-- | crates/typst-library/src/text/lang.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/typst-library/src/text/lang.rs b/crates/typst-library/src/text/lang.rs index c75e5225..2cc66a26 100644 --- a/crates/typst-library/src/text/lang.rs +++ b/crates/typst-library/src/text/lang.rs @@ -14,7 +14,7 @@ macro_rules! translation { }; } -const TRANSLATIONS: [(&str, &str); 38] = [ +const TRANSLATIONS: [(&str, &str); 39] = [ translation!("ar"), translation!("bg"), translation!("ca"), @@ -31,6 +31,7 @@ const TRANSLATIONS: [(&str, &str); 38] = [ translation!("el"), translation!("he"), translation!("hu"), + translation!("id"), translation!("is"), translation!("it"), translation!("ja"), @@ -82,6 +83,7 @@ impl Lang { pub const HEBREW: Self = Self(*b"he ", 2); pub const HUNGARIAN: Self = Self(*b"hu ", 2); pub const ICELANDIC: Self = Self(*b"is ", 2); + pub const INDONESIAN: Self = Self(*b"id ", 2); pub const ITALIAN: Self = Self(*b"it ", 2); pub const JAPANESE: Self = Self(*b"ja ", 2); pub const LATIN: Self = Self(*b"la ", 2); |
