1
0

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
This commit is contained in:
Natsu 2024-07-01 14:33:10 +07:00
parent 6702904ad6
commit 183eb1b0a4
Signed by: NatsumeLS
GPG Key ID: 6DB67FB460CF46C6
5 changed files with 49 additions and 27 deletions

View File

@ -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": [ "main_contributors": [
{ {
"name": "chinosk (Plugin code)", "name": "NatsumeLS (EN Plugin Code)",
"links": [ "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": "Bilibili", "link": "https://space.bilibili.com/287061163"}
] ]
}, },
{
"name": "Mocca (EN Translation Workflow)",
"links": [
{"name": "GitHub", "link": "https://github.com/ToastyBuns3939"}
]
},
{ {
"name": "DarwinTree (Translation Workflow)", "name": "DarwinTree (Translation Workflow)",
"links": [ "links": [
{"name": "Github", "link": "https://github.com/darwintree"}, {"name": "GitHub", "link": "https://github.com/darwintree"},
{"name": "Bilibili", "link": "https://space.bilibili.com/6069705"} {"name": "Bilibili", "link": "https://space.bilibili.com/6069705"}
] ]
}, },
{ {
"name": "And all other translators", "name": "Other Translators",
"links": [ "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": { "contrib_img": {
"plugin": "https://contrib.rocks/image?repo=chinosk6/gakuen-imas-localify", "plugin": "https://contrib.rocks/image?repo=NatsumeLS/Gakumas-Localify-EN",
"translation": "https://contrib.rocks/image?repo=chinosk6/GakumasTranslationData" "translation": "https://contrib.rocks/image?repo=NatsumeLS/Gakumas-Translation-Data-EN"
} }
} }

View File

@ -4,11 +4,12 @@ import kotlinx.serialization.Serializable
@Serializable @Serializable
data class AboutPageConfig( 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<MainContributors> = listOf(), val main_contributors: List<MainContributors> = listOf(),
val contrib_img: ContribImg = ContribImg( val contrib_img: ContribImg = ContribImg(
"https://contrib.rocks/image?repo=chinosk6/gakuen-imas-localify", "https://contrib.rocks/image?repo=NatsumeLS/Gakumas-Localify-EN",
"https://contrib.rocks/image?repo=chinosk6/GakumasTranslationData" "https://contrib.rocks/image?repo=NatsumeLS/Gakumas-Translation-Data-EN"
) )
) )

View File

