From 183eb1b0a49c5e6fe295cd097b940a1eec2a6385 Mon Sep 17 00:00:00 2001 From: Natsu Date: Mon, 1 Jul 2024 14:33:10 +0700 Subject: [PATCH] chore(about_contributors_en.json): update plugin_repo link and add discord link for NatsumeLS (EN Plugin Code) chore(about_contributors_en.json): update plugin_repo link for chinosk (Original Plugin Code) chore(about_contributors_en.json): add Mocca as a contributor for EN Translation Workflow chore(about_contributors_en.json): update plugin_repo link for DarwinTree (Translation Workflow) chore(about_contributors_en.json): update plugin_repo link for Other Translators chore(about_contributors_en.json): update contrib_img links for plugin and translation chore(AboutPageConfig.kt): update plugin_repo link and add discord link for AboutPageConfig chore(MainPage.kt): update app name and assets version text chore(AboutPage.kt): update button text from "Github" to "GitHub" and add "Discord" button chore(strings.xml): update --- .../main/assets/about_contributors_en.json | 30 ++++++++++++++----- .../localify/models/AboutPageConfig.kt | 7 +++-- .../gakumas/localify/ui/pages/MainPage.kt | 4 +-- .../localify/ui/pages/subPages/AboutPage.kt | 9 +++++- app/src/main/res/values/strings.xml | 26 ++++++++-------- 5 files changed, 49 insertions(+), 27 deletions(-) diff --git a/app/src/main/assets/about_contributors_en.json b/app/src/main/assets/about_contributors_en.json index 1e4b825..8d5f99d 100644 --- a/app/src/main/assets/about_contributors_en.json +++ b/app/src/main/assets/about_contributors_en.json @@ -1,29 +1,43 @@ { - "plugin_repo": "https://github.com/chinosk6/gakuen-imas-localify", + "plugin_repo": "https://github.com/NatsumeLS/Gakumas-Localify-EN", + "discord": "https://natsume.io/GakumasLocalize", "main_contributors": [ { - "name": "chinosk (Plugin code)", + "name": "NatsumeLS (EN Plugin Code)", "links": [ - {"name": "Github", "link": "https://github.com/chinosk6"}, + {"name": "Web", "link": "https://natsume.io"}, + {"name": "GitHub", "link": "https://github.com/NatsumeLS"} + ] + }, + { + "name": "chinosk (Original Plugin Code)", + "links": [ + {"name": "GitHub", "link": "https://github.com/chinosk6"}, {"name": "Bilibili", "link": "https://space.bilibili.com/287061163"} ] }, + { + "name": "Mocca (EN Translation Workflow)", + "links": [ + {"name": "GitHub", "link": "https://github.com/ToastyBuns3939"} + ] + }, { "name": "DarwinTree (Translation Workflow)", "links": [ - {"name": "Github", "link": "https://github.com/darwintree"}, + {"name": "GitHub", "link": "https://github.com/darwintree"}, {"name": "Bilibili", "link": "https://space.bilibili.com/6069705"} ] }, { - "name": "And all other translators", + "name": "Other Translators", "links": [ - {"name": "Github", "link": "https://github.com/chinosk6/GakumasTranslationData/graphs/contributors"} + {"name": "GitHub", "link": "https://github.com/NatsumeLS/Gakumas-Translation-Data-EN/graphs/contributors"} ] } ], "contrib_img": { - "plugin": "https://contrib.rocks/image?repo=chinosk6/gakuen-imas-localify", - "translation": "https://contrib.rocks/image?repo=chinosk6/GakumasTranslationData" + "plugin": "https://contrib.rocks/image?repo=NatsumeLS/Gakumas-Localify-EN", + "translation": "https://contrib.rocks/image?repo=NatsumeLS/Gakumas-Translation-Data-EN" } } \ No newline at end of file diff --git a/app/src/main/java/io/github/chinosk/gakumas/localify/models/AboutPageConfig.kt b/app/src/main/java/io/github/chinosk/gakumas/localify/models/AboutPageConfig.kt index e39f6e0..a6e4df8 100644 --- a/app/src/main/java/io/github/chinosk/gakumas/localify/models/AboutPageConfig.kt +++ b/app/src/main/java/io/github/chinosk/gakumas/localify/models/AboutPageConfig.kt @@ -4,11 +4,12 @@ import kotlinx.serialization.Serializable @Serializable data class AboutPageConfig( - val plugin_repo: String = "https://github.com/chinosk6/gakuen-imas-localify", + val plugin_repo: String = "https://github.com/NatsumeLS/Gakumas-Localify-EN", + val discord: String = "https://natsume.io/GakumasLocalize", val main_contributors: List = listOf(), val contrib_img: ContribImg = ContribImg( - "https://contrib.rocks/image?repo=chinosk6/gakuen-imas-localify", - "https://contrib.rocks/image?repo=chinosk6/GakumasTranslationData" + "https://contrib.rocks/image?repo=NatsumeLS/Gakumas-Localify-EN", + "https://contrib.rocks/image?repo=NatsumeLS/Gakumas-Translation-Data-EN" ) ) diff --git a/app/src/main/java/io/github/chinosk/gakumas/localify/ui/pages/MainPage.kt b/app/src/main/java/io/github/chinosk/gakumas/localify/ui/pages/MainPage.kt index d667ca5..d70a6e4 100644 --- a/app/src/main/java/io/github/chinosk/gakumas/localify/ui/pages/MainPage.kt +++ b/app/src/main/java/io/github/chinosk/gakumas/localify/ui/pages/MainPage.kt @@ -59,8 +59,8 @@ fun MainUI(modifier: Modifier = Modifier, context: MainActivity? = null, .padding(10.dp, 10.dp, 10.dp, 0.dp), verticalArrangement = Arrangement.Top ) { - Text(text = "Gakumas Localify ${versionInfo[0]}", fontSize = 18.sp) - Text(text = "Assets version: ${versionInfo[1]}", fontSize = 13.sp) + Text(text = "Gakumas Localify EN ${versionInfo[0]}", fontSize = 18.sp) + Text(text = "Assets Version: ${versionInfo[1]}", fontSize = 13.sp) SettingsTabs(modifier, listOf(stringResource(R.string.about), stringResource(R.string.home), stringResource(R.string.advanced_settings)), diff --git a/app/src/main/java/io/github/chinosk/gakumas/localify/ui/pages/subPages/AboutPage.kt b/app/src/main/java/io/github/chinosk/gakumas/localify/ui/pages/subPages/AboutPage.kt index c4a35d5..86b7786 100644 --- a/app/src/main/java/io/github/chinosk/gakumas/localify/ui/pages/subPages/AboutPage.kt +++ b/app/src/main/java/io/github/chinosk/gakumas/localify/ui/pages/subPages/AboutPage.kt @@ -86,11 +86,18 @@ fun AboutPage(modifier: Modifier = Modifier, .padding( start = 8.dp, end = 8.dp, top = 8.dp, bottom = 0.dp )) { - GakuButton(text = "Github", modifier = modifier + GakuButton(text = "GitHub", modifier = modifier .weight(1f) + .padding(0.dp, 0.dp, 8.dp, 0.dp) .sizeIn(maxWidth = 600.dp), onClick = { context?.openUrl(contributorInfo.plugin_repo) }) + GakuButton(text = "Discord", modifier = modifier + .weight(1f) + .padding(0.dp, 0.dp, 0.dp, 0.dp) + .sizeIn(maxWidth = 600.dp), onClick = { + context?.openUrl(contributorInfo.discord) + }) } } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6f54b0e..3b0da34 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,14 +1,14 @@ Gakumas Localify EN Gakumas Localify EN - Enable Plugin (Require Game Restart) + Enable (Requires Game Restart) Enable Free Camera Start Game / Reload Config - Custom Max FPS (0 is Disabled) + Custom Max FPS (0 to Disable) Unlock All Live Live Custom Character - Live Custom Head ID (eg. costume_head_hski-cstm-0002) - Live Custom Dress ID (eg. hski-cstm-0002) + Live Custom Head ID (e.g. costume_head_hski-cstm-0002) + Live Custom Dress ID (e.g. hski-cstm-0002) Use Custom Graphic Settings Render Scale (0.5-1.0) Text Hook Test Mode @@ -17,7 +17,7 @@ Max Very High High - Med + Medium Low None Portrait @@ -31,9 +31,9 @@ Pendulum Range Average Root Weight - Limit Range Multiplier (0 is Unlimited) + Limit Range Multiplier (0 for Unlimited) Use Arm Correction - IsDirty + Is Dirty Use Breast Scale Breast Scale Use Limit Multiplier @@ -53,11 +53,11 @@ Home Advanced WARNING - This plugin is for learning and communication only. - Using external plugin against the relevant TOS so proceed at your own risk. + This plugin was created for educational purposes only. + Using external plugin may violate the relevant Terms of Service, so proceed at your own risk. About This Plugin - This plugin is completely free. If you paid for this plugin, please report the seller. - Plugin QQ group: 975854705 + This plugin is completely free. + If you paid for it, please report the seller. Project Contribution Plugin Code Contributors @@ -68,11 +68,11 @@ Use Remote ZIP Resource Resource URL Download - Invalid file + Invalid File This file is not a valid ZIP translation resource pack. Cancel Downloaded Version Delete Cache File After Update about_contributors_en.json - \ No newline at end of file +