适配中英文切换

This commit is contained in:
2026-05-08 16:39:15 +08:00
parent 428b5e507f
commit 5ee50d3785
38 changed files with 1248 additions and 191 deletions

View File

@@ -39,12 +39,12 @@ class RecognitionModeDialog(context: Context) : Dialog(context) {
}
binding.itemBluetooth.setOnClickListener {
selectedMode = "蓝牙识别"
selectedMode = context.getString(R.string.bluetooth_recognition)
updateSelectedBackground(binding.itemBluetooth)
}
binding.itemBluetoothFace.setOnClickListener {
selectedMode = "蓝牙+人脸识别"
selectedMode = context.getString(R.string.bluetooth_face_recognition)
updateSelectedBackground(binding.itemBluetoothFace)
}