mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix wording on crash reporter
This commit is contained in:
parent
5460d69669
commit
a4bf434ff8
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="crashed_text">FUTO Keyboard has crashed! Please email us a report to help us fix this (voiceinput@futo.org)</string>
|
||||
<string name="crashed_text_email">FUTO Keyboard has crashed! Please email us a report to help us fix this (voiceinput@futo.org)</string>
|
||||
<string name="crashed_text">FUTO Keyboard has crashed! Please send a report to help us fix this.</string>
|
||||
<string name="crashed_title">Crash Reporter</string>
|
||||
|
||||
<string name="crash_report_accept">Send Report</string>
|
||||
|
@ -17,7 +17,13 @@ class CrashLoggingApplication : Application() {
|
||||
reportFormat = StringFormat.JSON
|
||||
|
||||
dialog {
|
||||
text = getString(R.string.crashed_text)
|
||||
text = getString(
|
||||
if(BuildConfig.ENABLE_ACRA) {
|
||||
R.string.crashed_text
|
||||
} else {
|
||||
R.string.crashed_text_email
|
||||
}
|
||||
)
|
||||
title = getString(R.string.crashed_title)
|
||||
positiveButtonText = getString(R.string.crash_report_accept)
|
||||
negativeButtonText = getString(R.string.crash_report_reject)
|
||||
|
Loading…
Reference in New Issue
Block a user