PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
Integration: #2714 Lao date names and drop the stray Preferences... key
aiongg2250841fea28
diff --git a/crates/engine/src/dates.rs b/crates/engine/src/dates.rsindex 251e3c47d..d3019cc7b 100644--- a/crates/engine/src/dates.rs+++ b/crates/engine/src/dates.rs@@ -59,7 +59,7 @@ const AR_DAYS: [&str; 7] = ["الأحد", "الاثنين", "الثلاثاء",/// The languages month and weekday names can be written in (Preferences ▸ Date format ▸ Language):/// the interface languages, in the same order and with the same names.-pub static DATE_LANGUAGES: [DateLanguage; 28] = [+pub static DATE_LANGUAGES: [DateLanguage; 29] = [DateLanguage {code: "en",name: "English",@@ -501,6 +501,15 @@ pub static DATE_LANGUAGES: [DateLanguage; 28] = [days: ["duminică", "luni", "marți", "miercuri", "joi", "vineri", "sâmbătă"],days_short: ["dum.", "lun.", "mar.", "mie.", "joi", "vin.", "sâm."],},+ DateLanguage {+ code: "lo",+ name: "ພາສາລາວ",+ months: ["ມັງກອນ", "ກຸມພາ", "ມີນາ", "ເມສາ", "ພຶດສະພາ", "ມິຖຸນາ", "ກໍລະກົດ", "ສິງຫາ", "ກັນຍາ", "ຕຸລາ", "ພະຈິກ", "ທັນວາ"],+ months_with_day: None,+ months_short: ["ມ.ກ.", "ກ.ພ.", "ມ.ນ.", "ມ.ສ.", "ພ.ພ.", "ມິ.ຖ.", "ກ.ລ.", "ສ.ຫ.", "ກ.ຍ.", "ຕ.ລ.", "ພ.ຈ.", "ທ.ວ."],+ days: ["ວັນອາທິດ", "ວັນຈັນ", "ວັນອັງຄານ", "ວັນພຸດ", "ວັນພະຫັດ", "ວັນສຸກ", "ວັນເສົາ"],+ days_short: ["ອາທິດ", "ຈັນ", "ອັງຄານ", "ພຸດ", "ພະຫັດ", "ສຸກ", "ເສົາ"],+ },];/// The date language for `code` (any case), or `None` when there's none.diff --git a/crates/ui-egui/src/i18n/lo.tsv b/crates/ui-egui/src/i18n/lo.tsvindex cc63a32ba..85e6c9413 100644--- a/crates/ui-egui/src/i18n/lo.tsv+++ b/crates/ui-egui/src/i18n/lo.tsv@@ -22,7 +22,6 @@View ມຸມມອງHelp ຊ່ວຍເຫຼືອPreferences ການຕັ້ງຄ່າ- Preferences... ການຕັ້ງຄ່າ...Interface language ພາສາສະແດງຜົນInterface size ຂະໜາດອິນເຕີເຟສAuto ({percent}%) ອັດຕະໂນມັດ ({percent}%)