@ -59,8 +59,8 @@ fun MainUI(modifier: Modifier = Modifier, context: MainActivity? = null,
.padding(10.dp, 10.dp, 10.dp, 0.dp), .padding(10.dp, 10.dp, 10.dp, 0.dp),
verticalArrangement = Arrangement.Top verticalArrangement = Arrangement.Top
) { ) {
Text(text = "Gakumas Localify ${versionInfo[0]}", fontSize = 18.sp) Text(text = "Gakumas Localify EN ${versionInfo[0]}", fontSize = 18.sp)
Text(text = "Assets version: ${versionInfo[1]}", fontSize = 13.sp) Text(text = "Assets Version: ${versionInfo[1]}", fontSize = 13.sp)
SettingsTabs(modifier, listOf(stringResource(R.string.about), stringResource(R.string.home), SettingsTabs(modifier, listOf(stringResource(R.string.about), stringResource(R.string.home),
stringResource(R.string.advanced_settings)), stringResource(R.string.advanced_settings)),

View File

@ -86,11 +86,18 @@ fun AboutPage(modifier: Modifier = Modifier,
.padding( .padding(
start = 8.dp, end = 8.dp, top = 8.dp, bottom = 0.dp start = 8.dp, end = 8.dp, top = 8.dp, bottom = 0.dp
)) { )) {
GakuButton(text = "Github", modifier = modifier GakuButton(text = "GitHub", modifier = modifier
.weight(1f) .weight(1f)
.padding(0.dp, 0.dp, 8.dp, 0.dp)
.sizeIn(maxWidth = 600.dp), onClick = { .sizeIn(maxWidth = 600.dp), onClick = {
context?.openUrl(contributorInfo.plugin_repo) 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)
})
} }
} }

View File

@ -1,14 +1,14 @@
<resources> <resources>
<string name="app_name">Gakumas Localify EN</string> <string name="app_name">Gakumas Localify EN</string>
<string name="gakumas_localify">Gakumas Localify EN</string> <string name="gakumas_localify">Gakumas Localify EN</string>
<string name="enable_plugin">Enable Plugin (Require Game Restart)</string> <string name="enable_plugin">Enable (Requires Game Restart)</string>
<string name="enable_free_camera">Enable Free Camera</string> <string name="enable_free_camera">Enable Free Camera</string>
<string name="start_game">Start Game / Reload Config</string> <string name="start_game">Start Game / Reload Config</string>
<string name="setFpsTitle">Custom Max FPS (0 is Disabled)</string> <string name="setFpsTitle">Custom Max FPS (0 to Disable)</string>
<string name="unlockAllLive">Unlock All Live</string> <string name="unlockAllLive">Unlock All Live</string>
<string name="liveUseCustomeDress">Live Custom Character</string> <string name="liveUseCustomeDress">Live Custom Character</string>
<string name="live_costume_head_id">Live Custom Head ID (eg. costume_head_hski-cstm-0002)</string> <string name="live_costume_head_id">Live Custom Head ID (e.g. costume_head_hski-cstm-0002)</string>
<string name="live_custome_dress_id">Live Custom Dress ID (eg. hski-cstm-0002)</string> <string name="live_custome_dress_id">Live Custom Dress ID (e.g. hski-cstm-0002)</string>
<string name="useCustomeGraphicSettings">Use Custom Graphic Settings</string> <string name="useCustomeGraphicSettings">Use Custom Graphic Settings</string>
<string name="renderscale">Render Scale (0.5-1.0)</string> <string name="renderscale">Render Scale (0.5-1.0)</string>
<string name="text_hook_test_mode">Text Hook Test Mode</string> <string name="text_hook_test_mode">Text Hook Test Mode</string>
@ -17,7 +17,7 @@
<string name="max_high">Max</string> <string name="max_high">Max</string>
<string name="very_high">Very High</string> <string name="very_high">Very High</string>
<string name="hign">High</string> <string name="hign">High</string>
<string name="middle">Med</string> <string name="middle">Medium</string>
<string name="low">Low</string> <string name="low">Low</string>
<string name="orientation_orig">None</string> <string name="orientation_orig">None</string>
<string name="orientation_portrait">Portrait</string> <string name="orientation_portrait">Portrait</string>
@ -31,9 +31,9 @@
<string name="pendulumrange">Pendulum Range</string> <string name="pendulumrange">Pendulum Range</string>
<string name="average">Average</string> <string name="average">Average</string>
<string name="rootweight">Root Weight</string> <string name="rootweight">Root Weight</string>
<string name="uselimit_0_1">Limit Range Multiplier (0 is Unlimited)</string> <string name="uselimit_0_1">Limit Range Multiplier (0 for Unlimited)</string>
<string name="usearmcorrection">Use Arm Correction</string> <string name="usearmcorrection">Use Arm Correction</string>
<string name="isdirty">IsDirty</string> <string name="isdirty">Is Dirty</string>
<string name="usescale">Use Breast Scale</string> <string name="usescale">Use Breast Scale</string>
<string name="breast_scale">Breast Scale</string> <string name="breast_scale">Breast Scale</string>
<string name="uselimitmultiplier">Use Limit Multiplier</string> <string name="uselimitmultiplier">Use Limit Multiplier</string>
@ -53,11 +53,11 @@
<string name="home">Home</string> <string name="home">Home</string>
<string name="advanced_settings">Advanced</string> <string name="advanced_settings">Advanced</string>
<string name="about_warn_title">WARNING</string> <string name="about_warn_title">WARNING</string>
<string name="about_warn_p1">This plugin is for learning and communication only.</string> <string name="about_warn_p1">This plugin was created for educational purposes only.</string>
<string name="about_warn_p2">Using external plugin against the relevant TOS so proceed at your own risk.</string> <string name="about_warn_p2">Using external plugin may violate the relevant Terms of Service, so proceed at your own risk.</string>
<string name="about_about_title">About This Plugin</string> <string name="about_about_title">About This Plugin</string>
<string name="about_about_p1">This plugin is completely free. If you paid for this plugin, please report the seller.</string> <string name="about_about_p1">This plugin is completely free.</string>
<string name="about_about_p2">Plugin QQ group: 975854705</string> <string name="about_about_p2">If you paid for it, please report the seller.</string>
<string name="project_contribution">Project Contribution</string> <string name="project_contribution">Project Contribution</string>
<string name="plugin_code">Plugin Code</string> <string name="plugin_code">Plugin Code</string>
<string name="contributors">Contributors</string> <string name="contributors">Contributors</string>
@ -68,7 +68,7 @@
<string name="use_remote_zip_resource">Use Remote ZIP Resource</string> <string name="use_remote_zip_resource">Use Remote ZIP Resource</string>
<string name="resource_url">Resource URL</string> <string name="resource_url">Resource URL</string>
<string name="download">Download</string> <string name="download">Download</string>
<string name="invalid_zip_file">Invalid file</string> <string name="invalid_zip_file">Invalid File</string>
<string name="invalid_zip_file_warn">This file is not a valid ZIP translation resource pack.</string> <string name="invalid_zip_file_warn">This file is not a valid ZIP translation resource pack.</string>
<string name="cancel">Cancel</string> <string name="cancel">Cancel</string>
<string name="downloaded_resource_version">Downloaded Version</string> <string name="downloaded_resource_version">Downloaded Version</string>