PM-28634: Update Autofill terms to support other languages better (#6226)

This commit is contained in:
David Perez 2025-12-04 08:55:23 -06:00 committed by GitHub
parent 9349b235bc
commit 4b951a1df2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 7 additions and 6 deletions

View File

@ -261,7 +261,7 @@
android:name="com.x8bit.bitwarden.AutofillTileService"
android:exported="true"
android:icon="@drawable/ic_notification"
android:label="@string/autofill_title"
android:label="@string/autofill_verb"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
tools:ignore="MissingClass">
<intent-filter>

View File

@ -219,7 +219,7 @@ private fun AutofillSelectionDialog(
selectionItems = {
if (AutofillSelectionOption.AUTOFILL in displayItem.autofillSelectionOptions) {
BitwardenBasicDialogRow(
text = stringResource(id = BitwardenString.autofill_title),
text = stringResource(id = BitwardenString.autofill_verb),
onClick = {
selectionCallback(
displayItem,

View File

@ -241,7 +241,7 @@ enum class Settings(
testTag = "AccountSecuritySettingsButton",
),
AUTO_FILL(
text = BitwardenString.autofill_title.asText(),
text = BitwardenString.autofill_noun.asText(),
vectorIconRes = BitwardenDrawable.ic_check_mark,
testTag = "AutofillSettingsButton",
),

View File

@ -158,7 +158,7 @@ fun AutoFillScreen(
.nestedScroll(scrollBehavior.nestedScrollConnection),
topBar = {
BitwardenTopAppBar(
title = stringResource(id = BitwardenString.autofill_title),
title = stringResource(id = BitwardenString.autofill_noun),
scrollBehavior = scrollBehavior,
navigationIcon = rememberVectorPainter(id = BitwardenDrawable.ic_back),
navigationIconContentDescription = stringResource(id = BitwardenString.back),
@ -196,7 +196,7 @@ private fun AutoFillScreenContent(
)
Spacer(modifier = Modifier.height(height = 16.dp))
BitwardenListHeaderText(
label = stringResource(id = BitwardenString.autofill_title),
label = stringResource(id = BitwardenString.autofill_noun),
modifier = Modifier
.fillMaxWidth()
.standardHorizontalMargin()

View File

@ -165,7 +165,8 @@
<string name="search_for_a_login_or_add_a_new_login">Search for a login or add a new login</string>
<string name="disabled">Disabled</string>
<string name="bitwarden_autofill_service_alert2">The easiest way to add new logins to your vault is from the Bitwarden Autofill Service. Learn more about using the Bitwarden Autofill Service by navigating to the “Settings” screen.</string>
<string name="autofill_title">Autofill</string>
<string name="autofill_noun">Autofill</string>
<string name="autofill_verb">Autofill</string>
<string name="autofill_or_view">Do you want to autofill or view this item?</string>
<string name="search">Search</string>
<string name="learn_org">Learn about organizations</string>