0
0
mirror of https://github.com/mediathekview/zapp.git synced 2024-09-20 12:22:15 +02:00

Translate report button

This commit is contained in:
Christine Emrich 2020-09-20 16:51:17 +02:00
parent 48b237f399
commit a7da516d02
3 changed files with 5 additions and 1 deletions

View File

@ -161,7 +161,9 @@ abstract class ZappNotificationManager(context: Context, private val mediathekRe
}
downloadNotification.isFailed -> {
notificationBuilder.setTimeoutAfter(getNotificationTimeOutMillis())
.addAction(R.drawable.fetch_notification_cancel, "Report", getReportPendingIntent(downloadNotification))
.addAction(R.drawable.fetch_notification_cancel,
context.getString(de.christinecoenen.code.zapp.R.string.error_report),
getReportPendingIntent(downloadNotification))
}
else -> {
notificationBuilder.setTimeoutAfter(DEFAULT_NOTIFICATION_TIMEOUT_AFTER_RESET)

View File

@ -39,6 +39,7 @@
<string name="fragment_mediathek_download_delete">Delete download</string>
<!-- error messages -->
<string name="error_report">Report error</string>
<string name="error_app_crash">We are very sorry, but an error occurred.\nWould you like to send an error report to the developer to help fix this problem?</string>
<string name="error_app_crash_mail_subject">Zapp Crash Report</string>
<string name="error_app_crash_mail_body">Thank you very much for this report!\n\nFollowing information will help fix this error:\n</string>

View File

@ -41,6 +41,7 @@
<string name="fragment_mediathek_confirm_delete_dialog_text">Die Video-Datei wird gelöscht und kann später nochmals herunter geladen werden.</string>
<!-- error messages -->
<string name="error_report">Fehler melden</string>
<string name="error_app_crash">Entschuldigung, es gab einen Fehler.\nMöchtest du per Mail einen Fehlerbericht an den Entwickler senden, um diesen Fehler zukünftig zu beheben?</string>
<string name="error_app_crash_mail_subject">Zapp Crash Report</string>
<string name="error_app_crash_mail_body">Vielen Dank für die Rückmeldung!\n\nFolgende Informationen helfen den Entwicklern von Zapp, den Fehler zu beheben:\n</string>