summaryrefslogtreecommitdiff
path: root/crates/typst-library/src
diff options
context:
space:
mode:
authorDeyan Ginev <deyan.ginev@gmail.com>2024-11-27 06:14:20 -0500
committerGitHub <noreply@github.com>2024-11-27 11:14:20 +0000
commitc29c96562ddb9caec04088f78f48dcd9cca2c61a (patch)
tree9cfd9f12ae55b10a8fe37391e0b92a6d6882d09a /crates/typst-library/src
parentf29fbea2fcabed9ed6fc3c19d585edc6fe45370b (diff)
Add Bulgarian translation entries (#5476)
Diffstat (limited to 'crates/typst-library/src')
-rw-r--r--crates/typst-library/src/text/lang.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/typst-library/src/text/lang.rs b/crates/typst-library/src/text/lang.rs
index b9b9ef55..c75e5225 100644
--- a/crates/typst-library/src/text/lang.rs
+++ b/crates/typst-library/src/text/lang.rs
@@ -14,8 +14,9 @@ macro_rules! translation {
};
}
-const TRANSLATIONS: [(&str, &str); 37] = [
+const TRANSLATIONS: [(&str, &str); 38] = [
translation!("ar"),
+ translation!("bg"),
translation!("ca"),
translation!("cs"),
translation!("da"),
@@ -63,6 +64,7 @@ impl Lang {
pub const ARABIC: Self = Self(*b"ar ", 2);
pub const BASQUE: Self = Self(*b"eu ", 2);
pub const BOKMÃ…L: Self = Self(*b"nb ", 2);
+ pub const BULGARIAN: Self = Self(*b"bg ", 2);
pub const CATALAN: Self = Self(*b"ca ", 2);
pub const CHINESE: Self = Self(*b"zh ", 2);
pub const CROATIAN: Self = Self(*b"hr ", 2);