mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Add learn more to string resources
This commit is contained in:
parent
2bb6e77be0
commit
7662abc5f7
2 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,8 @@ class ThreadsManager @Inject constructor(
|
|||
* Generates and return an Html spanned string to be rendered especially in dialogs
|
||||
*/
|
||||
fun getBetaEnableThreadsMessage(): Spanned {
|
||||
val href = "<a href='$learnMoreUrl'>Learn more</a>.<br><br>"
|
||||
val learnMore = context.getString(R.string.action_learn_more)
|
||||
val href = "<a href='$learnMoreUrl'>$learnMore</a>.<br><br>"
|
||||
val message = context.getString(R.string.threads_beta_enable_notice_message, href)
|
||||
return HtmlCompat.fromHtml(message, HtmlCompat.FROM_HTML_MODE_LEGACY)
|
||||
}
|
||||
|
|
|
@ -385,6 +385,7 @@
|
|||
<string name="action_play">Play</string>
|
||||
<string name="action_dismiss">Dismiss</string>
|
||||
<string name="action_reset">Reset</string>
|
||||
<string name="action_learn_more">Learn more</string>
|
||||
|
||||
<string name="copied_to_clipboard">Copied to clipboard</string>
|
||||
|
||||
|
|
Loading…
Reference in a new issue