Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit cc207c7

Browse files
authored
l10n string updates (#3174)
* Revert security_options_block_pup_up_settings string key * Added downloaded variable description comment. * Update key for settings_privacy_policy_popups_title * Update comment for popup_permission_dialog_message * Use apostrophe instead of escaped straight single quotes * Added variable comment for download_error_body * Capitalize Ok for download_error_ok * Add variable comment for exit_confirm_dialog_body * Revert settings_privacy_policy_popups_title from localized files
1 parent 277000d commit cc207c7

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/settings/SitePermissionsOptionsView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ protected void updateUI() {
7575

7676
switch (mCategory) {
7777
case SitePermission.SITE_PERMISSION_POPUP:
78-
mBinding.headerLayout.setTitle(R.string.settings_privacy_policy_popups_title);
78+
mBinding.headerLayout.setTitle(R.string.settings_privacy_policy_popups_title_v1);
7979
mBinding.contentText.setText(R.string.privacy_options_popups_list_header_v1);
8080
mBinding.emptyText.setText(R.string.privacy_options_popups_list_empty_first);
8181
break;

app/src/main/res/layout/options_exceptions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
app:layout_constraintEnd_toEndOf="parent"
2525
app:layout_constraintStart_toStartOf="parent"
2626
app:layout_constraintTop_toTopOf="parent"
27-
app:title="@string/settings_privacy_policy_popups_title" />
27+
app:title="@string/settings_privacy_policy_popups_title_v1" />
2828

2929
<FrameLayout
3030
android:layout_width="match_parent"

app/src/main/res/layout/options_privacy.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
android:id="@+id/popUpsBlockingExceptionsButton"
8181
android:layout_width="match_parent"
8282
android:layout_height="wrap_content"
83-
app:buttonText="@string/security_options_block_pup_up_settings_v2" />
83+
app:buttonText="@string/security_options_block_pup_up_settings" />
8484

8585
<org.mozilla.vrbrowser.ui.views.settings.SwitchSetting
8686
android:id="@+id/webxrSwitch"

app/src/main/res/values/strings.xml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104

105105
<!-- This string is used as the title of the pop-ups dialog used to remove sites from the currently
106106
allowed pop-up sites. -->
107-
<string name="settings_privacy_policy_popups_title">Exceptions for Pop-Ups</string>
107+
<string name="settings_privacy_policy_popups_title_v1">Exceptions for Pop-Ups</string>
108108

109109
<!-- This string is displayed under the title the pop-ups dialog used to remove sites from the currently
110110
allowed pop-up sites. -->
@@ -671,7 +671,7 @@
671671

672672
<!-- This string labels the button in the privacy option panel that open the dialog to add/remove
673673
pop-up blocked sites. -->
674-
<string name="security_options_block_pup_up_settings_v2">Advanced</string>
674+
<string name="security_options_block_pup_up_settings">Advanced</string>
675675

676676
<!-- This string labels the button in the privacy option panel that enables/disables Virtual Reality
677677
Devices access to websites (WebXR). -->
@@ -877,7 +877,7 @@
877877
<string name="bookmarks_saved_notification">Saved to Bookmarks!</string>
878878

879879
<!-- This string is displayed in a notification that appears in the tray bar on top of the
880-
downloads tray button then a download finishes. -->
880+
downloads tray button then a download finishes. %1$s will be replaced with the downloaded file name. -->
881881
<string name="download_completed_notification">%1$s Downloaded</string>
882882

883883
<!-- This string is displayed in a tooltip that appears when a user hovers
@@ -986,7 +986,7 @@
986986
<string name="fxa_signout_confirmation_title">Sign out of your Firefox Account?</string>
987987

988988
<!-- This string is displayed in the body of the FxA sign out dialog displayed when the user clicks on the Sign out button. -->
989-
<string name="fxa_signout_confirmation_body">When you sign out, you won\'t be able to send or receive tabs from other devices. Your bookmarks and history will also stop syncing.</string>
989+
<string name="fxa_signout_confirmation_body">When you sign out, you wont be able to send or receive tabs from other devices. Your bookmarks and history will also stop syncing.</string>
990990

991991
<!-- This string is displayed in the checkbox text of the FxA sign out dialog displayed when the user clicks on the Sign out button.
992992
When checked the history and Bookmarks will be deleted from gthe device after signing in. -->
@@ -1558,7 +1558,7 @@ the Select` button. When clicked it closes all the previously selected tabs -->
15581558
<string name="slow_script_dialog_action_wait">Wait</string>
15591559

15601560
<!-- This string is displayed in the title of the quick PopUp blocking dialog, accessed from the PopUp icon in the URL bar.
1561-
'%1$s' will be replaced at runtime with the app's name. -->
1561+
'%1$s' will be replaced at runtime with the status of the setting. -->
15621562
<string name="popup_permission_dialog_message">Popup blocking is %1$s for this site.</string>
15631563

15641564
<!-- This string is displayed in the on button of the quick Popup blocking dialog when it's in enabled state. It's accessed from the Popup icon in the URL bar. -->
@@ -1620,7 +1620,8 @@ the Select` button. When clicked it closes all the previously selected tabs -->
16201620
<!-- This string is displayed in the disable button of the quick Tracking Protection dialog, accessed from the Tracking Protection icon in the URL bar. -->
16211621
<string name="tracking_dialog_button_disable">Disable</string>
16221622

1623-
<!-- This string is displayed in the body of the confirm dialog shown in some platforms when the back button is pressed to quit the app. -->
1623+
<!-- This string is displayed in the body of the confirm dialog shown in some platforms when the back button is pressed to quit the app.
1624+
'%1$s' will be replaced at runtime with the app name. -->
16241625
<string name="exit_confirm_dialog_body">Are you sure you want to exit %1$s?</string>
16251626

16261627
<!-- This string is displayed in the Cancel button of the confirm dialog shown in some platforms when the back button is pressed to quit the app. -->
@@ -1692,9 +1693,10 @@ the Select` button. When clicked it closes all the previously selected tabs -->
16921693
<!-- This string is displayed in the title of the download error dialog. -->
16931694
<string name="download_error_title">There was an error</string>
16941695

1695-
<!-- This string is displayed in the body of the download error dialog. -->
1696+
<!-- This string is displayed in the body of the download error dialog.
1697+
'%1$s' will be replaced at runtime with the name of the downloaded file. -->
16961698
<string name="download_error_body">An error occurred while downloading %1$s. Please try again.</string>
16971699

16981700
<!-- This string is displayed in the button to dismiss the download error dialog. -->
1699-
<string name="download_error_ok">Ok</string>
1701+
<string name="download_error_ok">OK</string>
17001702
</resources>

0 commit comments

Comments
 (0)