fix: merge arabic font into sarasa font

This commit is contained in:
Giuliano Bellini s294739 2023-04-26 13:51:47 +02:00
parent 3efa2ceb21
commit 8262fb2a4a
7 changed files with 42 additions and 9 deletions

View file

@ -194,6 +194,44 @@ z
є
і
ї
،
؛
؟
آ
ئ
ا
ب
ت
ث
ج
ح
خ
د
ذ
ر
ز
س
ش
ص
ض
ط
ظ
ع
ف
ق
ل
م
ن
ه
و
ٔ
پ
چ
ک
گ
ی
۰
۳

View file

@ -494,7 +494,7 @@ pub fn filtered_packets_translation(
}
Language::PT => {
format!("Pacotes filtrados:\n {filtered} ({percentage} do total)")
},
}
Language::FA => format!("بسته های صاف شده\n {filtered} ({percentage} از مجموع)"),
})
}
@ -529,7 +529,7 @@ pub fn filtered_bytes_translation(
}
Language::PT => {
format!("Bytes filtrados:\n {filtered} ({percentage} do total)")
},
}
Language::FA => format!("بایت های صاف شده\n {filtered} ({percentage} از مجموع)"),
})
}
@ -1475,7 +1475,7 @@ pub fn no_notifications_received_translation(language: Language) -> Text<'static
Language::PT => {
"Nada para ver neste momento...\n\n\
Quando receber uma notificação, ela será mostrada aqui"
},
}
Language::FA => {
"در حال حاضر هیچ چیزی برای دیدن نیست...\n\n\
وقتی شما اعلانی دریافت می کنید، در اینجا نمایش داده خواهد شد"

View file

@ -54,12 +54,7 @@ impl Language {
Language::TR,
Language::FA,
];
pub(crate) const COL3: [Language; 4] = [
Language::ES,
Language::KO,
Language::RO,
Language::UK,
];
pub(crate) const COL3: [Language; 4] = [Language::ES, Language::KO, Language::RO, Language::UK];
pub fn get_radio_label(&self) -> &str {
match self {