Integration: #2714 Lao date names and drop the stray Preferences... key

DATE_LANGUAGES gains the lo row in the same position as in LANGUAGES, so
date_languages_are_the_interface_languages holds; lo.tsv loses a key that
matches no English source.
This commit is contained in:
aiongg
2026-10-22 01:53:24 +00:00
parent 8f47b6ffe8
commit 2250841fea
2 changed files with 10 additions and 2 deletions
+10 -1
View File
@@ -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.
-1
View File
@@ -22,7 +22,6 @@
View ມຸມມອງ
Help ຊ່ວຍເຫຼືອ
Preferences ການຕັ້ງຄ່າ
Preferences... ການຕັ້ງຄ່າ...
Interface language ພາສາສະແດງຜົນ
Interface size ຂະໜາດອິນເຕີເຟສ
Auto ({percent}%) ອັດຕະໂນມັດ ({percent}%)
Can't render this file because it contains an unexpected character in line 6 and column 32.