Use our own translation for "OK"
I missed this in the PR that it came with, but I guess it'll be useful if we go multiplatform. (cherry picked from commit f344831d5877d1d0a7772b00f498ddfb6e86da04) # Conflicts: # app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
This commit is contained in:
@@ -136,7 +136,7 @@ fun PagePreviewPageDialog(
|
||||
onPageSelected(page.roundToInt())
|
||||
onDismissPageDialog()
|
||||
},) {
|
||||
Text(stringResource(android.R.string.ok))
|
||||
Text(stringResource(R.string.action_ok))
|
||||
}
|
||||
},
|
||||
dismissButton = {
|
||||
|
||||
@@ -157,7 +157,7 @@ class BatchAddScreen : Screen() {
|
||||
onDismissRequest = onDismissRequest,
|
||||
confirmButton = {
|
||||
TextButton(onClick = onDismissRequest) {
|
||||
Text(text = stringResource(android.R.string.ok))
|
||||
Text(text = stringResource(R.string.action_ok))
|
||||
}
|
||||
},
|
||||
title = {
|
||||
|
||||
@@ -122,7 +122,7 @@ class InterceptActivity : BaseActivity() {
|
||||
MaterialAlertDialogBuilder(this)
|
||||
.setTitle(R.string.chapter_error)
|
||||
.setMessage(getString(R.string.could_not_open_entry, it.reason))
|
||||
.setPositiveButton(android.R.string.ok, null)
|
||||
.setPositiveButton(R.string.action_ok, null)
|
||||
.setOnCancelListener { onBackPressed() }
|
||||
.setOnDismissListener { onBackPressed() }
|
||||
.show()
|
||||
|
||||
Reference in New Issue
Block a user