Commit 95d55197 authored by MozLando's avatar MozLando
Browse files

Merge #6490



6490: Closes #6287: Add Not yet available string r=csadilek a=psymoon



Co-authored-by: default avatarSimon Chae <chaesmn@gmail.com>
parents 29cc847c 4c9db937
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -277,7 +277,7 @@ class AddonsManagerAdapter(

        // Add unsupported section
        if (unsupportedAddons.isNotEmpty()) {
            itemsWithSections.add(NotYetSupportedSection(R.string.mozac_feature_addons_unsupported_section))
            itemsWithSections.add(NotYetSupportedSection(R.string.mozac_feature_addons_unavailable_section))
        }

        return itemsWithSections
+2 −0
Original line number Diff line number Diff line
@@ -79,6 +79,8 @@
    <string name="mozac_feature_addons_recommended_section">Recommended</string>
    <!-- This is displayed in a page where the user can see the installed and recommended(not installed yet) add-ons, this string indicates the not yet supported section. -->
    <string name="mozac_feature_addons_unsupported_section">Not yet supported</string>
    <!-- This is displayed in a page where the user can see the installed and recommended(not installed yet) add-ons, this string indicates the not yet available section. -->
    <string name="mozac_feature_addons_unavailable_section">Not yet available</string>
    <!-- This is displayed in a page where the user can see the installed and recommended(not installed yet) add-ons, this string indicates the disabled section. -->
    <string name="mozac_feature_addons_disabled_section">Disabled</string>
    <!-- Displays a page with all the details of an add-on. -->
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ class AddonsManagerAdapterTest {
        )
        assertEquals(recommendedAddon, itemsWithSections[5])
        assertEquals(
            R.string.mozac_feature_addons_unsupported_section,
            R.string.mozac_feature_addons_unavailable_section,
            (itemsWithSections[6] as NotYetSupportedSection).title
        )
    }