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

Commit

Permalink
DRM string fix (#3304)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored May 1, 2020
1 parent 050e9b5 commit 1160be6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,7 @@ public void showFirstTimeDrmDialog(@NonNull Runnable callback) {
showConfirmPrompt(
R.drawable.ic_icon_drm_allowed,
getContext().getString(R.string.drm_first_use_title_v1),
getContext().getString(R.string.drm_first_use_body_v1, getResources().getString(R.string.sumo_drm_url)),
getContext().getString(R.string.drm_first_use_body_v2, getResources().getString(R.string.sumo_drm_url)),
new String[]{
getContext().getString(R.string.drm_first_use_do_not_allow),
getContext().getString(R.string.drm_first_use_allow),
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1608,7 +1608,7 @@ the Select` button. When clicked it closes all the previously selected tabs -->
<!-- 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
explicitly enable/Disable the DRM setting yet.
'%1$s' will be replaced at runtime with the Learn More page link. -->
<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>
<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>

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

0 comments on commit 1160be6

Please sign in to comment.