Compare commits

..

2 Commits

Author SHA1 Message Date
Eric Kok 0f286760d6
Merge pull request #676 from jjlin/import-export-msg 1 month ago
Jeremy Lin 6c60b9480e
Fix missing app name in import/export dialog message 1 month ago
  1. 4
      app/src/main/java/org/transdroid/core/gui/settings/SystemSettingsActivity.java

4
app/src/main/java/org/transdroid/core/gui/settings/SystemSettingsActivity.java

@ -224,7 +224,7 @@ public class SystemSettingsActivity extends PreferenceCompatActivity { @@ -224,7 +224,7 @@ public class SystemSettingsActivity extends PreferenceCompatActivity {
case DIALOG_IMPORTSETTINGS:
// @formatter:off
return new AlertDialog.Builder(this)
.setMessage(getString(R.string.pref_import_dialog_android10))
.setMessage(getString(R.string.pref_import_dialog_android10, getString(R.string.app_name)))
.setPositiveButton(R.string.pref_import_fromfile, importSettingsFromFile)
.setNeutralButton(R.string.pref_import_fromqr, importSettingsFromQr)
.setNegativeButton(android.R.string.cancel, null)
@ -233,7 +233,7 @@ public class SystemSettingsActivity extends PreferenceCompatActivity { @@ -233,7 +233,7 @@ public class SystemSettingsActivity extends PreferenceCompatActivity {
case DIALOG_EXPORTSETTINGS:
// @formatter:off
return new AlertDialog.Builder(this)
.setMessage(getString(R.string.pref_export_dialog_android10))
.setMessage(getString(R.string.pref_export_dialog_android10, getString(R.string.app_name)))
.setPositiveButton(R.string.pref_export_tofile, exportSettingsToFile)
.setNeutralButton(R.string.pref_export_toqr, exportSettingsToQr)
.setNegativeButton(android.R.string.cancel, null)

Loading…
Cancel
Save