mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
i18n for M_THREEPID_AUTH_FAILED
This commit is contained in:
parent
175a5ab824
commit
36a9b80040
@ -91,6 +91,9 @@ class DefaultErrorFormatter @Inject constructor(
|
||||
&& throwable.error.message == "Email is already in use" -> {
|
||||
stringProvider.getString(R.string.account_email_already_used_error)
|
||||
}
|
||||
throwable.error.code == MatrixError.M_THREEPID_AUTH_FAILED -> {
|
||||
stringProvider.getString(R.string.error_threepid_auth_failed)
|
||||
}
|
||||
else -> {
|
||||
throwable.error.message.takeIf { it.isNotEmpty() }
|
||||
?: throwable.error.code.takeIf { it.isNotEmpty() }
|
||||
|
@ -685,6 +685,7 @@
|
||||
<string name="settings_emails">Email addresses</string>
|
||||
<string name="settings_phone_numbers">Phone numbers</string>
|
||||
<string name="settings_remove_three_pid_confirmation_content">Remove %s?</string>
|
||||
<string name="error_threepid_auth_failed">Ensure that you have clicked on the link in the email we have sent to you.</string>
|
||||
|
||||
<string name="settings_notification_advanced">Advanced Notification Settings</string>
|
||||
<string name="settings_notification_by_event">Notification importance by event</string>
|
||||
|
Loading…
Reference in New Issue
Block a user