mirror of https://github.com/stelzo/typst.git
Add Icelandic translation (#4799)
This commit is contained in:
parent
238f1fad49
commit
4dc2034eee
|
|
@ -14,7 +14,7 @@ macro_rules! translation {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
const TRANSLATIONS: [(&str, &str); 34] = [
|
const TRANSLATIONS: [(&str, &str); 35] = [
|
||||||
translation!("ar"),
|
translation!("ar"),
|
||||||
translation!("ca"),
|
translation!("ca"),
|
||||||
translation!("cs"),
|
translation!("cs"),
|
||||||
|
|
@ -28,6 +28,7 @@ const TRANSLATIONS: [(&str, &str); 34] = [
|
||||||
translation!("gl"),
|
translation!("gl"),
|
||||||
translation!("gr"),
|
translation!("gr"),
|
||||||
translation!("hu"),
|
translation!("hu"),
|
||||||
|
translation!("is"),
|
||||||
translation!("it"),
|
translation!("it"),
|
||||||
translation!("ja"),
|
translation!("ja"),
|
||||||
translation!("la"),
|
translation!("la"),
|
||||||
|
|
@ -74,6 +75,7 @@ impl Lang {
|
||||||
pub const GERMAN: Self = Self(*b"de ", 2);
|
pub const GERMAN: Self = Self(*b"de ", 2);
|
||||||
pub const GREEK: Self = Self(*b"gr ", 2);
|
pub const GREEK: Self = Self(*b"gr ", 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 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);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
figure = Mynd
|
||||||
|
table = Tafla
|
||||||
|
equation = Jafna
|
||||||
|
bibliography = Heimildaskrá
|
||||||
|
heading = Kafli
|
||||||
|
outline = Efnisyfirlit
|
||||||
|
raw = Sýnishorn
|
||||||
Loading…
Reference in New Issue