Merge pull request #1909 from cecobald/feat/bg-catalog

i18n: add the Bulgarian (bg) catalog
This commit is contained in:
BFlat
2026-10-16 02:17:32 +07:00
committed by GitHub
2 changed files with 4869 additions and 1 deletions
File diff suppressed because it is too large Load Diff
+11 -1
View File
@@ -94,7 +94,7 @@ fn plural_polish(n: u64) -> usize {
}
/// The registry. English first: it is the fallback and the source language.
pub static LANGUAGES: [LangInfo; 16] = [
pub static LANGUAGES: [LangInfo; 17] = [
LangInfo { code: "en", name: "English", source: "", plural: plural_one_other, complete_menus: false, catalog: OnceLock::new() },
// Japanese: the whole interface (every menu string and `tl!` literal) and the status and error
// messages, keeping the product, workspace and perspective preset names in English (`MENU_KEEP_AS_IS`).
@@ -164,6 +164,16 @@ pub static LANGUAGES: [LangInfo; 16] = [
complete_menus: true,
catalog: OnceLock::new(),
},
// Bulgarian: the whole interface (every menu string and `tl!` literal) and the status and error
// messages, with one/other plural forms; every `bg-*` locale (including `bg-BG`) resolves here.
LangInfo {
code: "bg",
name: "Български",
source: include_str!("bg.tsv"),
plural: plural_one_other,
complete_menus: true,
catalog: OnceLock::new(),
},
// Hungarian: the whole interface and the status and error messages, keeping the same names in
// English as Spanish; a count takes the singular ("3 réteg"), so plurals have one form. Every
// `hu-*` locale (including `hu-HU`) resolves here.