refactor: Update app description and language patch step name

This commit updates the app description in `strings.xml` to better reflect its purpose.

It also corrects the localized name for the language APK download step from "Downloading libs apk" to "Downloading lang apk".

Additionally, the project header now uses the Aliucord GitHub organization and Discord server link when `aliucord` is true, otherwise defaulting to the Wintry links from `BuildConfig`.
This commit is contained in:
pylixonly 2025-07-16 18:59:34 +08:00
parent 7c1ebc9696
commit 378c09c25b
3 changed files with 5 additions and 4 deletions

View file

@ -12,5 +12,5 @@ class DownloadDiscordRNALangStep : DownloadDiscordRNAStep() {
override val targetUrl get() = "$BASE_URL/tracker/download/$version/config.en"
override val targetFile get() = paths.discordApkVersionCache(version).resolve("config.en.apk")
override val localizedName = R.string.patch_step_dl_libapk
override val localizedName = R.string.patch_step_dl_langapk
}

View file

@ -51,7 +51,7 @@ fun ProjectHeader(
Row(
horizontalArrangement = Arrangement.Center,
) {
TextButton(onClick = { uriHandler.openUri("https://github.com/${BuildConfig.GITHUB_ORG}") }) {
TextButton(onClick = { uriHandler.openUri("https://github.com/${if (aliucord) "Aliucord" else BuildConfig.GITHUB_ORG}") }) {
Icon(
painter = painterResource(R.drawable.ic_account_github_white_24dp),
contentDescription = null,
@ -60,7 +60,7 @@ fun ProjectHeader(
Text(text = stringResource(R.string.github))
}
TextButton(onClick = { uriHandler.openUri("https://discord.gg/${BuildConfig.SUPPORT_SERVER}") }) {
TextButton(onClick = { uriHandler.openUri("https://discord.gg/${if (aliucord) "EsNDvBaHVU" else BuildConfig.SUPPORT_SERVER}") }) {
Icon(
painter = painterResource(R.drawable.ic_discord),
contentDescription = stringResource(R.string.support_server),

View file

@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation">
<string name="app_name">Wintry Manager</string>
<string name="app_description">Make your Discord cooler, literally</string>
<string name="app_description">A Discord mod built with simplicity and a seamless experience in mind.</string>
<string name="aliucord" translatable="false">Aliucord</string>
<string name="discord" translatable="false">Discord</string>
@ -150,6 +150,7 @@
<string name="patch_step_dl_baseapk">Downloading base APK</string>
<string name="patch_step_dl_libapk">Downloading libs apk</string>
<string name="patch_step_dl_langapk">Downloading lang apk</string>
<string name="patch_step_dl_resapk">Downloading resources apk</string>
<string name="patch_step_inject_wintry">Injecting WintryXposed with LSPatch</string>
<string name="patch_step_dl_wtxposed">Downloading WintryXposed</string>