mirror of
https://github.com/typst/typst
synced 2025-05-13 12:36:23 +08:00
Add Indonesian translation (#6108)
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
This commit is contained in:
parent
387a8b4895
commit
ea336a6ac7
@ -14,7 +14,7 @@ macro_rules! translation {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
const TRANSLATIONS: [(&str, &str); 38] = [
|
const TRANSLATIONS: [(&str, &str); 39] = [
|
||||||
translation!("ar"),
|
translation!("ar"),
|
||||||
translation!("bg"),
|
translation!("bg"),
|
||||||
translation!("ca"),
|
translation!("ca"),
|
||||||
@ -31,6 +31,7 @@ const TRANSLATIONS: [(&str, &str); 38] = [
|
|||||||
translation!("el"),
|
translation!("el"),
|
||||||
translation!("he"),
|
translation!("he"),
|
||||||
translation!("hu"),
|
translation!("hu"),
|
||||||
|
translation!("id"),
|
||||||
translation!("is"),
|
translation!("is"),
|
||||||
translation!("it"),
|
translation!("it"),
|
||||||
translation!("ja"),
|
translation!("ja"),
|
||||||
@ -82,6 +83,7 @@ impl Lang {
|
|||||||
pub const HEBREW: Self = Self(*b"he ", 2);
|
pub const HEBREW: Self = Self(*b"he ", 2);
|
||||||
pub const HUNGARIAN: Self = Self(*b"hu ", 2);
|
pub const HUNGARIAN: Self = Self(*b"hu ", 2);
|
||||||
pub const ICELANDIC: Self = Self(*b"is ", 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 ITALIAN: Self = Self(*b"it ", 2);
|
||||||
pub const JAPANESE: Self = Self(*b"ja ", 2);
|
pub const JAPANESE: Self = Self(*b"ja ", 2);
|
||||||
pub const LATIN: Self = Self(*b"la ", 2);
|
pub const LATIN: Self = Self(*b"la ", 2);
|
||||||
|
8
crates/typst-library/translations/id.txt
Normal file
8
crates/typst-library/translations/id.txt
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
figure = Gambar
|
||||||
|
table = Tabel
|
||||||
|
equation = Persamaan
|
||||||
|
bibliography = Daftar Pustaka
|
||||||
|
heading = Bagian
|
||||||
|
outline = Daftar Isi
|
||||||
|
raw = Kode
|
||||||
|
page = halaman
|
Loading…
x
Reference in New Issue
Block a user