mirror of
https://github.com/typst/typst
synced 2025-08-16 07:58:32 +08:00
Compare commits
2 Commits
bf8751c063
...
ea336a6ac7
Author | SHA1 | Date | |
---|---|---|---|
|
ea336a6ac7 | ||
|
387a8b4895 |
@ -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);
|
||||||
|
@ -120,12 +120,12 @@ use crate::visualize::{Color, ColorSpace, WeightedColor};
|
|||||||
/// #let spaces = (
|
/// #let spaces = (
|
||||||
/// ("Oklab", color.oklab),
|
/// ("Oklab", color.oklab),
|
||||||
/// ("Oklch", color.oklch),
|
/// ("Oklch", color.oklch),
|
||||||
/// ("linear-RGB", color.linear-rgb),
|
|
||||||
/// ("sRGB", color.rgb),
|
/// ("sRGB", color.rgb),
|
||||||
|
/// ("linear-RGB", color.linear-rgb),
|
||||||
/// ("CMYK", color.cmyk),
|
/// ("CMYK", color.cmyk),
|
||||||
|
/// ("Grayscale", color.luma),
|
||||||
/// ("HSL", color.hsl),
|
/// ("HSL", color.hsl),
|
||||||
/// ("HSV", color.hsv),
|
/// ("HSV", color.hsv),
|
||||||
/// ("Grayscale", color.luma),
|
|
||||||
/// )
|
/// )
|
||||||
///
|
///
|
||||||
/// #for (name, space) in spaces {
|
/// #for (name, space) in spaces {
|
||||||
|
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