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

Commit 1160be6

Browse files
authored
DRM string fix (#3304)
1 parent 050e9b5 commit 1160be6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@ public void showFirstTimeDrmDialog(@NonNull Runnable callback) {
13931393
showConfirmPrompt(
13941394
R.drawable.ic_icon_drm_allowed,
13951395
getContext().getString(R.string.drm_first_use_title_v1),
1396-
getContext().getString(R.string.drm_first_use_body_v1, getResources().getString(R.string.sumo_drm_url)),
1396+
getContext().getString(R.string.drm_first_use_body_v2, getResources().getString(R.string.sumo_drm_url)),
13971397
new String[]{
13981398
getContext().getString(R.string.drm_first_use_do_not_allow),
13991399
getContext().getString(R.string.drm_first_use_allow),

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1608,7 +1608,7 @@ the Select` button. When clicked it closes all the previously selected tabs -->
16081608
<!-- This string is displayed as the body of a dialog that is displayed the first time a user access DRM content if they haven't
16091609
explicitly enable/Disable the DRM setting yet.
16101610
'%1$s' will be replaced at runtime with the Learn More page link. -->
1611-
<string name="drm_first_use_body_v1">Allowing DRM permits this site to identify this device every time you visit. &lt;a href="%1$s">Learn More&lt;/a></string>
1611+
<string name="drm_first_use_body_v2">Allowing DRM permits sites to identify this device every time you visit. &lt;a href="%1$s">Learn More&lt;/a></string>
16121612

16131613
<!-- This string is displayed in the enable button that is displayed inside the dialog that is displayed the first time a user access
16141614
access DRM content if they haven't explicitly enable/Disable the DRM setting yet. -->

0 commit comments

Comments
 (0)