mirror of
https://github.com/Corewala/Buran
synced 2024-12-22 07:42:43 +00:00
Localised missing host error message
This commit is contained in:
parent
94074e4689
commit
fbf6c80282
3 changed files with 6 additions and 4 deletions
|
@ -468,8 +468,8 @@ class GemActivity : AppCompatActivity() {
|
|||
)
|
||||
loadingView(false)
|
||||
AlertDialog.Builder(this, R.style.AppDialogTheme)
|
||||
.setTitle(R.string.unknown_host_dialog_title)
|
||||
.setMessage("Host not found: ${state.uri}\n\nSearch with TLGS instead?")
|
||||
.setTitle(getString(R.string.unknown_host))
|
||||
.setMessage("${getString(R.string.unknown_host)}: ${state.uri}\n\n${getString(R.string.search_instead)}")
|
||||
.setPositiveButton(getString(R.string.search).toUpperCase()) { _, _ ->
|
||||
loadingView(true)
|
||||
omniTerm.search(state.uri.toString(), searchbase)
|
||||
|
|
|
@ -37,7 +37,8 @@
|
|||
<string name="move_down">Déplacer vers le bas</string>
|
||||
<string name="move_up">Déplacer vers le haut</string>
|
||||
<string name="unknown_mime_dialog_title">Type Mime inconnu</string>
|
||||
<string name="unknown_host_dialog_title">Hôte inconnu</string>
|
||||
<string name="unknown_host">Hôte inconnu</string>
|
||||
<string name="search_instead">Rechercher au lieu?</string>
|
||||
<string name="download">Télécharger</string>
|
||||
<string name="cancel">Annuler</string>
|
||||
<string name="close">Fermer</string>
|
||||
|
|
|
@ -37,7 +37,8 @@
|
|||
<string name="move_down">Move down</string>
|
||||
<string name="move_up">Move up</string>
|
||||
<string name="unknown_mime_dialog_title">Unknown Mime Type</string>
|
||||
<string name="unknown_host_dialog_title" tools:ignore="MissingTranslation">Unknown Host</string>
|
||||
<string name="unknown_host">Unknown Host</string>
|
||||
<string name="search_instead">Search instead?</string>
|
||||
<string name="download">Download</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
<string name="close">Close</string>
|
||||
|
|
Loading…
Reference in a new issue