Troubleshoot FCM: this should not be a format string right now

Change-Id: Ifff301e55530c2f14c0a54b6e909f199e1706717
This commit is contained in:
SpiritCroc 2021-09-14 10:00:29 +02:00
parent b96f150dd0
commit 61662b9774
2 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class TestNewEndpoint @Inject constructor(private val context: AppCompatActivity
description = stringProvider.getString(R.string.settings_troubleshoot_test_fcm_success, endpoint) description = stringProvider.getString(R.string.settings_troubleshoot_test_fcm_success, endpoint)
} else { } else {
status = TestStatus.FAILED status = TestStatus.FAILED
description = stringProvider.getString(R.string.settings_troubleshoot_test_fcm_failed) description = stringProvider.getString(R.string.settings_troubleshoot_test_fcm_failed_sc)
} }
} else { } else {
if (!endpoint.isNullOrEmpty()) { if (!endpoint.isNullOrEmpty()) {

View File

@ -127,6 +127,7 @@
<string name="settings_troubleshoot_test_pusher_registration_title">Pusher Registration</string> <string name="settings_troubleshoot_test_pusher_registration_title">Pusher Registration</string>
<string name="settings_troubleshoot_test_pusher_registration_success">Pusher successfully registered to HomeServer.</string> <string name="settings_troubleshoot_test_pusher_registration_success">Pusher successfully registered to HomeServer.</string>
<string name="settings_troubleshoot_test_pusher_registration_failed">Failed to register pusher to HomeServer:\n%1$s</string> <string name="settings_troubleshoot_test_pusher_registration_failed">Failed to register pusher to HomeServer:\n%1$s</string>
<string name="settings_troubleshoot_test_fcm_failed_sc">Failed to retrieve FCM token</string>
<string name="settings_apply_sc_default_settings">Do not click this setting</string> <string name="settings_apply_sc_default_settings">Do not click this setting</string>
<string name="settings_apply_sc_default_settings_dialog_title">Mess up settings</string> <string name="settings_apply_sc_default_settings_dialog_title">Mess up settings</string>