mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-06-19 12:13:32 +00:00
feat/localization (#104)
* initial i18n setup for PWSP-GUI * add Russian locale * add missing entries * add Spanish locale * add French locale * add Chinese locale * add Arabic locale * update cargo-sources.json
This commit is contained in:
committed by
GitHub
parent
dc1ecc81ea
commit
c6d9f2d6e7
+2
-1
@@ -227,8 +227,9 @@ fn load_system_fonts(fonts: &mut FontDefinitions) -> Result<()> {
|
||||
let (_, en_sans) = find_for_locale("en", FontStyle::Sans);
|
||||
let (_, en_serif) = find_for_locale("en", FontStyle::Serif);
|
||||
let (_, ja_sans) = find_for_locale("ja", FontStyle::Sans);
|
||||
let (_, ar_sans) = find_for_locale("ar", FontStyle::Sans);
|
||||
|
||||
let system_fonts = [en_sans, en_serif, ja_sans].concat();
|
||||
let system_fonts = [en_sans, en_serif, ja_sans, ar_sans].concat();
|
||||
|
||||
for font in system_fonts.iter().rev() {
|
||||
let font_bytes = match &font.source {
|
||||
|
||||
Reference in New Issue
Block a user