This commit is contained in:
Ward from fusion-voyager-3 2024-02-25 20:51:42 +03:00
parent e61b703960
commit 42aef6817a
3 changed files with 3 additions and 3 deletions

2
debian/changelog vendored
View File

@ -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

View File

@ -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"
} }

View File

@ -86,7 +86,7 @@ pub fn welcome_content_page(window: &adw::ApplicationWindow, content_box: &gtk::
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())
} }
} }