Closes #2560 - Updates Private Browsing explanation string
This commit is contained in:
parent
2c95bb614a
commit
451093fd9e
|
@ -26,7 +26,7 @@ class PrivateBrowsingDescriptionViewHolder(
|
|||
val resources = view.context.resources
|
||||
// Format the description text to include a hyperlink
|
||||
val appName = resources.getString(R.string.app_name)
|
||||
view.private_session_description.text = resources.getString(R.string.private_browsing_explanation, appName)
|
||||
view.private_session_description.text = resources.getString(R.string.private_browsing_placeholder, appName)
|
||||
val descriptionText = String
|
||||
.format(view.private_session_description.text.toString(), System.getProperty("line.separator"))
|
||||
val linkStartIndex = descriptionText.indexOf("\n\n") + 2
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
android:ellipsize="none"
|
||||
android:gravity="center_vertical"
|
||||
android:scrollHorizontally="false"
|
||||
tools:text="@string/private_browsing_explanation"
|
||||
tools:text="@string/private_browsing_placeholder"
|
||||
android:textColor="?primaryText"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
<string name="private_browsing_title">You’re in a private session</string>
|
||||
<!-- Explanation for private browsing displayed to users on home view when they first enable private mode
|
||||
The first parameter is the name of the app defined in app_name (for example: Fenix) -->
|
||||
<string name="private_browsing_explanation">%1$s clears your search and browsing history when you close your private
|
||||
session. While this doesn’t make you anonymous to websites or your internet service provider, it makes it
|
||||
<string name="private_browsing_placeholder">
|
||||
%1$s clears your search and browsing history when you quit the app or close all private tabs. While this doesn’t make you anonymous to websites or your internet service provider, it makes it
|
||||
easier to keep what you do online private from anyone else who uses this device.\n\nCommon myths about private
|
||||
browsing
|
||||
</string>
|
||||
|
|
Loading…
Reference in New Issue