add translation
This commit is contained in:
parent
aa05bbcc4b
commit
6a061bcf3d
@ -67,5 +67,6 @@
|
||||
"open-pika-wiki-title": "Open PikaOS Wiki",
|
||||
"open-pika-wiki-title-subtitle": "Check for known issues and their solutions.",
|
||||
"entry_row_button_install": "Install",
|
||||
"entry_row_button_remove": "Uninstall"
|
||||
"entry_row_button_remove": "Uninstall",
|
||||
"credit_translator": "Translators"
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ pub fn welcome_content_page(window: &adw::ApplicationWindow, content_box: >k::
|
||||
serde_json::from_str(&translator_json_data).expect("JSON format invalid");
|
||||
if let serde_json::Value::Array(translators) = &translator_json["translators"] {
|
||||
for translator in translators {
|
||||
translator_json_array.push(translator["translator"].as_str().to_owned().unwrap())
|
||||
translator_json_array.push(translator["credit_translator"].as_str().to_owned().unwrap())
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user