From d8ef0722e341c544b4d38613585d75050d9b2cb8 Mon Sep 17 00:00:00 2001 From: Jeff Boek Date: Tue, 9 Jun 2020 09:08:21 -0700 Subject: [PATCH] For #11175 - Moves tab tray strings to be translated, fixes description of the fab string --- .../fenix/tabtray/TabTrayDialogFragment.kt | 2 +- app/src/main/res/values/static_strings.xml | 16 ---------------- app/src/main/res/values/strings.xml | 16 +++++++++++++++- 3 files changed, 16 insertions(+), 18 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/tabtray/TabTrayDialogFragment.kt b/app/src/main/java/org/mozilla/fenix/tabtray/TabTrayDialogFragment.kt index 2e463f738..b8eded202 100644 --- a/app/src/main/java/org/mozilla/fenix/tabtray/TabTrayDialogFragment.kt +++ b/app/src/main/java/org/mozilla/fenix/tabtray/TabTrayDialogFragment.kt @@ -39,7 +39,7 @@ import org.mozilla.fenix.ext.sessionsOfType import org.mozilla.fenix.utils.allowUndo import org.mozilla.fenix.components.TabCollectionStorage -@SuppressWarnings("TooManyFunctions") +@SuppressWarnings("TooManyFunctions", "LargeClass") class TabTrayDialogFragment : AppCompatDialogFragment(), TabTrayInteractor { private var tabsFeature: TabsFeature? = null private var _tabTrayView: TabTrayView? = null diff --git a/app/src/main/res/values/static_strings.xml b/app/src/main/res/values/static_strings.xml index 4fe788087..3c2ccfb7e 100644 --- a/app/src/main/res/values/static_strings.xml +++ b/app/src/main/res/values/static_strings.xml @@ -28,22 +28,6 @@ AS - - - Open Tabs - - Save to collection - - Share all tabs - - Close all tabs - - New tab - - Go home - - Toggle tab mode - Secret Settings Use New Tab Tray diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 5a7f3e53a..66b256dbb 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -444,8 +444,22 @@ Add tab Add private tab - + Private + + Open Tabs + + Save to collection + + Share all tabs + + Close all tabs + + New tab + + Go home + + Toggle tab mode Remove tab from collection