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()
}
})
)
)
}
}