mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-07-12 19:31:17 +08:00
Update strings.xml
This commit is contained in:
@@ -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()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
)
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -154,4 +154,7 @@
|
|||||||
<string name="max_wallpaper_scale">Max wallpaper scale</string>
|
<string name="max_wallpaper_scale">Max wallpaper scale</string>
|
||||||
<string name="def">"Default: "</string>
|
<string name="def">"Default: "</string>
|
||||||
<string name="current">Current:</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>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user