mirror of
https://github.com/bitwarden/android.git
synced 2026-03-14 22:25:22 -05:00
PM-22522: Update time picker language (#5338)
This commit is contained in:
@@ -81,10 +81,7 @@ fun BitwardenTimePickerDialog(
|
||||
inputToggleButton = {
|
||||
BitwardenStandardIconButton(
|
||||
vectorIconRes = R.drawable.ic_keyboard,
|
||||
contentDescription = stringResource(
|
||||
// TODO: Get our own string for this (BIT-1405)
|
||||
id = androidx.compose.material3.R.string.m3c_date_picker_switch_to_input_mode,
|
||||
),
|
||||
contentDescription = stringResource(id = R.string.switch_input_mode),
|
||||
onClick = { showTimeInput = !showTimeInput },
|
||||
)
|
||||
},
|
||||
@@ -161,8 +158,7 @@ private fun TimePickerDialog(
|
||||
.testTag("AlertTitleText")
|
||||
.fillMaxWidth()
|
||||
.padding(bottom = 20.dp),
|
||||
// TODO: This should be "Select time" but we don't have that string (BIT-1405)
|
||||
text = stringResource(id = R.string.time),
|
||||
text = stringResource(id = R.string.select_time),
|
||||
color = BitwardenTheme.colorScheme.text.secondary,
|
||||
style = BitwardenTheme.typography.labelMedium,
|
||||
)
|
||||
|
||||
@@ -547,6 +547,8 @@ select Add TOTP to store the key safely</string>
|
||||
<string name="device_type">Device type</string>
|
||||
<string name="ip_address">IP address</string>
|
||||
<string name="time">Time</string>
|
||||
<string name="select_time">Select time</string>
|
||||
<string name="switch_input_mode">Switch input mode</string>
|
||||
<string name="confirm_log_in">Confirm login</string>
|
||||
<string name="deny_log_in">Deny login</string>
|
||||
<string name="log_in_denied">Login denied</string>
|
||||
|
||||
@@ -927,7 +927,7 @@ class AccountSecurityScreenTest : BitwardenComposeTest() {
|
||||
.performClick()
|
||||
|
||||
composeTestRule
|
||||
.onAllNodesWithText("Time")
|
||||
.onAllNodesWithText(text = "Select time")
|
||||
.filterToOne(hasAnyAncestor(isDialog()))
|
||||
.assertIsDisplayed()
|
||||
composeTestRule
|
||||
|
||||
Reference in New Issue
Block a user