Hotfix
This commit is contained in:
parent
e61b703960
commit
42aef6817a
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,4 +1,4 @@
|
|||||||
pika-welcome (5.0.0-100pika1) pikauwu; urgency=low
|
pika-welcome (5.0.0-100pika2) pikauwu; urgency=low
|
||||||
|
|
||||||
* First release
|
* First release
|
||||||
|
|
||||||
|
@ -68,5 +68,5 @@
|
|||||||
"open-pika-wiki-title-subtitle": "Check for known issues and their solutions.",
|
"open-pika-wiki-title-subtitle": "Check for known issues and their solutions.",
|
||||||
"entry_row_button_install": "Install",
|
"entry_row_button_install": "Install",
|
||||||
"entry_row_button_remove": "Uninstall",
|
"entry_row_button_remove": "Uninstall",
|
||||||
"credit_translator": "Translators"
|
"translators": "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");
|
serde_json::from_str(&translator_json_data).expect("JSON format invalid");
|
||||||
if let serde_json::Value::Array(translators) = &translator_json["translators"] {
|
if let serde_json::Value::Array(translators) = &translator_json["translators"] {
|
||||||
for translator in translators {
|
for translator in translators {
|
||||||
translator_json_array.push(translator["credit_translator"].as_str().to_owned().unwrap())
|
translator_json_array.push(translator["translator"].as_str().to_owned().unwrap())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user