No issue: Fixes string issues for l10n (#6158)
Issues found here: https://github.com/mozilla-l10n/android-l10n/pull/89master
parent
210e358cdb
commit
2cba624609
|
@ -124,7 +124,7 @@
|
||||||
<!-- Launch in private mode alias -->
|
<!-- Launch in private mode alias -->
|
||||||
<activity-alias
|
<activity-alias
|
||||||
android:name="org.mozilla.fenix.alias.IntentReceiverActivity"
|
android:name="org.mozilla.fenix.alias.IntentReceiverActivity"
|
||||||
android:label="@string/app_name_private"
|
android:label="@string/app_name_private_2"
|
||||||
android:icon="@mipmap/ic_launcher_private"
|
android:icon="@mipmap/ic_launcher_private"
|
||||||
android:roundIcon="@mipmap/ic_launcher_private_round"
|
android:roundIcon="@mipmap/ic_launcher_private_round"
|
||||||
android:targetActivity=".IntentReceiverActivity">
|
android:targetActivity=".IntentReceiverActivity">
|
||||||
|
|
|
@ -39,8 +39,8 @@ object PrivateShortcutCreateManager {
|
||||||
|
|
||||||
val icon = IconCompat.createWithResource(context, R.mipmap.ic_launcher_private_round)
|
val icon = IconCompat.createWithResource(context, R.mipmap.ic_launcher_private_round)
|
||||||
val shortcut = ShortcutInfoCompat.Builder(context, UUID.randomUUID().toString())
|
val shortcut = ShortcutInfoCompat.Builder(context, UUID.randomUUID().toString())
|
||||||
.setShortLabel(context.getString(R.string.app_name_private))
|
.setShortLabel(context.getString(R.string.app_name_private_2))
|
||||||
.setLongLabel(context.getString(R.string.app_name_private))
|
.setLongLabel(context.getString(R.string.app_name_private_2))
|
||||||
.setIcon(icon)
|
.setIcon(icon)
|
||||||
.setIntent(Intent(context, HomeActivity::class.java).apply {
|
.setIntent(Intent(context, HomeActivity::class.java).apply {
|
||||||
action = Intent.ACTION_VIEW
|
action = Intent.ACTION_VIEW
|
||||||
|
|
|
@ -70,7 +70,7 @@ class SessionNotificationService : Service() {
|
||||||
return NotificationCompat.Builder(this, NOTIFICATION_CHANNEL_ID)
|
return NotificationCompat.Builder(this, NOTIFICATION_CHANNEL_ID)
|
||||||
.setOngoing(true)
|
.setOngoing(true)
|
||||||
.setSmallIcon(R.drawable.ic_pbm_notification)
|
.setSmallIcon(R.drawable.ic_pbm_notification)
|
||||||
.setContentTitle(getString(R.string.app_name_private))
|
.setContentTitle(getString(R.string.app_name_private_2))
|
||||||
.setContentText(getString(R.string.notification_pbm_delete_text))
|
.setContentText(getString(R.string.notification_pbm_delete_text))
|
||||||
.setContentIntent(createNotificationIntent())
|
.setContentIntent(createNotificationIntent())
|
||||||
.setVisibility(NotificationCompat.VISIBILITY_SECRET)
|
.setVisibility(NotificationCompat.VISIBILITY_SECRET)
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
<resources>
|
<resources>
|
||||||
<!-- App name for private browsing mode, only the "(Private)" portion should be localized. -->
|
<!-- App name for private browsing mode, only the "Private" portion should be localized. -->
|
||||||
<string name="app_name_private">Private Firefox Preview</string>
|
<string name="app_name_private_2">Private Firefox Preview</string>
|
||||||
|
|
||||||
<!-- Home Fragment -->
|
<!-- Home Fragment -->
|
||||||
<!-- Content description (not visible, for screen readers etc.): "Three dot" menu button. -->
|
<!-- Content description (not visible, for screen readers etc.): "Three dot" menu button. -->
|
||||||
|
@ -174,7 +174,7 @@
|
||||||
<string name="developer_tools_category">Developer tools</string>
|
<string name="developer_tools_category">Developer tools</string>
|
||||||
<!-- Preference for developers -->
|
<!-- Preference for developers -->
|
||||||
<string name="preferences_remote_debugging">Remote debugging via USB</string>
|
<string name="preferences_remote_debugging">Remote debugging via USB</string>
|
||||||
<!-- Preference title for switch preference to show search suggestions -->
|
<!-- Preference title for switch preference to show search shortcuts -->
|
||||||
<string name="preferences_show_search_shortcuts">Show search shortcuts</string>
|
<string name="preferences_show_search_shortcuts">Show search shortcuts</string>
|
||||||
<!-- Preference title for switch preference to show search suggestions -->
|
<!-- Preference title for switch preference to show search suggestions -->
|
||||||
<string name="preferences_show_search_suggestions">Show search suggestions</string>
|
<string name="preferences_show_search_suggestions">Show search suggestions</string>
|
||||||
|
@ -891,7 +891,7 @@
|
||||||
<!-- Description of tracking content that can be blocked by Enhanced Tracking Protection -->
|
<!-- Description of tracking content that can be blocked by Enhanced Tracking Protection -->
|
||||||
<string name="etp_tracking_content_description">Stops outside ads, videos, and other content from loading that contains tracking code. May affect some website functionality.</string>
|
<string name="etp_tracking_content_description">Stops outside ads, videos, and other content from loading that contains tracking code. May affect some website functionality.</string>
|
||||||
<!-- Enhanced Tracking Protection Onboarding Message shown in a dialog above the toolbar. The first parameter is the name of the application (For example: Fenix) -->
|
<!-- Enhanced Tracking Protection Onboarding Message shown in a dialog above the toolbar. The first parameter is the name of the application (For example: Fenix) -->
|
||||||
<string name="etp_onboarding_message_2">%s is blocking trackers on this site when the shield is purple. Tap it to see what\'s blocked.</string>
|
<string name="etp_onboarding_message_2">%s is blocking trackers on this site when the shield is purple. Tap it to see what’s blocked.</string>
|
||||||
<!-- Enhanced Tracking Protection message that protection is currently on for this site -->
|
<!-- Enhanced Tracking Protection message that protection is currently on for this site -->
|
||||||
<string name="etp_panel_on">Protections are ON for this site</string>
|
<string name="etp_panel_on">Protections are ON for this site</string>
|
||||||
<!-- Enhanced Tracking Protection message that protection is currently off for this site -->
|
<!-- Enhanced Tracking Protection message that protection is currently off for this site -->
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
|
|
||||||
// This is example code for the 'Simplified Example' section of
|
// This is example code for the 'Simplified Example' section of
|
||||||
// /docs/architecture-overview.md
|
// /docs/architecture-overview.md
|
||||||
class ContactsController(
|
class ContactsController(
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
|
|
||||||
// This is example code for the 'Simplified Example' section of
|
// This is example code for the 'Simplified Example' section of
|
||||||
// /docs/architecture-overview.md
|
// /docs/architecture-overview.md
|
||||||
class ContactsInteractor(
|
class ContactsInteractor(
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
|
|
||||||
// This is example code for the 'Simplified Example' section of
|
// This is example code for the 'Simplified Example' section of
|
||||||
// /docs/architecture-overview.md
|
// /docs/architecture-overview.md
|
||||||
class ContactsStore(
|
class ContactsStore(
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
|
|
||||||
// This is example code for the 'Simplified Example' section of
|
// This is example code for the 'Simplified Example' section of
|
||||||
// /docs/architecture-overview.md
|
// /docs/architecture-overview.md
|
||||||
class ContactsView(
|
class ContactsView(
|
||||||
|
|
Loading…
Reference in New Issue