Merge pull request #3793 from nextcloud/bugfix/3770/translateMoreBooleansInDiagnosisScreen

translate all boolean values in diagnosis screen
This commit is contained in:
Marcel Hibbe 2024-04-04 16:07:47 +02:00 committed by GitHub
commit 2c8d5f50cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -261,10 +261,18 @@ class DiagnoseActivity : BaseActivity() {
}
addKey(context.resources.getString(R.string.nc_diagnose_notification_calls_channel_permission))
addValue(NotificationUtils.isCallsNotificationChannelEnabled(this).toString())
addValue(
translateBoolean(
NotificationUtils.isCallsNotificationChannelEnabled(this)
)
)
addKey(context.resources.getString(R.string.nc_diagnose_notification_messages_channel_permission))
addValue(NotificationUtils.isMessagesNotificationChannelEnabled(this).toString())
addValue(
translateBoolean(
NotificationUtils.isMessagesNotificationChannelEnabled(this)
)
)
addKey(context.resources.getString(R.string.nc_diagnose_firebase_push_token_title))
if (appPreferences.pushToken.isNullOrEmpty()) {