Skip to content

Commit

Permalink
Fixing bluetooth popover label for searchings
Browse files Browse the repository at this point in the history
  • Loading branch information
graphefruit committed Oct 5, 2024
1 parent a652567 commit f843b4f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1402,5 +1402,9 @@
"DISCONNECT_TEMPERATURE": "Disconnect temperature",
"DISCONNECT_REFRACTOMETER": "Disconnect refractometer",
"NO_DEVICES_FOUND_PLEASE_TRY_AGAIN": "We didn't find any supported bluetooth devices, please try again",
"HIDE_VALUE_CARDS_ON_MAXIMIZED_SCREEN": "Hide value cards on maximized screen"
"HIDE_VALUE_CARDS_ON_MAXIMIZED_SCREEN": "Hide value cards on maximized screen",
"BLUETOOTH_REQUEST_PERMISSION": {
"LOCATION": "To find bluetooth devices, the app needs access to the location.",
"BLUETOOTH": "To find bluetooth devices, the app needs access to bluetooth"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class BluetoothDeviceChooserPopoverComponent
await this.bleManager.hasLocationPermission();
if (!hasLocationPermission) {
await this.uiAlert.showMessage(
'REFRACTOMETER.REQUEST_PERMISSION.LOCATION',
'BLUETOOTH_REQUEST_PERMISSION.LOCATION',
undefined,
undefined,
true
Expand All @@ -81,7 +81,7 @@ export class BluetoothDeviceChooserPopoverComponent
await this.bleManager.hasBluetoothPermission();
if (!hasBluetoothPermission) {
await this.uiAlert.showMessage(
'REFRACTOMETER.REQUEST_PERMISSION.BLUETOOTH',
'BLUETOOTH_REQUEST_PERMISSION.BLUETOOTH',
undefined,
undefined,
true
Expand Down

0 comments on commit f843b4f

Please sign in to comment.