summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/typst/src/text/lang.rs5
-rw-r--r--crates/typst/translations/ca.txt7
-rw-r--r--crates/typst/translations/gl.txt7
3 files changed, 18 insertions, 1 deletions
diff --git a/crates/typst/src/text/lang.rs b/crates/typst/src/text/lang.rs
index 05d6104e..39115a34 100644
--- a/crates/typst/src/text/lang.rs
+++ b/crates/typst/src/text/lang.rs
@@ -14,8 +14,9 @@ macro_rules! translation {
};
}
-const TRANSLATIONS: [(&str, &str); 31] = [
+const TRANSLATIONS: [(&str, &str); 33] = [
translation!("ar"),
+ translation!("ca"),
translation!("cs"),
translation!("da"),
translation!("de"),
@@ -24,6 +25,7 @@ const TRANSLATIONS: [(&str, &str); 31] = [
translation!("et"),
translation!("fi"),
translation!("fr"),
+ translation!("gl"),
translation!("gr"),
translation!("hu"),
translation!("it"),
@@ -67,6 +69,7 @@ impl Lang {
pub const FILIPINO: Self = Self(*b"tl ", 2);
pub const FINNISH: Self = Self(*b"fi ", 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 GREEK: Self = Self(*b"gr ", 2);
pub const HUNGARIAN: Self = Self(*b"hu ", 2);
diff --git a/crates/typst/translations/ca.txt b/crates/typst/translations/ca.txt
new file mode 100644
index 00000000..b16d2f9f
--- /dev/null
+++ b/crates/typst/translations/ca.txt
@@ -0,0 +1,7 @@
+figure = Figura
+table = Taula
+equation = Equació
+bibliography = Bibliografia
+heading = Secció
+outline = Índex
+raw = Llistat
diff --git a/crates/typst/translations/gl.txt b/crates/typst/translations/gl.txt
new file mode 100644
index 00000000..7c26953d
--- /dev/null
+++ b/crates/typst/translations/gl.txt
@@ -0,0 +1,7 @@
+figure = Figura
+table = Táboa
+equation = Ecuación
+bibliography = Bibliografía
+heading = Sección
+outline = Índice
+raw = Listado