fix: update link to translations platform
This commit is contained in:
		| @@ -74,6 +74,9 @@ set(Launcher_MSA_CLIENT_ID "17b47edd-c884-4997-926d-9e7f9a6b4647" CACHE STRING " | ||||
| # Bug tracker URL | ||||
| set(Launcher_BUG_TRACKER_URL "https://github.com/PolyMC/PolyMC/issues" CACHE STRING "URL for the bug tracker.") | ||||
|  | ||||
| # Translations Platform URL | ||||
| set(Launcher_TRANSLATIONS_URL "https://hosted.weblate.org/projects/polymc/polymc/" CACHE STRING "URL for the translations platform.") | ||||
|  | ||||
| # Discord URL | ||||
| set(Launcher_DISCORD_URL "https://discord.gg/Z52pwxWCHP" CACHE STRING "URL for the Discord guild.") | ||||
|  | ||||
|   | ||||
| @@ -47,6 +47,7 @@ Config::Config() | ||||
|     META_URL = "@Launcher_META_URL@"; | ||||
|  | ||||
|     BUG_TRACKER_URL = "@Launcher_BUG_TRACKER_URL@"; | ||||
|     TRANSLATIONS_URL = "@Launcher_TRANSLATIONS_URL@"; | ||||
|     DISCORD_URL = "@Launcher_DISCORD_URL@"; | ||||
|     SUBREDDIT_URL = "@Launcher_SUBREDDIT_URL@"; | ||||
| } | ||||
|   | ||||
| @@ -83,6 +83,7 @@ public: | ||||
|     QString META_URL; | ||||
|  | ||||
|     QString BUG_TRACKER_URL; | ||||
|     QString TRANSLATIONS_URL; | ||||
|     QString DISCORD_URL; | ||||
|     QString SUBREDDIT_URL; | ||||
|  | ||||
|   | ||||
| @@ -5,6 +5,7 @@ | ||||
| #include <QHeaderView> | ||||
| #include <QLabel> | ||||
| #include "Application.h" | ||||
| #include "BuildConfig.h" | ||||
| #include "translations/TranslationsModel.h" | ||||
| #include "settings/Setting.h" | ||||
|  | ||||
| @@ -52,7 +53,7 @@ QString LanguageSelectionWidget::getSelectedLanguageKey() const | ||||
| void LanguageSelectionWidget::retranslate() | ||||
| { | ||||
|     QString text = tr("Don't see your language or the quality is poor?<br/><a href=\"%1\">Help us with translations!</a>") | ||||
|         .arg("https://github.com/MultiMC/Launcher/wiki/Translating-MultiMC"); | ||||
|         .arg(BuildConfig.TRANSLATIONS_URL); | ||||
|     helpUsLabel->setText(text); | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user