Skip to content

Commit

Permalink
Improve texts (#2513)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas2 committed Feb 11, 2023
1 parent d2a96bb commit 3f3ecf7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,12 @@ class InstallZip : ActivityBase() {
val zip = getString(R.string.format_zip)
val myBible = getString(R.string.format_mybible)
val mySword = getString(R.string.format_mysword)
val formats = getString(R.string.supported_formats, "$zip, $myBible, $mySword")
val formats = getString(R.string.choose_file) + " \n\n" + getString(R.string.supported_formats, "$zip, $myBible, $mySword")

AlertDialog.Builder(this@InstallZip)
.setTitle(R.string.supported_formats_title)
.setTitle(R.string.install_zip)
.setMessage(formats)
.setPositiveButton(R.string.okay) { dialog, which ->
.setPositiveButton(R.string.proceed) { dialog, which ->
it.resume(true)
}
.setNeutralButton(R.string.cancel){ _, _ ->
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,7 @@
backup.
</string>
<string name="supported_formats_title">Supported formats</string>
<string name="choose_file">You have to choose the file that you want to load to AndBible. </string>
<string name="supported_formats">Supported formats for loading documents from a file: %s</string>
<string name="format_zip">Zip file containing Sword module(s), or documents backup file created by AndBible</string>
<string name="format_mysword">MySword documents (*.mybible)</string>
Expand Down Expand Up @@ -929,6 +930,7 @@
<string name="old_webview">Android WebView package is too old (%s). You need to upgrade your Android WebView package to at least version %s to use %s. For most devices this can be done via %s.</string>
<string name="play">Google Play</string>
<string name="proceed_anyway">Proceed anyway</string>
<string name="proceed">Proceed</string>
<string name="rate_title">Rating and reviewing app</string>
<string name="rate_message5">
Positive and detailed reviews help AndBible Open Source Project a lot. Thank you!
Expand Down

0 comments on commit 3f3ecf7

Please sign in to comment.