diff --git a/src/resources/i18n/source.ts b/src/resources/i18n/source.ts
index b7bcf65..735c851 100644
--- a/src/resources/i18n/source.ts
+++ b/src/resources/i18n/source.ts
@@ -254,147 +254,147 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -405,10 +405,25 @@ Do you want to download and install now?
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
TableFrame
diff --git a/src/star_rail_gacha/app/components/language_setting_card.py b/src/star_rail_gacha/app/components/language_setting_card.py
index 16df1dd..a674fbd 100644
--- a/src/star_rail_gacha/app/components/language_setting_card.py
+++ b/src/star_rail_gacha/app/components/language_setting_card.py
@@ -32,9 +32,12 @@ def __init__(self, value: str, icon: Union[str, QIcon, FluentIconBase], title, c
self.hBoxLayout.addSpacing(16)
language_list = os.listdir("resources/i18n")
- language_list.append("en-US")
+ language_list = ["en-US"] + language_list
item_list = []
for language in language_list:
+ if language == "en-US":
+ item_list.append(f"{language_map[language]} ({language})")
+ continue
if os.path.isdir(f"resources/i18n/{language}"):
item_list.append(f"{language_map[language]} ({language})" if language in language_map else language)
diff --git a/src/star_rail_gacha/app/pages/settings_page.py b/src/star_rail_gacha/app/pages/settings_page.py
index 9a6e6be..cbc0db1 100644
--- a/src/star_rail_gacha/app/pages/settings_page.py
+++ b/src/star_rail_gacha/app/pages/settings_page.py
@@ -73,6 +73,14 @@ def __init__(self, parent=None) -> None:
self.tr("Select the software display language, which will take effect after restarting."),
parent=self.personalGroup
)
+ self.translateLinkCard = HyperlinkCard(
+ "https://crowdin.com/project/starrail-gacha",
+ self.tr("Open Crowdin"),
+ FluentIcon.LANGUAGE,
+ self.tr("Help us translate"),
+ self.tr("Don't see your language or the quality is poor? Help us translate!"),
+ parent = self.personalGroup
+ )
self.showDepartureCard = SwitchSettingCard(
FluentIcon.TAG,
self.tr("Show Departure Warp"),
@@ -176,6 +184,7 @@ def __initLayout(self):
self.personalGroup.addSettingCard(self.themeCard)
self.personalGroup.addSettingCard(self.themeColorCard)
self.personalGroup.addSettingCard(self.languageCard)
+ self.personalGroup.addSettingCard(self.translateLinkCard)
self.personalGroup.addSettingCard(self.showDepartureCard)
self.otherGroup.addSettingCard(self.logLevelCard)