extract strings

This commit is contained in:
Felix Nüsse 2024-07-11 22:22:21 +02:00 committed by OpenSauce
parent 159b148dc3
commit dbfefa615d
2 changed files with 5 additions and 3 deletions

View File

@ -47,9 +47,9 @@ class ControllerQuickConfigDialog(
val builder: AlertDialog.Builder = AlertDialog.Builder(context)
builder
.setView(quickConfigBinding.root)
.setTitle("Quick Configure")
.setPositiveButton("Next") {_,_ -> }
.setNegativeButton("Close") { dialog, which ->
.setTitle(context.getString(R.string.controller_quick_config))
.setPositiveButton(context.getString(R.string.controller_quick_config_next)) {_,_ -> }
.setNegativeButton(context.getString(R.string.controller_quick_config_close)) { dialog, which ->
dialog.dismiss()
}

View File

@ -143,6 +143,8 @@
<string name="controller_quick_config">Quick Configure</string>
<string name="controller_quick_config_finish">Finish</string>
<string name="controller_quick_config_unassigned">Unassigned</string>
<string name="controller_quick_config_next">Next</string>
<string name="controller_quick_config_close">Close</string>
<!-- System files strings -->
<string name="system_files">System Files</string>