From 42aef6817a7b9b5c1e4da0e1a3f99bb038dd7e87 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Sun, 25 Feb 2024 20:51:42 +0300 Subject: [PATCH] Hotfix --- debian/changelog | 2 +- locales/en_US.json | 2 +- src/welcome_content_page/mod.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4b417b0..25b8ab9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -pika-welcome (5.0.0-100pika1) pikauwu; urgency=low +pika-welcome (5.0.0-100pika2) pikauwu; urgency=low * First release diff --git a/locales/en_US.json b/locales/en_US.json index 7a86a0a..dae7a09 100644 --- a/locales/en_US.json +++ b/locales/en_US.json @@ -68,5 +68,5 @@ "open-pika-wiki-title-subtitle": "Check for known issues and their solutions.", "entry_row_button_install": "Install", "entry_row_button_remove": "Uninstall", - "credit_translator": "Translators" + "translators": "Translators" } diff --git a/src/welcome_content_page/mod.rs b/src/welcome_content_page/mod.rs index be3ddb6..3161c1f 100644 --- a/src/welcome_content_page/mod.rs +++ b/src/welcome_content_page/mod.rs @@ -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["credit_translator"].as_str().to_owned().unwrap()) + translator_json_array.push(translator["translator"].as_str().to_owned().unwrap()) } }