mirror of
https://github.com/typst/typst
synced 2025-05-15 17:45:27 +08:00
Add Galician & catalan translations (#4414)
This commit is contained in:
parent
781eea632f
commit
49f1c85c18
@ -14,8 +14,9 @@ macro_rules! translation {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
const TRANSLATIONS: [(&str, &str); 31] = [
|
const TRANSLATIONS: [(&str, &str); 33] = [
|
||||||
translation!("ar"),
|
translation!("ar"),
|
||||||
|
translation!("ca"),
|
||||||
translation!("cs"),
|
translation!("cs"),
|
||||||
translation!("da"),
|
translation!("da"),
|
||||||
translation!("de"),
|
translation!("de"),
|
||||||
@ -24,6 +25,7 @@ const TRANSLATIONS: [(&str, &str); 31] = [
|
|||||||
translation!("et"),
|
translation!("et"),
|
||||||
translation!("fi"),
|
translation!("fi"),
|
||||||
translation!("fr"),
|
translation!("fr"),
|
||||||
|
translation!("gl"),
|
||||||
translation!("gr"),
|
translation!("gr"),
|
||||||
translation!("hu"),
|
translation!("hu"),
|
||||||
translation!("it"),
|
translation!("it"),
|
||||||
@ -67,6 +69,7 @@ impl Lang {
|
|||||||
pub const FILIPINO: Self = Self(*b"tl ", 2);
|
pub const FILIPINO: Self = Self(*b"tl ", 2);
|
||||||
pub const FINNISH: Self = Self(*b"fi ", 2);
|
pub const FINNISH: Self = Self(*b"fi ", 2);
|
||||||
pub const FRENCH: Self = Self(*b"fr ", 2);
|
pub const FRENCH: Self = Self(*b"fr ", 2);
|
||||||
|
pub const GALICIAN: Self = Self(*b"gl ", 2);
|
||||||
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);
|
||||||
|
7
crates/typst/translations/ca.txt
Normal file
7
crates/typst/translations/ca.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
figure = Figura
|
||||||
|
table = Taula
|
||||||
|
equation = Equació
|
||||||
|
bibliography = Bibliografia
|
||||||
|
heading = Secció
|
||||||
|
outline = Índex
|
||||||
|
raw = Llistat
|
7
crates/typst/translations/gl.txt
Normal file
7
crates/typst/translations/gl.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
figure = Figura
|
||||||
|
table = Táboa
|
||||||
|
equation = Ecuación
|
||||||
|
bibliography = Bibliografía
|
||||||
|
heading = Sección
|
||||||
|
outline = Índice
|
||||||
|
raw = Listado
|
Loading…
x
Reference in New Issue
Block a user