Compare commits

...

2 Commits

Author SHA1 Message Date
Markus Langgeng Iman Saputra
ea336a6ac7
Add Indonesian translation (#6108)
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
2025-04-04 15:50:13 +00:00
Malo
387a8b4895
Display color spaces in the order in which they are presented in the doc (#6140) 2025-04-04 11:53:14 +00:00
3 changed files with 13 additions and 3 deletions

View File

@ -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);

View File

@ -120,12 +120,12 @@ use crate::visualize::{Color, ColorSpace, WeightedColor};
/// #let spaces = (
/// ("Oklab", color.oklab),
/// ("Oklch", color.oklch),
/// ("linear-RGB", color.linear-rgb),
/// ("sRGB", color.rgb),
/// ("linear-RGB", color.linear-rgb),
/// ("CMYK", color.cmyk),
/// ("Grayscale", color.luma),
/// ("HSL", color.hsl),
/// ("HSV", color.hsv),
/// ("Grayscale", color.luma),
/// )
///
/// #for (name, space) in spaces {

View File

@ -0,0 +1,8 @@
figure = Gambar
table = Tabel
equation = Persamaan
bibliography = Daftar Pustaka
heading = Bagian
outline = Daftar Isi
raw = Kode
page = halaman