Update strings.xml

This commit is contained in:
乌堆小透明
2022-03-13 00:42:36 +08:00
parent 303f45616d
commit be4aaa787e
2 changed files with 20 additions and 0 deletions

View File

@@ -395,6 +395,23 @@ class SettingsActivity : MIUIActivity() {
})
)
)
add(
TextSummaryArrowV(
TextSummaryV(
textId = R.string.participate_in_translation,
tipsId = R.string.participate_in_translation_summary,
onClickListener = {
try {
val uri =
Uri.parse("https://crowdin.com/project/simplicitytools")
val intent = Intent(Intent.ACTION_VIEW, uri)
startActivity(intent)
} catch (e: Exception) {
Toast.makeText(activity, "访问失败", Toast.LENGTH_SHORT).show()
}
})
)
)
}
}

View File

@@ -154,4 +154,7 @@
<string name="max_wallpaper_scale">Max wallpaper scale</string>
<string name="def">"Default: "</string>
<string name="current">Current:</string>
<string name="improve_translation">Improve translation</string>
<string name="participate_in_translation">Participate in translation</string>
<string name="participate_in_translation_summary">Help us translate the app into your language</string>
</resources>