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) val builder: AlertDialog.Builder = AlertDialog.Builder(context)
builder builder
.setView(quickConfigBinding.root) .setView(quickConfigBinding.root)
.setTitle("Quick Configure") .setTitle(context.getString(R.string.controller_quick_config))
.setPositiveButton("Next") {_,_ -> } .setPositiveButton(context.getString(R.string.controller_quick_config_next)) {_,_ -> }
.setNegativeButton("Close") { dialog, which -> .setNegativeButton(context.getString(R.string.controller_quick_config_close)) { dialog, which ->
dialog.dismiss() dialog.dismiss()
} }

View File

@ -143,6 +143,8 @@
<string name="controller_quick_config">Quick Configure</string> <string name="controller_quick_config">Quick Configure</string>
<string name="controller_quick_config_finish">Finish</string> <string name="controller_quick_config_finish">Finish</string>
<string name="controller_quick_config_unassigned">Unassigned</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 --> <!-- System files strings -->
<string name="system_files">System Files</string> <string name="system_files">System Files</string>