diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /mobile/android/android-components/components/feature/addons/src | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mobile/android/android-components/components/feature/addons/src')
22 files changed, 390 insertions, 504 deletions
diff --git a/mobile/android/android-components/components/feature/addons/src/main/java/mozilla/components/feature/addons/AddonManager.kt b/mobile/android/android-components/components/feature/addons/src/main/java/mozilla/components/feature/addons/AddonManager.kt index d3e12a0171..723d3e6eb1 100644 --- a/mobile/android/android-components/components/feature/addons/src/main/java/mozilla/components/feature/addons/AddonManager.kt +++ b/mobile/android/android-components/components/feature/addons/src/main/java/mozilla/components/feature/addons/AddonManager.kt @@ -252,9 +252,9 @@ class AddonManager( permissions = permissions, origins = origins, onSuccess = { ext -> - val enabledAddon = addon.copy(installedState = toInstalledState(ext)) + val updatedAddon = Addon.newFromWebExtension(ext, toInstalledState(ext)) completePendingAddonAction(pendingAction) - onSuccess(enabledAddon) + onSuccess(updatedAddon) }, onError = { completePendingAddonAction(pendingAction) @@ -296,9 +296,9 @@ class AddonManager( permissions = permissions, origins = origins, onSuccess = { ext -> - val enabledAddon = addon.copy(installedState = toInstalledState(ext)) + val updatedAddon = Addon.newFromWebExtension(ext, toInstalledState(ext)) completePendingAddonAction(pendingAction) - onSuccess(enabledAddon) + onSuccess(updatedAddon) }, onError = { completePendingAddonAction(pendingAction) diff --git a/mobile/android/android-components/components/feature/addons/src/main/java/mozilla/components/feature/addons/ui/PermissionsDialogFragment.kt b/mobile/android/android-components/components/feature/addons/src/main/java/mozilla/components/feature/addons/ui/PermissionsDialogFragment.kt index 92e555e722..a19a5a61f5 100644 --- a/mobile/android/android-components/components/feature/addons/src/main/java/mozilla/components/feature/addons/ui/PermissionsDialogFragment.kt +++ b/mobile/android/android-components/components/feature/addons/src/main/java/mozilla/components/feature/addons/ui/PermissionsDialogFragment.kt @@ -153,9 +153,10 @@ class PermissionsDialogFragment : AddonDialogFragment() { }, addon.translateName(requireContext()), ) - rootView.findViewById<TextView>(R.id.optional_or_required_text).text = buildOptionalOrRequiredText() - val listPermissions = buildPermissionsList() + rootView.findViewById<TextView>(R.id.optional_or_required_text).text = + buildOptionalOrRequiredText(listPermissions.isNotEmpty()) + val permissionsRecyclerView = rootView.findViewById<RecyclerView>(R.id.permissions) val positiveButton = rootView.findViewById<Button>(R.id.allow_button) val negativeButton = rootView.findViewById<Button>(R.id.deny_button) @@ -217,7 +218,10 @@ class PermissionsDialogFragment : AddonDialogFragment() { } @VisibleForTesting - internal fun buildOptionalOrRequiredText(): String { + internal fun buildOptionalOrRequiredText(hasPermissions: Boolean): String { + if (!hasPermissions) { + return "" + } val optionalOrRequiredText = if (forOptionalPermissions) { getString(R.string.mozac_feature_addons_optional_permissions_dialog_subtitle) } else { diff --git a/mobile/android/android-components/components/feature/addons/src/main/res/values-be/strings.xml b/mobile/android/android-components/components/feature/addons/src/main/res/values-be/strings.xml index 30c37d9ad9..ac9b647423 100644 --- a/mobile/android/android-components/components/feature/addons/src/main/res/values-be/strings.xml +++ b/mobile/android/android-components/components/feature/addons/src/main/res/values-be/strings.xml @@ -88,6 +88,8 @@ <string name="mozac_feature_addons_rating">Ацэнка</string> <!-- A link that points to the detail page of the add-on. --> <string name="mozac_feature_addons_more_info_link" moz:removedIn="126" tools:ignore="UnusedResources">Падрабязней аб гэтым дадатку</string> + <!-- A link that points to the detail page of the extension. --> + <string name="mozac_feature_addons_more_info_link_2">Падрабязней аб гэтым пашырэнні</string> <!-- The settings of the add-on. --> <string name="mozac_feature_addons_settings">Налады</string> <!-- Indicates the add-on is enabled. --> @@ -148,16 +150,24 @@ <string name="mozac_feature_addons_user_rating_count_2">Водгукі: %1$s</string> <!-- Accessibility content description for the amount of stars that add-on has, where %1$.02f will be the amount of stars and / separator and 5 the maximum number of stars e.g (2/5, 4.5/5 or 5/5) . --> <string name="mozac_feature_addons_rating_content_description" moz:removedIn="124" tools:ignore="UnusedResources">%1$.02f/5</string> + <!-- Accessibility content description for the amount of stars that add-on has, where %1$.02f will be the amount of stars. --> + <string name="mozac_feature_addons_rating_content_description_2">Ацэнка: %1$.02f з 5</string> <!-- This is the title of page where all the add-ons are listed--> <string name="mozac_feature_addons_addons">Дадаткі</string> <!-- Label for add-ons sub menu item for add-ons manager--> <string name="mozac_feature_addons_addons_manager">Менеджар дадаткаў</string> <!-- The title of the "crash" notification in the add-ons manager --> <string name="mozac_feature_addons_manager_notification_title_text" moz:removedIn="126" tools:ignore="UnusedResources">Дадаткі часова адключаны</string> + <!-- The title of the "crash" notification in the extensions manager --> + <string name="mozac_feature_extensions_manager_notification_title_text">Пашырэнні часова адключаны</string> <!-- The content of the "crash" notification in the add-ons manager --> <string name="mozac_feature_addons_manager_notification_content_text" moz:removedIn="126" tools:ignore="UnusedResources">Адзін або некалькі дадатковых кампанентаў перасталі працаваць, што зрабіла вашу сістэму нестабільнай.</string> + <!-- The content of the "crash" notification in the extensions manager --> + <string name="mozac_feature_extensions_manager_notification_content_text">Адно або некалькі пашырэнняў перасталі працаваць, што зрабіла вашу сістэму нестабільнай.</string> <!-- Button to re-enable the add-ons in the "crash" notification --> <string name="mozac_feature_addons_manager_notification_restart_button" moz:removedIn="126" tools:ignore="UnusedResources">Перазапусціць дадаткі</string> + <!-- Button to re-enable the extensions in the "crash" notification --> + <string name="mozac_feature_extensions_manager_notification_restart_button">Перазапусціць пашырэнні</string> <!-- Button in the add-ons manager that opens AMO in a tab --> <string name="mozac_feature_addons_find_more_addons_button_text" moz:removedIn="126" tools:ignore="UnusedResources">Знайсці больш дадаткаў</string> <!-- Button in the extensions manager that opens AMO in a tab --> @@ -238,6 +248,8 @@ <string name="mozac_feature_addons_unsupported_caption_2">1 пашырэнне</string> <!-- Text shown in not yet supported add-ons section in AddonsManagerAdapter - plural. %1$s is the number of unsupported add-ons --> <string name="mozac_feature_addons_unsupported_caption_plural" moz:removedIn="126" tools:ignore="UnusedResources">Дадаткаў: %1$s</string> + <!-- Text shown in not yet supported add-ons section - plural. %1$s is the number of unsupported extensions. --> + <string name="mozac_feature_addons_unsupported_caption_plural_2">%1$s пашырэнняў</string> <!-- Text link to a sumo page for learning more about unsupported add-ons. --> <string name="mozac_feature_addons_unsupported_learn_more">Даведацца больш</string> <!-- Displayed in the "Status" field for the updater when an add-on has been correctly updated. --> @@ -256,6 +268,8 @@ <string name="mozac_feature_addons_installed_dialog_title">%1$s было дададзена ў %2$s</string> <!-- Text shown in the dialog when add-on installation is completed. --> <string name="mozac_feature_addons_installed_dialog_description" moz:removedIn="124" tools:ignore="UnusedResources">Адкрыць яго ў меню</string> + <!-- Text shown in the dialog when add-on installation is completed. %1$s is the add-on name. %2$s is the app name. --> + <string name="mozac_feature_addons_installed_dialog_description_2">Доступ да %1$s з меню %2$s.</string> <!-- Confirmation button text for the dialog when add-on installation is completed. --> <string name="mozac_feature_addons_installed_dialog_okay_button" moz:removedIn="124" tools:ignore="UnusedResources">Добра, зразумела</string> <!-- Confirmation button text for the dialog when add-on installation is completed. --> diff --git a/mobile/android/android-components/components/feature/addons/src/main/res/values-br/strings.xml b/mobile/android/android-components/components/feature/addons/src/main/res/values-br/strings.xml index 2fb0506106..2f02310fe1 100644 --- a/mobile/android/android-components/components/feature/addons/src/main/res/values-br/strings.xml +++ b/mobile/android/android-components/components/feature/addons/src/main/res/values-br/strings.xml @@ -76,8 +76,6 @@ <string name="mozac_feature_addons_version">Handelv</string> <!-- The author of an add-on. --> <string name="mozac_feature_addons_author">Aozer</string> - <!-- The authors of an add-on. --> - <string name="mozac_feature_addons_authors" moz:removedIn="123" tools:ignore="UnusedResources">Aozerien</string> <!-- The last date that the add-on was updated. --> <string name="mozac_feature_addons_last_updated">Hizivadur diwezhañ</string> <!-- The developer website (Homepage) of the add-on. --> @@ -94,8 +92,6 @@ <string name="mozac_feature_addons_settings">Arventennoù</string> <!-- Indicates the add-on is enabled. --> <string name="mozac_feature_addons_settings_on">Gweredekaet</string> - <!-- Indicates the add-on is disabled. --> - <string name="mozac_feature_addons_settings_off" moz:removedIn="125" tools:ignore="UnusedResources">Diweredekaet</string> <!-- Indicates the add-on is allowed in private browsing mode. --> <string name="mozac_feature_addons_settings_allow_in_private_browsing">Aotren er Merdeiñ Prevez</string> <!-- Indicates the add-on is allowed in private browsing mode. --> @@ -104,8 +100,6 @@ <string name="mozac_feature_addons_not_allowed_in_private_browsing">N’eo ket aotreet er prenestroù prevez</string> <!-- Indicates the add-on is enabled. --> <string name="mozac_feature_addons_enabled">Gweredekaet</string> - <!-- Indicates the add-on is disabled. --> - <string name="mozac_feature_addons_disabled" moz:removedIn="125" tools:ignore="UnusedResources">Diweredekaet</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 installed section. --> <string name="mozac_feature_addons_installed_section">Staliet</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 recommended section. --> @@ -140,22 +134,26 @@ <string name="mozac_feature_addons_permissions_dialog_deny">Nac’hañ</string> <!-- This is a button to cancel the add-on installation . --> <string name="mozac_feature_addons_permissions_dialog_cancel">Nullañ</string> - <!-- Accessibility content description to install add-on button. --> - <string name="mozac_feature_addons_install_addon_content_description" tools:ignore="UnusedResources" moz:removedIn="124">Staliañ an askouezh</string> <!-- Accessibility content description to install add-on button. %1$s is the add-on name. --> <string name="mozac_feature_addons_install_addon_content_description_2">Staliañ %1$s</string> <!-- This is the label of a button to cancel an ongoing add-on installation. --> <string name="mozac_feature_addons_install_addon_dialog_cancel">Nullañ</string> <!-- Indicates how many users have rated an add-on. %1$s will be replaced with number of reviews --> <string name="mozac_feature_addons_user_rating_count_2">Burutelladennoù: %1$s</string> - <!-- Accessibility content description for the amount of stars that add-on has, where %1$.02f will be the amount of stars and / separator and 5 the maximum number of stars e.g (2/5, 4.5/5 or 5/5) . --> - <string name="mozac_feature_addons_rating_content_description" moz:removedIn="124" tools:ignore="UnusedResources">%1$.02f/5</string> + <!-- Accessibility content description for the amount of stars that add-on has, where %1$.02f will be the amount of stars. --> + <string name="mozac_feature_addons_rating_content_description_2">Notenn: %1$.02f war 5</string> <!-- This is the title of page where all the add-ons are listed--> <string name="mozac_feature_addons_addons">Askouezhioù</string> <!-- Label for add-ons sub menu item for add-ons manager--> <string name="mozac_feature_addons_addons_manager">Ardoer an askouezhioù</string> <!-- The title of the "crash" notification in the add-ons manager --> <string name="mozac_feature_addons_manager_notification_title_text" moz:removedIn="126" tools:ignore="UnusedResources">Diweredekaet eo an askouezhioù evit ar mare</string> + <!-- The title of the "crash" notification in the extensions manager --> + <string name="mozac_feature_extensions_manager_notification_title_text">Diweredekaet eo an askouezhioù evit ar mare</string> + <!-- The content of the "crash" notification in the add-ons manager --> + <string name="mozac_feature_addons_manager_notification_content_text" moz:removedIn="126" tools:ignore="UnusedResources">Un enlugellad pe meur a hini o deus sac’het, ar pezh a ya da zistabilaat ho reizhiad.</string> + <!-- The content of the "crash" notification in the extensions manager --> + <string name="mozac_feature_extensions_manager_notification_content_text">Un askouezh pe meur a hini o deus sac’het, ar pezh a ya da zistabilaat ho reizhiad.</string> <!-- Button to re-enable the add-ons in the "crash" notification --> <string name="mozac_feature_addons_manager_notification_restart_button" moz:removedIn="126" tools:ignore="UnusedResources">Adloc’hañ an askouezhioù</string> <!-- Button to re-enable the extensions in the "crash" notification --> @@ -200,6 +198,8 @@ <string name="mozac_extension_install_progress_caption">O pellgargañ hag o wiriañ an askouezh…</string> <!-- Error shown when something unexpected happened while trying to get the add-on list from the server --> <string name="mozac_feature_addons_failed_to_query_add_ons" moz:removedIn="126" tools:ignore="UnusedResources">Ne cʼhaller ket kaout roll an askouezhioù!</string> + <!-- Error shown when something unexpected happened while trying to get the extension list from the server --> + <string name="mozac_feature_addons_failed_to_query_extensions">Ne cʼhaller ket kaout roll an enlugelladoù!</string> <!-- Error shown when unable to find a translation for an add-on field. %1$s is the locale of the user and %2$s is the default language of the add-on --> <string name="mozac_feature_addons_failed_to_translate">N’eo ket bet kavet an droidigezh, nag evit ar yezh %1$s nag evit ar yezh dre ziouer %2$s</string> <!-- Text shown after successfully installed an add-on. %1$s is the add-on name. --> @@ -208,12 +208,20 @@ <string name="mozac_feature_addons_failed_to_install">Cʼhwitadenn war staliadur %1$s</string> <!-- Text shown after failing to install an add-on for which we don't have its name. --> <string name="mozac_feature_addons_failed_to_install_generic" moz:removedIn="126" tools:ignore="UnusedResources">Staliadur an askouezh c’hwitet.</string> + <!-- Text shown after failing to install an extension for which we don't have its name. --> + <string name="mozac_feature_addons_extension_failed_to_install">Staliadur an askouezh c’hwitet.</string> <!-- Text shown when attempting to install an add-on and a network error happened. --> <string name="mozac_feature_addons_failed_to_install_network_error" moz:removedIn="126" tools:ignore="UnusedResources">An askouezh-mañ n’hall ket bezañ pellgarget en abeg d’ur fazi kennask.</string> + <!-- Text shown when attempting to install an extension and a network error happened. --> + <string name="mozac_feature_addons_extension_failed_to_install_network_error">An askouezh-mañ n’hall ket bezañ pellgarget en abeg d’ur fazi kennask.</string> <!-- Text shown when attempting to install an add-on and the downloaded file is corrupted. --> <string name="mozac_feature_addons_failed_to_install_corrupt_error" moz:removedIn="126" tools:ignore="UnusedResources">An askouezh-mañ n’hall ket bezañ staliet rak kontronet eo war ar seblant.</string> + <!-- Text shown when attempting to install an extension and the downloaded file is corrupted. --> + <string name="mozac_feature_addons_extension_failed_to_install_corrupt_error">An askouezh-mañ n\'hall ket bezañ staliet rak kontronet eo war ar seblant.</string> <!-- Text shown when attempting to install an add-on and an error occurred because the extension was not signed. --> <string name="mozac_feature_addons_failed_to_install_not_signed_error" moz:removedIn="126" tools:ignore="UnusedResources">An askouezh-mañ n’hall ket bezañ staliet rak n’eo ket bet gwiriet.</string> + <!-- Text shown when attempting to install an add-on and an error occurred because the extension was not signed. --> + <string name="mozac_feature_addons_extension_failed_to_install_not_signed_error">An askouezh-mañ n\'hall ket bezañ staliet rak n\'eo ket bet gwiriet.</string> <!-- Text shown when attempting to install an add-on and an error occurred because the extension was incompatible. %1$s is the add-on name, %2$s is the app name and %3$s is the app version. --> <string name="mozac_feature_addons_failed_to_install_incompatible_error">%1$s n’hall ket bezañ staliet rak ne glot ket gant %2$s %3$s.</string> <!-- Text shown when attempting to install a blocklisted add-on. %1$s is the add-on name. --> @@ -260,10 +268,8 @@ <string name="mozac_feature_addons_updater_dialog_status">Stad:</string> <!-- Text shown in the dialog when add-on installation is completed. %1$s is the add-on name. %2$s is the app name. --> <string name="mozac_feature_addons_installed_dialog_title">Ouzhpennet eo bet %1$s da %2$s.</string> - <!-- Text shown in the dialog when add-on installation is completed. --> - <string name="mozac_feature_addons_installed_dialog_description" moz:removedIn="124" tools:ignore="UnusedResources">Digeriñ anezhañ el lañser</string> - <!-- Confirmation button text for the dialog when add-on installation is completed. --> - <string name="mozac_feature_addons_installed_dialog_okay_button" moz:removedIn="124" tools:ignore="UnusedResources">Mat eo, komprenet am eus</string> + <!-- Text shown in the dialog when add-on installation is completed. %1$s is the add-on name. %2$s is the app name. --> + <string name="mozac_feature_addons_installed_dialog_description_2">Haezit %1$s adalek lañser %2$s.</string> <!-- Confirmation button text for the dialog when add-on installation is completed. --> <string name="mozac_feature_addons_installed_dialog_okay_button_2">Mat eo</string> <!-- "Learn more" link displayed below an add-on status message. --> diff --git a/mobile/android/android-components/components/feature/addons/src/main/res/values-cak/strings.xml b/mobile/android/android-components/components/feature/addons/src/main/res/values-cak/strings.xml index 12c845c568..c12647a733 100644 --- a/mobile/android/android-components/components/feature/addons/src/main/res/values-cak/strings.xml +++ b/mobile/android/android-components/components/feature/addons/src/main/res/values-cak/strings.xml @@ -87,13 +87,15 @@ <!-- The rating of the add-on. --> <string name="mozac_feature_addons_rating">Kejqalem</string> <!-- A link that points to the detail page of the add-on. --> - <string name="mozac_feature_addons_more_info_link">Ch\'aqa\' chik chi rij re tz\'aqat re\'</string> + <string name="mozac_feature_addons_more_info_link" moz:removedIn="126" tools:ignore="UnusedResources">Ch\'aqa\' chik chi rij re tz\'aqat re\'</string> + <!-- A link that points to the detail page of the extension. --> + <string name="mozac_feature_addons_more_info_link_2">Ch\'aqa\' chik chi rij re k\'amal re\'</string> <!-- The settings of the add-on. --> <string name="mozac_feature_addons_settings">Taq nuk\'ulem</string> <!-- Indicates the add-on is enabled. --> <string name="mozac_feature_addons_settings_on">Tzijïl</string> <!-- Indicates the add-on is disabled. --> - <string name="mozac_feature_addons_settings_off">Chupül</string> + <string name="mozac_feature_addons_settings_off" moz:removedIn="125" tools:ignore="UnusedResources">Chupül</string> <!-- Indicates the add-on is allowed in private browsing mode. --> <string name="mozac_feature_addons_settings_allow_in_private_browsing">Tiya\' q\'ij chi re pa ichinan okem pa k\'amaya\'l</string> <!-- Indicates the add-on is allowed in private browsing mode. --> @@ -103,7 +105,7 @@ <!-- Indicates the add-on is enabled. --> <string name="mozac_feature_addons_enabled">Tzijon</string> <!-- Indicates the add-on is disabled. --> - <string name="mozac_feature_addons_disabled">Chupun</string> + <string name="mozac_feature_addons_disabled" moz:removedIn="125" tools:ignore="UnusedResources">Chupun</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 installed section. --> <string name="mozac_feature_addons_installed_section">Xyak</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 recommended section. --> @@ -155,13 +157,21 @@ <!-- Label for add-ons sub menu item for add-ons manager--> <string name="mozac_feature_addons_addons_manager">Kinuk\'samajel taq Tz\'aqat</string> <!-- The title of the "crash" notification in the add-ons manager --> - <string name="mozac_feature_addons_manager_notification_title_text">Echupun jumej ri taq tz\'aqat</string> + <string name="mozac_feature_addons_manager_notification_title_text" moz:removedIn="126" tools:ignore="UnusedResources">Echupun jumej ri taq tz\'aqat</string> + <!-- The title of the "crash" notification in the extensions manager --> + <string name="mozac_feature_extensions_manager_notification_title_text">Echupun jumej ri taq k\'amal</string> <!-- The content of the "crash" notification in the add-ons manager --> - <string name="mozac_feature_addons_manager_notification_content_text">Jun o ka\'i\' oxi\' taq tz\'aqat xkiq\'ät kisamaj, ri nub\'än chi man jikil ta ri q\'inoj.</string> + <string name="mozac_feature_addons_manager_notification_content_text" moz:removedIn="126" tools:ignore="UnusedResources">Jun o ka\'i\' oxi\' taq tz\'aqat xkiq\'ät kisamaj, ri nub\'än chi man jikil ta ri q\'inoj.</string> + <!-- The content of the "crash" notification in the extensions manager --> + <string name="mozac_feature_extensions_manager_notification_content_text">Jun o ka\'i\' oxi\' taq k\'amal xkiq\'ät kisamaj, ri nub\'än chi man jikil ta ri q\'inoj.</string> <!-- Button to re-enable the add-ons in the "crash" notification --> - <string name="mozac_feature_addons_manager_notification_restart_button">Ketzij chik ri taq tz\'aqat</string> + <string name="mozac_feature_addons_manager_notification_restart_button" moz:removedIn="126" tools:ignore="UnusedResources">Ketzij chik ri taq tz\'aqat</string> + <!-- Button to re-enable the extensions in the "crash" notification --> + <string name="mozac_feature_extensions_manager_notification_restart_button">Ketzij chik k\'amal</string> <!-- Button in the add-ons manager that opens AMO in a tab --> - <string name="mozac_feature_addons_find_more_addons_button_text">Kekanöx ch\'aqa\' chik taq tz\'aqat</string> + <string name="mozac_feature_addons_find_more_addons_button_text" moz:removedIn="126" tools:ignore="UnusedResources">Kekanöx ch\'aqa\' chik taq tz\'aqat</string> + <!-- Button in the extensions manager that opens AMO in a tab --> + <string name="mozac_feature_addons_find_more_extensions_button_text">Ke\'ilitäj ch\'aqa\' chik taq k\'amal</string> <!-- The label of the allow button, this will be shown to the user when an add-on needs new permissions, with the button the user will indicate that they want to accept the new permissions and update the add-on--> <string name="mozac_feature_addons_updater_notification_allow_button">Tiya\' q\'ij</string> <!-- The label of the deny button on a notification, this will be shown to the user when an add-on needs new permissions. Indicates the user denies the new permissions and prevents the add-on from be updated--> @@ -173,13 +183,15 @@ <!-- The content of the notification displayed when an add-on needs a new permission--> <string name="mozac_feature_addons_updater_notification_content_singular">Najowäx jun k\'ak\'a\' ya\'oj q\'ij</string> <!-- Name of the "notification channel" used for displaying a notification for updating an add-on. See https://developer.android.com/training/notify-user/channels --> - <string name="mozac_feature_addons_updater_notification_channel">Kik\'exoj tz\'aqat</string> + <string name="mozac_feature_addons_updater_notification_channel" moz:removedIn="126" tools:ignore="UnusedResources">Kik\'exoj tz\'aqat</string> + <!-- Name of the "notification channel" used for displaying a notification for updating an extension. See https://developer.android.com/training/notify-user/channels --> + <string name="mozac_feature_addons_updater_notification_channel_2">Kik\'exoj k\'amal</string> <!-- Name of the "notification channel" used for displaying a notification for new supported add-ons. See https://developer.android.com/training/notify-user/channels --> - <string name="mozac_feature_addons_supported_checker_notification_channel">K\'amonel tojtob\'äl tz\'aqat</string> + <string name="mozac_feature_addons_supported_checker_notification_channel" tools:ignore="UnusedResources">K\'amonel tojtob\'äl tz\'aqat</string> <!-- The tile of the notification, this will be shown to the user when one newly supported add-on is available.--> - <string name="mozac_feature_addons_supported_checker_notification_title">K\'ak\'a\' tz\'aqat wachel</string> + <string name="mozac_feature_addons_supported_checker_notification_title" tools:ignore="UnusedResources">K\'ak\'a\' tz\'aqat wachel</string> <!-- The tile of the notification, this will be shown to the user when more than one newly supported add-ons are available.--> - <string name="mozac_feature_addons_supported_checker_notification_title_plural">K\'ak\'a\' taq tz\'aqat wachel</string> + <string name="mozac_feature_addons_supported_checker_notification_title_plural" tools:ignore="UnusedResources">K\'ak\'a\' taq tz\'aqat wachel</string> <!-- The content of the notification, this will be shown to the user when one newly supported add-on is available. %1$s is the add-on name and %2$s is the app name (in most cases Firefox). --> <string name="mozac_feature_addons_supported_checker_notification_content_one">Titz\'aqatisäx %1$s pa %2$s</string> <!-- The content of the notification, this will be shown to the user when two newly supported add-ons are available. %1$s is the first add-on name. %2$s is the second add-on name. %3$s is the app name (in most cases Firefox). --> @@ -187,13 +199,17 @@ <!-- The content of the notification, this will be shown to the user when more than two newly supported add-ons are available. %1$s is the app name (in most cases Firefox). --> <string name="mozac_feature_addons_supported_checker_notification_content_more_than_two">Ketz\'aqatisäx pa %1$s</string> <!-- This is the caption for not yet supported screen caption --> - <string name="mozac_feature_addons_not_yet_supported_caption">Nib\'an k\'ak\'a\' chi re ri runa\'ob\'al rutz\'aqat Firefox. Re taq tz\'aqat re\' yekokisaj taq ruchi\' ri man kik\'amon ta ki\' rik\'in ri Firefox 75 & ch\'aqa\' chik e nima\'q.</string> + <string name="mozac_feature_addons_not_yet_supported_caption" moz:removedIn="126" tools:ignore="UnusedResources">Nib\'an k\'ak\'a\' chi re ri runa\'ob\'al rutz\'aqat Firefox. Re taq tz\'aqat re\' yekokisaj taq ruchi\' ri man kik\'amon ta ki\' rik\'in ri Firefox 75 & ch\'aqa\' chik e nima\'q.</string> <!-- This is the caption for not yet supported screen caption --> <string name="mozac_feature_addons_not_yet_supported_caption2">Wakami niqanük\' tob\'äl kichin nab\'ey cha\'oj taq K\'amal Echilab\'en.</string> <!-- This is the caption for the add-on installation progress overlay --> - <string name="mozac_add_on_install_progress_caption">Niqasäx chuqa\' ninik\'öx tz\'aqat…</string> + <string name="mozac_add_on_install_progress_caption" moz:removedIn="126" tools:ignore="UnusedResources">Niqasäx chuqa\' ninik\'öx tz\'aqat…</string> + <!-- This is the caption for the extension installation progress overlay --> + <string name="mozac_extension_install_progress_caption">Niqasäx chuqa\' ninik\'öx k\'amal…</string> <!-- Error shown when something unexpected happened while trying to get the add-on list from the server --> - <string name="mozac_feature_addons_failed_to_query_add_ons">¡Xsach toq xk\'utüx Tz\'aqat!</string> + <string name="mozac_feature_addons_failed_to_query_add_ons" moz:removedIn="126" tools:ignore="UnusedResources">¡Xsach toq xk\'utüx Tz\'aqat!</string> + <!-- Error shown when something unexpected happened while trying to get the extension list from the server --> + <string name="mozac_feature_addons_failed_to_query_extensions">¡Xsach toq xk\'utüx K\'amal!</string> <!-- Error shown when unable to find a translation for an add-on field. %1$s is the locale of the user and %2$s is the default language of the add-on --> <string name="mozac_feature_addons_failed_to_translate">Man xilitäj ta ri tzalq\'omanïk richin ri %1$s chuqa\' ni xa ta ri %2$s ch\'ab\'äl k\'o</string> <!-- Text shown after successfully installed an add-on. %1$s is the add-on name. --> @@ -201,13 +217,21 @@ <!-- Text shown after failed to install an add-on. %1$s is the add-on name. --> <string name="mozac_feature_addons_failed_to_install">Xsach toq xyak ri %1$s</string> <!-- Text shown after failing to install an add-on for which we don't have its name. --> - <string name="mozac_feature_addons_failed_to_install_generic">Xsach toq niyak re tz\'aqat re\'.</string> + <string name="mozac_feature_addons_failed_to_install_generic" moz:removedIn="126" tools:ignore="UnusedResources">Xsach toq niyak re tz\'aqat re\'.</string> + <!-- Text shown after failing to install an extension for which we don't have its name. --> + <string name="mozac_feature_addons_extension_failed_to_install">Xsach toq niyak re k\'amal re\'.</string> <!-- Text shown when attempting to install an add-on and a network error happened. --> - <string name="mozac_feature_addons_failed_to_install_network_error">Man xqasäx ta re tz\'aqat re ruma man pa rub\'eyal taq ri rokem.</string> + <string name="mozac_feature_addons_failed_to_install_network_error" moz:removedIn="126" tools:ignore="UnusedResources">Man xqasäx ta re tz\'aqat re ruma man pa rub\'eyal taq ri rokem.</string> + <!-- Text shown when attempting to install an extension and a network error happened. --> + <string name="mozac_feature_addons_extension_failed_to_install_network_error">Man xqasäx ta re k\'amal re ruma man pa rub\'eyal taq ri rokem.</string> <!-- Text shown when attempting to install an add-on and the downloaded file is corrupted. --> - <string name="mozac_feature_addons_failed_to_install_corrupt_error">Man xyak ta kan re tz\'aqat xa ke xa man ütz ta.</string> + <string name="mozac_feature_addons_failed_to_install_corrupt_error" moz:removedIn="126" tools:ignore="UnusedResources">Man xyak ta kan re tz\'aqat xa ke xa man ütz ta.</string> + <!-- Text shown when attempting to install an extension and the downloaded file is corrupted. --> + <string name="mozac_feature_addons_extension_failed_to_install_corrupt_error">Man xyak ta kan re k\'amal xa ke xa man ütz ta.</string> <!-- Text shown when attempting to install an add-on and an error occurred because the extension was not signed. --> - <string name="mozac_feature_addons_failed_to_install_not_signed_error">Man xyak ta kan re jun rutz\'aqat re\' ruma chi man nik\'on ta.</string> + <string name="mozac_feature_addons_failed_to_install_not_signed_error" moz:removedIn="126" tools:ignore="UnusedResources">Man xyak ta kan re jun rutz\'aqat re\' ruma chi man nik\'on ta.</string> + <!-- Text shown when attempting to install an add-on and an error occurred because the extension was not signed. --> + <string name="mozac_feature_addons_extension_failed_to_install_not_signed_error">Man xyak ta kan re jun k\'amal re\' ruma chi man nik\'on ta.</string> <!-- Text shown when attempting to install an add-on and an error occurred because the extension was incompatible. %1$s is the add-on name, %2$s is the app name and %3$s is the app version. --> <string name="mozac_feature_addons_failed_to_install_incompatible_error">Man xyak ta ri %1$s ruma man nuk\'äm ta ri\' rik\'in %2$s %3$s.</string> <!-- Text shown when attempting to install a blocklisted add-on. %1$s is the add-on name. --> @@ -231,9 +255,13 @@ <!-- Label shown to indicate that the add-on was migrated from a previous version of the app. %1$s is the app name most of the case it will be Firefox. --> <string name="mozac_feature_addons_migrated_from_a_previous_version_label" tools:ignore="UnusedResources">Re tz\'aqat re\' xk\'am pe pa jun kan ruwäch %1$s</string> <!-- Text shown in not yet supported add-ons section in AddonsManagerAdapter. --> - <string name="mozac_feature_addons_unsupported_caption">1 tz\'aqat</string> + <string name="mozac_feature_addons_unsupported_caption" moz:removedIn="126" tools:ignore="UnusedResources">1 tz\'aqat</string> + <!-- Text shown in not yet supported add-ons section. --> + <string name="mozac_feature_addons_unsupported_caption_2">1 k\'amal</string> <!-- Text shown in not yet supported add-ons section in AddonsManagerAdapter - plural. %1$s is the number of unsupported add-ons --> - <string name="mozac_feature_addons_unsupported_caption_plural">%1$s taq tz\'aqat</string> + <string name="mozac_feature_addons_unsupported_caption_plural" moz:removedIn="126" tools:ignore="UnusedResources">%1$s taq tz\'aqat</string> + <!-- Text shown in not yet supported add-ons section - plural. %1$s is the number of unsupported extensions. --> + <string name="mozac_feature_addons_unsupported_caption_plural_2">%1$s taq k\'amal</string> <!-- Text link to a sumo page for learning more about unsupported add-ons. --> <string name="mozac_feature_addons_unsupported_learn_more">Tetamäx ch\'aqa\' chik</string> <!-- Displayed in the "Status" field for the updater when an add-on has been correctly updated. --> diff --git a/mobile/android/android-components/components/feature/addons/src/main/res/values-eo/strings.xml b/mobile/android/android-components/components/feature/addons/src/main/res/values-eo/strings.xml index 19c630e4a9..f61b58e7cd 100644 --- a/mobile/android/android-components/components/feature/addons/src/main/res/values-eo/strings.xml +++ b/mobile/android/android-components/components/feature/addons/src/main/res/values-eo/strings.xml @@ -87,13 +87,15 @@ <!-- The rating of the add-on. --> <string name="mozac_feature_addons_rating">Taksado</string> <!-- A link that points to the detail page of the add-on. --> - <string name="mozac_feature_addons_more_info_link">Pli da informo pri tiu ĉi aldonaĵo</string> + <string name="mozac_feature_addons_more_info_link" moz:removedIn="126" tools:ignore="UnusedResources">Pli da informo pri tiu ĉi aldonaĵo</string> + <!-- A link that points to the detail page of the extension. --> + <string name="mozac_feature_addons_more_info_link_2">Pli da informo pri tiu ĉi etendaĵo</string> <!-- The settings of the add-on. --> <string name="mozac_feature_addons_settings">Agordoj</string> <!-- Indicates the add-on is enabled. --> <string name="mozac_feature_addons_settings_on">Ŝaltita</string> <!-- Indicates the add-on is disabled. --> - <string name="mozac_feature_addons_settings_off">Malŝaltita</string> + <string name="mozac_feature_addons_settings_off" moz:removedIn="125" tools:ignore="UnusedResources">Malŝaltita</string> <!-- Indicates the add-on is allowed in private browsing mode. --> <string name="mozac_feature_addons_settings_allow_in_private_browsing">Permesi en privata retumo</string> <!-- Indicates the add-on is allowed in private browsing mode. --> @@ -103,7 +105,7 @@ <!-- Indicates the add-on is enabled. --> <string name="mozac_feature_addons_enabled">Aktiva</string> <!-- Indicates the add-on is disabled. --> - <string name="mozac_feature_addons_disabled">Malaktiva</string> + <string name="mozac_feature_addons_disabled" moz:removedIn="125" tools:ignore="UnusedResources">Malaktiva</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 installed section. --> <string name="mozac_feature_addons_installed_section">Instalita</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 recommended section. --> @@ -155,13 +157,21 @@ <!-- Label for add-ons sub menu item for add-ons manager--> <string name="mozac_feature_addons_addons_manager">Administrilo de aldonaĵoj</string> <!-- The title of the "crash" notification in the add-ons manager --> - <string name="mozac_feature_addons_manager_notification_title_text">La aldonaĵoj estas provizore malaktivigitaj</string> + <string name="mozac_feature_addons_manager_notification_title_text" moz:removedIn="126" tools:ignore="UnusedResources">La aldonaĵoj estas provizore malaktivigitaj</string> + <!-- The title of the "crash" notification in the extensions manager --> + <string name="mozac_feature_extensions_manager_notification_title_text">La etendaĵoj estas provizore malaktivigitaj</string> <!-- The content of the "crash" notification in the add-ons manager --> - <string name="mozac_feature_addons_manager_notification_content_text">Unu aŭ pli da aldonaĵoj ĉesis funkcii, kaj tio igas vian sistemon nestabila.</string> + <string name="mozac_feature_addons_manager_notification_content_text" moz:removedIn="126" tools:ignore="UnusedResources">Unu aŭ pli da aldonaĵoj ĉesis funkcii, kaj tio igas vian sistemon nestabila.</string> + <!-- The content of the "crash" notification in the extensions manager --> + <string name="mozac_feature_extensions_manager_notification_content_text">Unu aŭ pli da etendaĵoj ĉesis funkcii, kaj tio igas vian sistemon nestabila.</string> <!-- Button to re-enable the add-ons in the "crash" notification --> - <string name="mozac_feature_addons_manager_notification_restart_button">Restartigi aldonaĵojn</string> + <string name="mozac_feature_addons_manager_notification_restart_button" moz:removedIn="126" tools:ignore="UnusedResources">Restartigi aldonaĵojn</string> + <!-- Button to re-enable the extensions in the "crash" notification --> + <string name="mozac_feature_extensions_manager_notification_restart_button">Restartigi etendaĵojn</string> <!-- Button in the add-ons manager that opens AMO in a tab --> - <string name="mozac_feature_addons_find_more_addons_button_text">Serĉi pli da aldonaĵoj</string> + <string name="mozac_feature_addons_find_more_addons_button_text" moz:removedIn="126" tools:ignore="UnusedResources">Serĉi pli da aldonaĵoj</string> + <!-- Button in the extensions manager that opens AMO in a tab --> + <string name="mozac_feature_addons_find_more_extensions_button_text">Serĉi pli da etendaĵoj</string> <!-- The label of the allow button, this will be shown to the user when an add-on needs new permissions, with the button the user will indicate that they want to accept the new permissions and update the add-on--> <string name="mozac_feature_addons_updater_notification_allow_button">Permesi</string> <!-- The label of the deny button on a notification, this will be shown to the user when an add-on needs new permissions. Indicates the user denies the new permissions and prevents the add-on from be updated--> @@ -173,13 +183,15 @@ <!-- The content of the notification displayed when an add-on needs a new permission--> <string name="mozac_feature_addons_updater_notification_content_singular">Nova permeso postulata</string> <!-- Name of the "notification channel" used for displaying a notification for updating an add-on. See https://developer.android.com/training/notify-user/channels --> - <string name="mozac_feature_addons_updater_notification_channel">Ĝisdatigoj de aldonaĵoj</string> + <string name="mozac_feature_addons_updater_notification_channel" moz:removedIn="126" tools:ignore="UnusedResources">Ĝisdatigoj de aldonaĵoj</string> + <!-- Name of the "notification channel" used for displaying a notification for updating an extension. See https://developer.android.com/training/notify-user/channels --> + <string name="mozac_feature_addons_updater_notification_channel_2">Ĝisdatigoj por etendaĵoj</string> <!-- Name of the "notification channel" used for displaying a notification for new supported add-ons. See https://developer.android.com/training/notify-user/channels --> - <string name="mozac_feature_addons_supported_checker_notification_channel">Kontrolo de subtenataj aldonaĵoj</string> + <string name="mozac_feature_addons_supported_checker_notification_channel" tools:ignore="UnusedResources">Kontrolo de subtenataj aldonaĵoj</string> <!-- The tile of the notification, this will be shown to the user when one newly supported add-on is available.--> - <string name="mozac_feature_addons_supported_checker_notification_title">Nova aldonaĵo disponebla</string> + <string name="mozac_feature_addons_supported_checker_notification_title" tools:ignore="UnusedResources">Nova aldonaĵo disponebla</string> <!-- The tile of the notification, this will be shown to the user when more than one newly supported add-ons are available.--> - <string name="mozac_feature_addons_supported_checker_notification_title_plural">Novaj aldonaĵoj disponeblaj</string> + <string name="mozac_feature_addons_supported_checker_notification_title_plural" tools:ignore="UnusedResources">Novaj aldonaĵoj disponeblaj</string> <!-- The content of the notification, this will be shown to the user when one newly supported add-on is available. %1$s is the add-on name and %2$s is the app name (in most cases Firefox). --> <string name="mozac_feature_addons_supported_checker_notification_content_one">Aldoni %1$s al %2$s</string> <!-- The content of the notification, this will be shown to the user when two newly supported add-ons are available. %1$s is the first add-on name. %2$s is the second add-on name. %3$s is the app name (in most cases Firefox). --> @@ -187,13 +199,17 @@ <!-- The content of the notification, this will be shown to the user when more than two newly supported add-ons are available. %1$s is the app name (in most cases Firefox). --> <string name="mozac_feature_addons_supported_checker_notification_content_more_than_two">Aldoni ilin al %1$s</string> <!-- This is the caption for not yet supported screen caption --> - <string name="mozac_feature_addons_not_yet_supported_caption">La teknologio de aldonaĵoj de Firefox moderniĝas. Tiuj ĉi aldonaĵoj uzas teknologiojn kiuj ne kongruas kun Firefox 75 kaj ĝiaj postaj versioj.</string> + <string name="mozac_feature_addons_not_yet_supported_caption" moz:removedIn="126" tools:ignore="UnusedResources">La teknologio de aldonaĵoj de Firefox moderniĝas. Tiuj ĉi aldonaĵoj uzas teknologiojn kiuj ne kongruas kun Firefox 75 kaj ĝiaj postaj versioj.</string> <!-- This is the caption for not yet supported screen caption --> <string name="mozac_feature_addons_not_yet_supported_caption2">Ni nun kreas la unuan liston kun elektitaj rekomenditaj etendaĵoj.</string> <!-- This is the caption for the add-on installation progress overlay --> - <string name="mozac_add_on_install_progress_caption">Aldonaĵo elŝutata kaj kontrolata…</string> + <string name="mozac_add_on_install_progress_caption" moz:removedIn="126" tools:ignore="UnusedResources">Aldonaĵo elŝutata kaj kontrolata…</string> + <!-- This is the caption for the extension installation progress overlay --> + <string name="mozac_extension_install_progress_caption">Etendaĵo elŝutata kaj kontrolata…</string> <!-- Error shown when something unexpected happened while trying to get the add-on list from the server --> - <string name="mozac_feature_addons_failed_to_query_add_ons">Ne eblis akiri la liston de aldonaĵoj!</string> + <string name="mozac_feature_addons_failed_to_query_add_ons" moz:removedIn="126" tools:ignore="UnusedResources">Ne eblis akiri la liston de aldonaĵoj!</string> + <!-- Error shown when something unexpected happened while trying to get the extension list from the server --> + <string name="mozac_feature_addons_failed_to_query_extensions">Ne eblis akiri la liston de etendaĵoj!</string> <!-- Error shown when unable to find a translation for an add-on field. %1$s is the locale of the user and %2$s is the default language of the add-on --> <string name="mozac_feature_addons_failed_to_translate">Traduko netrovita, nek por la lokaĵaro %1$s nek por la norma lingvo %2$s</string> <!-- Text shown after successfully installed an add-on. %1$s is the add-on name. --> @@ -201,13 +217,21 @@ <!-- Text shown after failed to install an add-on. %1$s is the add-on name. --> <string name="mozac_feature_addons_failed_to_install">Malsukcesa instalo de %1$s</string> <!-- Text shown after failing to install an add-on for which we don't have its name. --> - <string name="mozac_feature_addons_failed_to_install_generic">Malsukcesa instalo de tiu ĉi aldonaĵo.</string> + <string name="mozac_feature_addons_failed_to_install_generic" moz:removedIn="126" tools:ignore="UnusedResources">Malsukcesa instalo de tiu ĉi aldonaĵo.</string> + <!-- Text shown after failing to install an extension for which we don't have its name. --> + <string name="mozac_feature_addons_extension_failed_to_install">Malsukcesa instalo de tiu ĉi etendaĵo.</string> <!-- Text shown when attempting to install an add-on and a network error happened. --> - <string name="mozac_feature_addons_failed_to_install_network_error">La aldonaĵo ne povis esti elŝutita pro eraro en la konekto.</string> + <string name="mozac_feature_addons_failed_to_install_network_error" moz:removedIn="126" tools:ignore="UnusedResources">La aldonaĵo ne povis esti elŝutita pro eraro en la konekto.</string> + <!-- Text shown when attempting to install an extension and a network error happened. --> + <string name="mozac_feature_addons_extension_failed_to_install_network_error">La etendaĵo ne povis esti elŝutita pro eraro en la konekto.</string> <!-- Text shown when attempting to install an add-on and the downloaded file is corrupted. --> - <string name="mozac_feature_addons_failed_to_install_corrupt_error">Tiu ĉi aldonaĵo ne povis esti instalita ĉar ĝi aspektas difektite.</string> + <string name="mozac_feature_addons_failed_to_install_corrupt_error" moz:removedIn="126" tools:ignore="UnusedResources">Tiu ĉi aldonaĵo ne povis esti instalita ĉar ĝi aspektas difektite.</string> + <!-- Text shown when attempting to install an extension and the downloaded file is corrupted. --> + <string name="mozac_feature_addons_extension_failed_to_install_corrupt_error">Tiu ĉi etendaĵo ne povis esti instalita ĉar ĝi aspektas difektite.</string> <!-- Text shown when attempting to install an add-on and an error occurred because the extension was not signed. --> - <string name="mozac_feature_addons_failed_to_install_not_signed_error">Tiu ĉi aldonaĵo ne povis esti instalita ĉar ĝi ne estas kontrolita.</string> + <string name="mozac_feature_addons_failed_to_install_not_signed_error" moz:removedIn="126" tools:ignore="UnusedResources">Tiu ĉi aldonaĵo ne povis esti instalita ĉar ĝi ne estas kontrolita.</string> + <!-- Text shown when attempting to install an add-on and an error occurred because the extension was not signed. --> + <string name="mozac_feature_addons_extension_failed_to_install_not_signed_error">Tiu ĉi etendaĵo ne povis esti instalita ĉar ĝi ne estis kontrolita.</string> <!-- Text shown when attempting to install an add-on and an error occurred because the extension was incompatible. %1$s is the add-on name, %2$s is the app name and %3$s is the app version. --> <string name="mozac_feature_addons_failed_to_install_incompatible_error">%1$s ne povi esti instalita ĉar ĝi ne kongruas kun %2$s %3$s.</string> <!-- Text shown when attempting to install a blocklisted add-on. %1$s is the add-on name. --> @@ -231,9 +255,13 @@ <!-- Label shown to indicate that the add-on was migrated from a previous version of the app. %1$s is the app name most of the case it will be Firefox. --> <string name="mozac_feature_addons_migrated_from_a_previous_version_label" tools:ignore="UnusedResources">Tiu ĉi aldonaĵo migris el antaŭa versio de %1$s</string> <!-- Text shown in not yet supported add-ons section in AddonsManagerAdapter. --> - <string name="mozac_feature_addons_unsupported_caption">1 aldonaĵo</string> + <string name="mozac_feature_addons_unsupported_caption" moz:removedIn="126" tools:ignore="UnusedResources">1 aldonaĵo</string> + <!-- Text shown in not yet supported add-ons section. --> + <string name="mozac_feature_addons_unsupported_caption_2">1 etendaĵo</string> <!-- Text shown in not yet supported add-ons section in AddonsManagerAdapter - plural. %1$s is the number of unsupported add-ons --> - <string name="mozac_feature_addons_unsupported_caption_plural">%1$s aldonaĵoj</string> + <string name="mozac_feature_addons_unsupported_caption_plural" moz:removedIn="126" tools:ignore="UnusedResources">%1$s aldonaĵoj</string> + <!-- Text shown in not yet supported add-ons section - plural. %1$s is the number of unsupported extensions. --> + <string name="mozac_feature_addons_unsupported_caption_plural_2">%1$s etendaĵoj</string> <!-- Text link to a sumo page for learning more about unsupported add-ons. --> <string name="mozac_feature_addons_unsupported_learn_more">Pli da informo</string> <!-- Displayed in the "Status" field for the updater when an add-on has been correctly updated. --> diff --git a/mobile/android/android-components/components/feature/addons/src/main/res/values-eu/strings.xml b/mobile/android/android-components/components/feature/addons/src/main/res/values-eu/strings.xml index 44fdf12323..f7af45b7ea 100644 --- a/mobile/android/android-components/components/feature/addons/src/main/res/values-eu/strings.xml +++ b/mobile/android/android-components/components/feature/addons/src/main/res/values-eu/strings.xml @@ -87,13 +87,15 @@ <!-- The rating of the add-on. --> <string name="mozac_feature_addons_rating">Puntuazioa</string> <!-- A link that points to the detail page of the add-on. --> - <string name="mozac_feature_addons_more_info_link">Gehiago gehigarri honi buruz</string> + <string name="mozac_feature_addons_more_info_link" moz:removedIn="126" tools:ignore="UnusedResources">Gehiago gehigarri honi buruz</string> + <!-- A link that points to the detail page of the extension. --> + <string name="mozac_feature_addons_more_info_link_2">Gehiago hedapen honi buruz</string> <!-- The settings of the add-on. --> <string name="mozac_feature_addons_settings">Ezarpenak</string> <!-- Indicates the add-on is enabled. --> <string name="mozac_feature_addons_settings_on">Aktibatuta</string> <!-- Indicates the add-on is disabled. --> - <string name="mozac_feature_addons_settings_off">Desaktibatuta</string> + <string name="mozac_feature_addons_settings_off" moz:removedIn="125" tools:ignore="UnusedResources">Desaktibatuta</string> <!-- Indicates the add-on is allowed in private browsing mode. --> <string name="mozac_feature_addons_settings_allow_in_private_browsing">Baimendu nabigatze pribatuan</string> <!-- Indicates the add-on is allowed in private browsing mode. --> @@ -103,7 +105,7 @@ <!-- Indicates the add-on is enabled. --> <string name="mozac_feature_addons_enabled">Gaituta</string> <!-- Indicates the add-on is disabled. --> - <string name="mozac_feature_addons_disabled">Desgaituta</string> + <string name="mozac_feature_addons_disabled" moz:removedIn="125" tools:ignore="UnusedResources">Desgaituta</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 installed section. --> <string name="mozac_feature_addons_installed_section">Instalatuta</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 recommended section. --> @@ -155,13 +157,21 @@ <!-- Label for add-ons sub menu item for add-ons manager--> <string name="mozac_feature_addons_addons_manager">Gehigarrien kudeatzailea</string> <!-- The title of the "crash" notification in the add-ons manager --> - <string name="mozac_feature_addons_manager_notification_title_text">Gehigarriak aldi baterako desgaitu dira</string> + <string name="mozac_feature_addons_manager_notification_title_text" moz:removedIn="126" tools:ignore="UnusedResources">Gehigarriak aldi baterako desgaitu dira</string> + <!-- The title of the "crash" notification in the extensions manager --> + <string name="mozac_feature_extensions_manager_notification_title_text">Hedapenak aldi baterako desgaitu dira</string> <!-- The content of the "crash" notification in the add-ons manager --> - <string name="mozac_feature_addons_manager_notification_content_text">Gehigarri bat edo gehiago matxuratu egin dira, zure sistema desegonkortuz.</string> + <string name="mozac_feature_addons_manager_notification_content_text" moz:removedIn="126" tools:ignore="UnusedResources">Gehigarri bat edo gehiago matxuratu egin dira, zure sistema desegonkortuz.</string> + <!-- The content of the "crash" notification in the extensions manager --> + <string name="mozac_feature_extensions_manager_notification_content_text">Hedapen bat edo gehiago matxuratu egin dira, zure sistema desegonkortuz.</string> <!-- Button to re-enable the add-ons in the "crash" notification --> - <string name="mozac_feature_addons_manager_notification_restart_button">Berrabiarazi gehigarriak</string> + <string name="mozac_feature_addons_manager_notification_restart_button" moz:removedIn="126" tools:ignore="UnusedResources">Berrabiarazi gehigarriak</string> + <!-- Button to re-enable the extensions in the "crash" notification --> + <string name="mozac_feature_extensions_manager_notification_restart_button">Berrabiarazi hedapenak</string> <!-- Button in the add-ons manager that opens AMO in a tab --> - <string name="mozac_feature_addons_find_more_addons_button_text">Bilatu gehigarri gehiago</string> + <string name="mozac_feature_addons_find_more_addons_button_text" moz:removedIn="126" tools:ignore="UnusedResources">Bilatu gehigarri gehiago</string> + <!-- Button in the extensions manager that opens AMO in a tab --> + <string name="mozac_feature_addons_find_more_extensions_button_text">Bilatu hedapen gehiago</string> <!-- The label of the allow button, this will be shown to the user when an add-on needs new permissions, with the button the user will indicate that they want to accept the new permissions and update the add-on--> <string name="mozac_feature_addons_updater_notification_allow_button">Baimendu</string> <!-- The label of the deny button on a notification, this will be shown to the user when an add-on needs new permissions. Indicates the user denies the new permissions and prevents the add-on from be updated--> @@ -173,13 +183,15 @@ <!-- The content of the notification displayed when an add-on needs a new permission--> <string name="mozac_feature_addons_updater_notification_content_singular">Baimen berri bat behar da</string> <!-- Name of the "notification channel" used for displaying a notification for updating an add-on. See https://developer.android.com/training/notify-user/channels --> - <string name="mozac_feature_addons_updater_notification_channel">Gehigarrien eguneraketak</string> + <string name="mozac_feature_addons_updater_notification_channel" moz:removedIn="126" tools:ignore="UnusedResources">Gehigarrien eguneraketak</string> + <!-- Name of the "notification channel" used for displaying a notification for updating an extension. See https://developer.android.com/training/notify-user/channels --> + <string name="mozac_feature_addons_updater_notification_channel_2">Hedapenen eguneraketak</string> <!-- Name of the "notification channel" used for displaying a notification for new supported add-ons. See https://developer.android.com/training/notify-user/channels --> - <string name="mozac_feature_addons_supported_checker_notification_channel">Onartutako gehigarrien egiaztatzailea</string> + <string name="mozac_feature_addons_supported_checker_notification_channel" tools:ignore="UnusedResources">Onartutako gehigarrien egiaztatzailea</string> <!-- The tile of the notification, this will be shown to the user when one newly supported add-on is available.--> - <string name="mozac_feature_addons_supported_checker_notification_title">Gehigarri berria erabilgarri</string> + <string name="mozac_feature_addons_supported_checker_notification_title" tools:ignore="UnusedResources">Gehigarri berria erabilgarri</string> <!-- The tile of the notification, this will be shown to the user when more than one newly supported add-ons are available.--> - <string name="mozac_feature_addons_supported_checker_notification_title_plural">Gehigarri berriak erabilgarri</string> + <string name="mozac_feature_addons_supported_checker_notification_title_plural" tools:ignore="UnusedResources">Gehigarri berriak erabilgarri</string> <!-- The content of the notification, this will be shown to the user when one newly supported add-on is available. %1$s is the add-on name and %2$s is the app name (in most cases Firefox). --> <string name="mozac_feature_addons_supported_checker_notification_content_one">Gehitu %1$s %2$s(e)ra</string> <!-- The content of the notification, this will be shown to the user when two newly supported add-ons are available. %1$s is the first add-on name. %2$s is the second add-on name. %3$s is the app name (in most cases Firefox). --> @@ -187,13 +199,17 @@ <!-- The content of the notification, this will be shown to the user when more than two newly supported add-ons are available. %1$s is the app name (in most cases Firefox). --> <string name="mozac_feature_addons_supported_checker_notification_content_more_than_two">Gehitu hauek %1$s(e)ra</string> <!-- This is the caption for not yet supported screen caption --> - <string name="mozac_feature_addons_not_yet_supported_caption">Firefoxen gehigarrien teknologia modernizatzen ari da. Ondorengo gehigarriek Firefox 75 eta berriagoekin bateragarriak ez diren framework-ak erabiltzen dituzte.</string> + <string name="mozac_feature_addons_not_yet_supported_caption" moz:removedIn="126" tools:ignore="UnusedResources">Firefoxen gehigarrien teknologia modernizatzen ari da. Ondorengo gehigarriek Firefox 75 eta berriagoekin bateragarriak ez diren framework-ak erabiltzen dituzte.</string> <!-- This is the caption for not yet supported screen caption --> <string name="mozac_feature_addons_not_yet_supported_caption2">Gomendatutako hedapenen hasierako hautapena emateko euskarria eraikitzen ari gara une honetan.</string> <!-- This is the caption for the add-on installation progress overlay --> - <string name="mozac_add_on_install_progress_caption">Gehigarria deskargatzen eta egiaztatzen…</string> + <string name="mozac_add_on_install_progress_caption" moz:removedIn="126" tools:ignore="UnusedResources">Gehigarria deskargatzen eta egiaztatzen…</string> + <!-- This is the caption for the extension installation progress overlay --> + <string name="mozac_extension_install_progress_caption">Hedapena deskargatzen eta egiaztatzen…</string> <!-- Error shown when something unexpected happened while trying to get the add-on list from the server --> - <string name="mozac_feature_addons_failed_to_query_add_ons">Ezin izan dira gehigarriak kontsultatu!</string> + <string name="mozac_feature_addons_failed_to_query_add_ons" moz:removedIn="126" tools:ignore="UnusedResources">Ezin izan dira gehigarriak kontsultatu!</string> + <!-- Error shown when something unexpected happened while trying to get the extension list from the server --> + <string name="mozac_feature_addons_failed_to_query_extensions">Ezin izan dira hedapenak kontsultatu!</string> <!-- Error shown when unable to find a translation for an add-on field. %1$s is the locale of the user and %2$s is the default language of the add-on --> <string name="mozac_feature_addons_failed_to_translate">Ez da itzulpenik aurkitu, ez %1$s hizkuntzarentzat ez eta %2$s hizkuntza lehenetsiarentzat</string> <!-- Text shown after successfully installed an add-on. %1$s is the add-on name. --> @@ -201,13 +217,21 @@ <!-- Text shown after failed to install an add-on. %1$s is the add-on name. --> <string name="mozac_feature_addons_failed_to_install">Ezin izan da %1$s instalatu</string> <!-- Text shown after failing to install an add-on for which we don't have its name. --> - <string name="mozac_feature_addons_failed_to_install_generic">Ezin izan da gehigarri hau instalatu.</string> + <string name="mozac_feature_addons_failed_to_install_generic" moz:removedIn="126" tools:ignore="UnusedResources">Ezin izan da gehigarri hau instalatu.</string> + <!-- Text shown after failing to install an extension for which we don't have its name. --> + <string name="mozac_feature_addons_extension_failed_to_install">Ezin izan da hedapen hau instalatu.</string> <!-- Text shown when attempting to install an add-on and a network error happened. --> - <string name="mozac_feature_addons_failed_to_install_network_error">Ezin izan da gehigarri hau deskargatu konexio-akats bat dela-eta.</string> + <string name="mozac_feature_addons_failed_to_install_network_error" moz:removedIn="126" tools:ignore="UnusedResources">Ezin izan da gehigarri hau deskargatu konexio-akats bat dela-eta.</string> + <!-- Text shown when attempting to install an extension and a network error happened. --> + <string name="mozac_feature_addons_extension_failed_to_install_network_error">Ezin izan da hedapen hau deskargatu konexio-akats bat dela-eta.</string> <!-- Text shown when attempting to install an add-on and the downloaded file is corrupted. --> - <string name="mozac_feature_addons_failed_to_install_corrupt_error">Ezin izan da gehigarri hau instalatu hondatuta dagoela dirudielako.</string> + <string name="mozac_feature_addons_failed_to_install_corrupt_error" moz:removedIn="126" tools:ignore="UnusedResources">Ezin izan da gehigarri hau instalatu hondatuta dagoela dirudielako.</string> + <!-- Text shown when attempting to install an extension and the downloaded file is corrupted. --> + <string name="mozac_feature_addons_extension_failed_to_install_corrupt_error">Ezin izan da hedapen hau instalatu hondatuta dagoela dirudielako.</string> <!-- Text shown when attempting to install an add-on and an error occurred because the extension was not signed. --> - <string name="mozac_feature_addons_failed_to_install_not_signed_error">Ezin izan da gehigarri hau instalatu egiaztatu gabea delako.</string> + <string name="mozac_feature_addons_failed_to_install_not_signed_error" moz:removedIn="126" tools:ignore="UnusedResources">Ezin izan da gehigarri hau instalatu egiaztatu gabea delako.</string> + <!-- Text shown when attempting to install an add-on and an error occurred because the extension was not signed. --> + <string name="mozac_feature_addons_extension_failed_to_install_not_signed_error">Ezin izan da hedapen hau instalatu egiaztatu gabea delako.</string> <!-- Text shown when attempting to install an add-on and an error occurred because the extension was incompatible. %1$s is the add-on name, %2$s is the app name and %3$s is the app version. --> <string name="mozac_feature_addons_failed_to_install_incompatible_error">Ezin da %1$s instalatu ez delako %2$s %3$s bertsioarekin bateragarria.</string> <!-- Text shown when attempting to install a blocklisted add-on. %1$s is the add-on name. --> @@ -231,9 +255,13 @@ <!-- Label shown to indicate that the add-on was migrated from a previous version of the app. %1$s is the app name most of the case it will be Firefox. --> <string name="mozac_feature_addons_migrated_from_a_previous_version_label" tools:ignore="UnusedResources">Gehigarri hau %1$s(r)en aurreko bertsio batetik migratu da</string> <!-- Text shown in not yet supported add-ons section in AddonsManagerAdapter. --> - <string name="mozac_feature_addons_unsupported_caption">Gehigarri 1</string> + <string name="mozac_feature_addons_unsupported_caption" moz:removedIn="126" tools:ignore="UnusedResources">Gehigarri 1</string> + <!-- Text shown in not yet supported add-ons section. --> + <string name="mozac_feature_addons_unsupported_caption_2">Hedapen bat</string> <!-- Text shown in not yet supported add-ons section in AddonsManagerAdapter - plural. %1$s is the number of unsupported add-ons --> - <string name="mozac_feature_addons_unsupported_caption_plural">%1$s gehigarri</string> + <string name="mozac_feature_addons_unsupported_caption_plural" moz:removedIn="126" tools:ignore="UnusedResources">%1$s gehigarri</string> + <!-- Text shown in not yet supported add-ons section - plural. %1$s is the number of unsupported extensions. --> + <string name="mozac_feature_addons_unsupported_caption_plural_2">%1$s hedapen</string> <!-- Text link to a sumo page for learning more about unsupported add-ons. --> <string name="mozac_feature_addons_unsupported_learn_more">Argibide gehiago</string> <!-- Displayed in the "Status" field for the updater when an add-on has been correctly updated. --> diff --git a/mobile/android/android-components/components/feature/addons/src/main/res/values-it/strings.xml b/mobile/android/android-components/components/feature/addons/src/main/res/values-it/strings.xml index 2c0f38c37d..e6e37d0846 100644 --- a/mobile/android/android-components/components/feature/addons/src/main/res/values-it/strings.xml +++ b/mobile/android/android-components/components/feature/addons/src/main/res/values-it/strings.xml @@ -76,8 +76,6 @@ <string name="mozac_feature_addons_version">Versione</string> <!-- The author of an add-on. --> <string name="mozac_feature_addons_author">Autore</string> - <!-- The authors of an add-on. --> - <string name="mozac_feature_addons_authors" moz:removedIn="123" tools:ignore="UnusedResources">Autori</string> <!-- The last date that the add-on was updated. --> <string name="mozac_feature_addons_last_updated">Ultimo aggiornamento</string> <!-- The developer website (Homepage) of the add-on. --> @@ -94,8 +92,6 @@ <string name="mozac_feature_addons_settings">Impostazioni</string> <!-- Indicates the add-on is enabled. --> <string name="mozac_feature_addons_settings_on">Attiva</string> - <!-- Indicates the add-on is disabled. --> - <string name="mozac_feature_addons_settings_off" moz:removedIn="125" tools:ignore="UnusedResources">Disattivata</string> <!-- Indicates the add-on is allowed in private browsing mode. --> <string name="mozac_feature_addons_settings_allow_in_private_browsing">Consenti in navigazione anonima</string> <!-- Indicates the add-on is allowed in private browsing mode. --> @@ -103,13 +99,11 @@ <!-- This is displayed when the add-on is not allowed to run in private browsing. --> <string name="mozac_feature_addons_not_allowed_in_private_browsing">Disattivata in finestre anonime</string> <!-- Indicates the add-on is enabled. --> - <string name="mozac_feature_addons_enabled">Attivi</string> - <!-- Indicates the add-on is disabled. --> - <string name="mozac_feature_addons_disabled" moz:removedIn="125" tools:ignore="UnusedResources">Disattivato</string> + <string name="mozac_feature_addons_enabled">Attive</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 installed section. --> - <string name="mozac_feature_addons_installed_section">Installata</string> + <string name="mozac_feature_addons_installed_section">Installate</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 recommended section. --> - <string name="mozac_feature_addons_recommended_section">Consigliati</string> + <string name="mozac_feature_addons_recommended_section">Consigliate</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">Non ancora supportato</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. --> @@ -140,16 +134,12 @@ <string name="mozac_feature_addons_permissions_dialog_deny">Nega</string> <!-- This is a button to cancel the add-on installation . --> <string name="mozac_feature_addons_permissions_dialog_cancel">Annulla</string> - <!-- Accessibility content description to install add-on button. --> - <string name="mozac_feature_addons_install_addon_content_description" tools:ignore="UnusedResources" moz:removedIn="124">Installa componente aggiuntivo</string> <!-- Accessibility content description to install add-on button. %1$s is the add-on name. --> <string name="mozac_feature_addons_install_addon_content_description_2">Installa %1$s</string> <!-- This is the label of a button to cancel an ongoing add-on installation. --> <string name="mozac_feature_addons_install_addon_dialog_cancel">Annulla</string> <!-- Indicates how many users have rated an add-on. %1$s will be replaced with number of reviews --> <string name="mozac_feature_addons_user_rating_count_2">Recensioni: %1$s</string> - <!-- Accessibility content description for the amount of stars that add-on has, where %1$.02f will be the amount of stars and / separator and 5 the maximum number of stars e.g (2/5, 4.5/5 or 5/5) . --> - <string name="mozac_feature_addons_rating_content_description" moz:removedIn="124" tools:ignore="UnusedResources">%1$.02f/5</string> <!-- Accessibility content description for the amount of stars that add-on has, where %1$.02f will be the amount of stars. --> <string name="mozac_feature_addons_rating_content_description_2">Valutazione: %1$.02f su 5</string> <!-- This is the title of page where all the add-ons are listed--> @@ -278,13 +268,9 @@ <string name="mozac_feature_addons_updater_dialog_status">Stato:</string> <!-- Text shown in the dialog when add-on installation is completed. %1$s is the add-on name. %2$s is the app name. --> <string name="mozac_feature_addons_installed_dialog_title">%1$s è stato aggiunto a %2$s</string> - <!-- Text shown in the dialog when add-on installation is completed. --> - <string name="mozac_feature_addons_installed_dialog_description" moz:removedIn="124" tools:ignore="UnusedResources">Apri nel menu</string> <!-- Text shown in the dialog when add-on installation is completed. %1$s is the add-on name. %2$s is the app name. --> <string name="mozac_feature_addons_installed_dialog_description_2">Accedi a %1$s dal menu di %2$s.</string> <!-- Confirmation button text for the dialog when add-on installation is completed. --> - <string name="mozac_feature_addons_installed_dialog_okay_button" moz:removedIn="124" tools:ignore="UnusedResources">OK</string> - <!-- Confirmation button text for the dialog when add-on installation is completed. --> <string name="mozac_feature_addons_installed_dialog_okay_button_2">OK</string> <!-- "Learn more" link displayed below an add-on status message. --> <string name="mozac_feature_addons_status_learn_more">Ulteriori informazioni</string> diff --git a/mobile/android/android-components/components/feature/addons/src/main/res/values-kab/strings.xml b/mobile/android/android-components/components/feature/addons/src/main/res/values-kab/strings.xml index d154ecb99c..20100e7ce9 100644 --- a/mobile/android/android-components/components/feature/addons/src/main/res/values-kab/strings.xml +++ b/mobile/android/android-components/components/feature/addons/src/main/res/values-kab/strings.xml @@ -76,8 +76,6 @@ <string name="mozac_feature_addons_version">Lqem</string> <!-- The author of an add-on. --> <string name="mozac_feature_addons_author">Ameskar</string> - <!-- The authors of an add-on. --> - <string name="mozac_feature_addons_authors" moz:removedIn="123" tools:ignore="UnusedResources">Imeskaren</string> <!-- The last date that the add-on was updated. --> <string name="mozac_feature_addons_last_updated">Aleqqem aneggaru</string> <!-- The developer website (Homepage) of the add-on. --> @@ -88,20 +86,20 @@ <string name="mozac_feature_addons_rating">Tizmilin</string> <!-- A link that points to the detail page of the add-on. --> <string name="mozac_feature_addons_more_info_link" moz:removedIn="126" tools:ignore="UnusedResources">Ugar γef uzegrir-agi</string> + <!-- A link that points to the detail page of the extension. --> + <string name="mozac_feature_addons_more_info_link_2">Ugar ɣef usiɣzef-a</string> <!-- The settings of the add-on. --> <string name="mozac_feature_addons_settings">Iɣewwaṛen</string> <!-- Indicates the add-on is enabled. --> <string name="mozac_feature_addons_settings_on">Yermed</string> - <!-- Indicates the add-on is disabled. --> - <string name="mozac_feature_addons_settings_off" moz:removedIn="125" tools:ignore="UnusedResources">Yensa</string> <!-- Indicates the add-on is allowed in private browsing mode. --> <string name="mozac_feature_addons_settings_allow_in_private_browsing">Sireg di tunigin tusligt</string> <!-- Indicates the add-on is allowed in private browsing mode. --> <string name="mozac_feature_addons_settings_run_in_private_browsing">Selkem di tunigin tusligt</string> + <!-- This is displayed when the add-on is not allowed to run in private browsing. --> + <string name="mozac_feature_addons_not_allowed_in_private_browsing">Ur yettusireg ara deg yisfuyla usligen</string> <!-- Indicates the add-on is enabled. --> <string name="mozac_feature_addons_enabled">Irmed</string> - <!-- Indicates the add-on is disabled. --> - <string name="mozac_feature_addons_disabled" moz:removedIn="125" tools:ignore="UnusedResources">Yensa</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 installed section. --> <string name="mozac_feature_addons_installed_section">Ibded</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 recommended section. --> @@ -136,24 +134,24 @@ <string name="mozac_feature_addons_permissions_dialog_deny">Gdel</string> <!-- This is a button to cancel the add-on installation . --> <string name="mozac_feature_addons_permissions_dialog_cancel">Sefsex</string> - <!-- Accessibility content description to install add-on button. --> - <string name="mozac_feature_addons_install_addon_content_description" tools:ignore="UnusedResources" moz:removedIn="124">Asebded n uzegrir</string> <!-- Accessibility content description to install add-on button. %1$s is the add-on name. --> <string name="mozac_feature_addons_install_addon_content_description_2">Sebded %1$s</string> <!-- This is the label of a button to cancel an ongoing add-on installation. --> <string name="mozac_feature_addons_install_addon_dialog_cancel">Sefsex</string> <!-- Indicates how many users have rated an add-on. %1$s will be replaced with number of reviews --> <string name="mozac_feature_addons_user_rating_count_2">Cegger: %1$s</string> - <!-- Accessibility content description for the amount of stars that add-on has, where %1$.02f will be the amount of stars and / separator and 5 the maximum number of stars e.g (2/5, 4.5/5 or 5/5) . --> - <string name="mozac_feature_addons_rating_content_description" moz:removedIn="124" tools:ignore="UnusedResources">%1$.02f/55</string> <!-- This is the title of page where all the add-ons are listed--> <string name="mozac_feature_addons_addons">Izegrar</string> <!-- Label for add-ons sub menu item for add-ons manager--> <string name="mozac_feature_addons_addons_manager">Amsefrak n yizegrar</string> <!-- The title of the "crash" notification in the add-ons manager --> <string name="mozac_feature_addons_manager_notification_title_text" moz:removedIn="126" tools:ignore="UnusedResources">Azegrir yensa i kra n wakud</string> + <!-- The title of the "crash" notification in the extensions manager --> + <string name="mozac_feature_extensions_manager_notification_title_text">Isiɣzaf nsan i kra n wakud</string> <!-- Button to re-enable the add-ons in the "crash" notification --> <string name="mozac_feature_addons_manager_notification_restart_button" moz:removedIn="126" tools:ignore="UnusedResources">Ales asenker n yizegrar</string> + <!-- Button to re-enable the extensions in the "crash" notification --> + <string name="mozac_feature_extensions_manager_notification_restart_button">Ales asenker n yisiɣzaf</string> <!-- Button in the add-ons manager that opens AMO in a tab --> <string name="mozac_feature_addons_find_more_addons_button_text" moz:removedIn="126" tools:ignore="UnusedResources">Aff-d ugar n izegrar</string> <!-- Button in the extensions manager that opens AMO in a tab --> @@ -170,6 +168,8 @@ <string name="mozac_feature_addons_updater_notification_content_singular">Tasiregt tamaynut tlaq</string> <!-- Name of the "notification channel" used for displaying a notification for updating an add-on. See https://developer.android.com/training/notify-user/channels --> <string name="mozac_feature_addons_updater_notification_channel" moz:removedIn="126" tools:ignore="UnusedResources">Ileqman n uzegrir</string> + <!-- Name of the "notification channel" used for displaying a notification for updating an extension. See https://developer.android.com/training/notify-user/channels --> + <string name="mozac_feature_addons_updater_notification_channel_2">Ileqman n yisiɣzaf</string> <!-- Name of the "notification channel" used for displaying a notification for new supported add-ons. See https://developer.android.com/training/notify-user/channels --> <string name="mozac_feature_addons_supported_checker_notification_channel" tools:ignore="UnusedResources">Amsenqed n izegrar imṣaḍan</string> <!-- The tile of the notification, this will be shown to the user when one newly supported add-on is available.--> @@ -188,6 +188,8 @@ <string name="mozac_feature_addons_not_yet_supported_caption2">Aql-aɣ nbennu Tallelt i taggayt tamezwarut akked isiɣzaf ihullen.</string> <!-- This is the caption for the add-on installation progress overlay --> <string name="mozac_add_on_install_progress_caption" moz:removedIn="126" tools:ignore="UnusedResources">Azdam akked usenqed n uzegrir…</string> + <!-- This is the caption for the extension installation progress overlay --> + <string name="mozac_extension_install_progress_caption">Asader d usenqed n usiɣzef…</string> <!-- Error shown when something unexpected happened while trying to get the add-on list from the server --> <string name="mozac_feature_addons_failed_to_query_add_ons" moz:removedIn="126" tools:ignore="UnusedResources">Tuttra n izegrar ur teddi ara!</string> <!-- Error shown when unable to find a translation for an add-on field. %1$s is the locale of the user and %2$s is the default language of the add-on --> @@ -250,10 +252,8 @@ <string name="mozac_feature_addons_updater_dialog_status">Addaden:</string> <!-- Text shown in the dialog when add-on installation is completed. %1$s is the add-on name. %2$s is the app name. --> <string name="mozac_feature_addons_installed_dialog_title">%1$s yettwarna ɣer %2$s</string> - <!-- Text shown in the dialog when add-on installation is completed. --> - <string name="mozac_feature_addons_installed_dialog_description" moz:removedIn="124" tools:ignore="UnusedResources">Ldi-t deg wumuɣ</string> - <!-- Confirmation button text for the dialog when add-on installation is completed. --> - <string name="mozac_feature_addons_installed_dialog_okay_button" moz:removedIn="124" tools:ignore="UnusedResources">Ih, awi-t-id</string> + <!-- Text shown in the dialog when add-on installation is completed. %1$s is the add-on name. %2$s is the app name. --> + <string name="mozac_feature_addons_installed_dialog_description_2">Kcem ɣer %1$s seg wumuɣ %2$s.</string> <!-- Confirmation button text for the dialog when add-on installation is completed. --> <string name="mozac_feature_addons_installed_dialog_okay_button_2">IH</string> <!-- "Learn more" link displayed below an add-on status message. --> diff --git a/mobile/android/android-components/components/feature/addons/src/main/res/values-ko/strings.xml b/mobile/android/android-components/components/feature/addons/src/main/res/values-ko/strings.xml index 60f62641ed..ce90feb55f 100644 --- a/mobile/android/android-components/components/feature/addons/src/main/res/values-ko/strings.xml +++ b/mobile/android/android-components/components/feature/addons/src/main/res/values-ko/strings.xml @@ -65,7 +65,7 @@ <!-- Description for proxy permission. --> <string name="mozac_feature_addons_permissions_proxy_description">브라우저 프록시 설정 제어</string> <!-- Description for sessions permission. --> - <string name="mozac_feature_addons_permissions_sessions_description">최근에 닫힌 탭에 접근</string> + <string name="mozac_feature_addons_permissions_sessions_description">최근에 닫은 탭에 접근</string> <!-- Description for tab_hide permission. --> <string name="mozac_feature_addons_permissions_tab_hide_description">브라우저 탭 숨기기 및 표시</string> <!-- Description for top_sites permission. --> diff --git a/mobile/android/android-components/components/feature/addons/src/main/res/values-nn-rNO/strings.xml b/mobile/android/android-components/components/feature/addons/src/main/res/values-nn-rNO/strings.xml index 0497c14100..841f8a0fc4 100644 --- a/mobile/android/android-components/components/feature/addons/src/main/res/values-nn-rNO/strings.xml +++ b/mobile/android/android-components/components/feature/addons/src/main/res/values-nn-rNO/strings.xml @@ -76,8 +76,6 @@ <string name="mozac_feature_addons_version">Versjon</string> <!-- The author of an add-on. --> <string name="mozac_feature_addons_author">Utviklar</string> - <!-- The authors of an add-on. --> - <string name="mozac_feature_addons_authors" moz:removedIn="123" tools:ignore="UnusedResources">Utviklarar</string> <!-- The last date that the add-on was updated. --> <string name="mozac_feature_addons_last_updated">Sist oppdatert</string> <!-- The developer website (Homepage) of the add-on. --> @@ -94,8 +92,6 @@ <string name="mozac_feature_addons_settings">Innstillingar</string> <!-- Indicates the add-on is enabled. --> <string name="mozac_feature_addons_settings_on">På</string> - <!-- Indicates the add-on is disabled. --> - <string name="mozac_feature_addons_settings_off" moz:removedIn="125" tools:ignore="UnusedResources">Av</string> <!-- Indicates the add-on is allowed in private browsing mode. --> <string name="mozac_feature_addons_settings_allow_in_private_browsing">Tillat i privat nettlesing</string> <!-- Indicates the add-on is allowed in private browsing mode. --> @@ -104,8 +100,6 @@ <string name="mozac_feature_addons_not_allowed_in_private_browsing">Ikkje tillate i private vindauge</string> <!-- Indicates the add-on is enabled. --> <string name="mozac_feature_addons_enabled">Påslått</string> - <!-- Indicates the add-on is disabled. --> - <string name="mozac_feature_addons_disabled" moz:removedIn="125" tools:ignore="UnusedResources">Avslått</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 installed section. --> <string name="mozac_feature_addons_installed_section">Installert</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 recommended section. --> @@ -140,16 +134,12 @@ <string name="mozac_feature_addons_permissions_dialog_deny">Avvis</string> <!-- This is a button to cancel the add-on installation . --> <string name="mozac_feature_addons_permissions_dialog_cancel">Avbryt</string> - <!-- Accessibility content description to install add-on button. --> - <string name="mozac_feature_addons_install_addon_content_description" tools:ignore="UnusedResources" moz:removedIn="124">Installer tillegg</string> <!-- Accessibility content description to install add-on button. %1$s is the add-on name. --> <string name="mozac_feature_addons_install_addon_content_description_2">Installer %1$s</string> <!-- This is the label of a button to cancel an ongoing add-on installation. --> <string name="mozac_feature_addons_install_addon_dialog_cancel">Avbryt</string> <!-- Indicates how many users have rated an add-on. %1$s will be replaced with number of reviews --> <string name="mozac_feature_addons_user_rating_count_2">Omtalar: %1$s</string> - <!-- Accessibility content description for the amount of stars that add-on has, where %1$.02f will be the amount of stars and / separator and 5 the maximum number of stars e.g (2/5, 4.5/5 or 5/5) . --> - <string name="mozac_feature_addons_rating_content_description" moz:removedIn="124" tools:ignore="UnusedResources">%1$.02f/5</string> <!-- Accessibility content description for the amount of stars that add-on has, where %1$.02f will be the amount of stars. --> <string name="mozac_feature_addons_rating_content_description_2">Vurdering: %1$.02f av 5</string> <!-- This is the title of page where all the add-ons are listed--> @@ -162,6 +152,8 @@ <string name="mozac_feature_extensions_manager_notification_title_text">Utvidinga er mellombels deaktivert</string> <!-- The content of the "crash" notification in the add-ons manager --> <string name="mozac_feature_addons_manager_notification_content_text" moz:removedIn="126" tools:ignore="UnusedResources">Eitt eller fleire tillegg slutta å verke, noko som gjorde systemet ditt ustabilt.</string> + <!-- The content of the "crash" notification in the extensions manager --> + <string name="mozac_feature_extensions_manager_notification_content_text">Ei eller fleire utvidingar slutta å fungere, noko som gjorde systemet ditt ustabilt.</string> <!-- Button to re-enable the add-ons in the "crash" notification --> <string name="mozac_feature_addons_manager_notification_restart_button" moz:removedIn="126" tools:ignore="UnusedResources">Start tillegga på nytt</string> <!-- Button to re-enable the extensions in the "crash" notification --> @@ -202,8 +194,12 @@ <string name="mozac_feature_addons_not_yet_supported_caption2">Vi utviklar for tida støtte for eit første utval av tilrådde utvidingar.</string> <!-- This is the caption for the add-on installation progress overlay --> <string name="mozac_add_on_install_progress_caption" moz:removedIn="126" tools:ignore="UnusedResources">Lastar ned og stadfestar tiillegget…</string> + <!-- This is the caption for the extension installation progress overlay --> + <string name="mozac_extension_install_progress_caption">Lastar ned og stadfestar utvidinga…</string> <!-- Error shown when something unexpected happened while trying to get the add-on list from the server --> <string name="mozac_feature_addons_failed_to_query_add_ons" moz:removedIn="126" tools:ignore="UnusedResources">Mislykka førespurnad om tlleggsprogram!</string> + <!-- Error shown when something unexpected happened while trying to get the extension list from the server --> + <string name="mozac_feature_addons_failed_to_query_extensions">Mislykka førespurnad etter utvidingar!</string> <!-- Error shown when unable to find a translation for an add-on field. %1$s is the locale of the user and %2$s is the default language of the add-on --> <string name="mozac_feature_addons_failed_to_translate">Fann ikkje omsettinga for språket %2$s, eller for standardspråket %1$s</string> <!-- Text shown after successfully installed an add-on. %1$s is the add-on name. --> @@ -212,12 +208,20 @@ <string name="mozac_feature_addons_failed_to_install">Klarte ikkje å installere %1$s</string> <!-- Text shown after failing to install an add-on for which we don't have its name. --> <string name="mozac_feature_addons_failed_to_install_generic" moz:removedIn="126" tools:ignore="UnusedResources">Klarte ikkje å installere dette tillegget.</string> + <!-- Text shown after failing to install an extension for which we don't have its name. --> + <string name="mozac_feature_addons_extension_failed_to_install">Klarte ikkje å installere denne utvidinga.</string> <!-- Text shown when attempting to install an add-on and a network error happened. --> <string name="mozac_feature_addons_failed_to_install_network_error" moz:removedIn="126" tools:ignore="UnusedResources">Klarte ikkje å laste ned tillegget på grunn av ein tilkoplingsfeil.</string> + <!-- Text shown when attempting to install an extension and a network error happened. --> + <string name="mozac_feature_addons_extension_failed_to_install_network_error">Klarte ikkje å laste ned utvidinga på grunn av ein tilkoplingsfeil.</string> <!-- Text shown when attempting to install an add-on and the downloaded file is corrupted. --> <string name="mozac_feature_addons_failed_to_install_corrupt_error" moz:removedIn="126" tools:ignore="UnusedResources">Klarte ikkje å installere dette tillegget fordi det ser ut til å vere skada.</string> + <!-- Text shown when attempting to install an extension and the downloaded file is corrupted. --> + <string name="mozac_feature_addons_extension_failed_to_install_corrupt_error">Klarte ikkje å installere denne utvidinga fordi ho ser ut til å vere skada.</string> <!-- Text shown when attempting to install an add-on and an error occurred because the extension was not signed. --> <string name="mozac_feature_addons_failed_to_install_not_signed_error" moz:removedIn="126" tools:ignore="UnusedResources">Klarte ikkje å installere dette tillegget fordi det ikkje er stadfesta.</string> + <!-- Text shown when attempting to install an add-on and an error occurred because the extension was not signed. --> + <string name="mozac_feature_addons_extension_failed_to_install_not_signed_error">Klarte ikkje å installere denne utvidinga fordi ho ikkje har blitt stadfesta.</string> <!-- Text shown when attempting to install an add-on and an error occurred because the extension was incompatible. %1$s is the add-on name, %2$s is the app name and %3$s is the app version. --> <string name="mozac_feature_addons_failed_to_install_incompatible_error">Klarte ikkje å installere %1$s fordi den ikkje er kompatibel med %2$s %3$s.</string> <!-- Text shown when attempting to install a blocklisted add-on. %1$s is the add-on name. --> @@ -264,13 +268,9 @@ <string name="mozac_feature_addons_updater_dialog_status">Status:</string> <!-- Text shown in the dialog when add-on installation is completed. %1$s is the add-on name. %2$s is the app name. --> <string name="mozac_feature_addons_installed_dialog_title">%1$s er lagt til i %2$s</string> - <!-- Text shown in the dialog when add-on installation is completed. --> - <string name="mozac_feature_addons_installed_dialog_description" moz:removedIn="124" tools:ignore="UnusedResources">Opne det i menyen</string> <!-- Text shown in the dialog when add-on installation is completed. %1$s is the add-on name. %2$s is the app name. --> <string name="mozac_feature_addons_installed_dialog_description_2">Få tilgang til %1$s frå %2$s-menyen.</string> <!-- Confirmation button text for the dialog when add-on installation is completed. --> - <string name="mozac_feature_addons_installed_dialog_okay_button" moz:removedIn="124" tools:ignore="UnusedResources">Ok, eg forstår</string> - <!-- Confirmation button text for the dialog when add-on installation is completed. --> <string name="mozac_feature_addons_installed_dialog_okay_button_2">OK</string> <!-- "Learn more" link displayed below an add-on status message. --> <string name="mozac_feature_addons_status_learn_more">Les meir</string> diff --git a/mobile/android/android-components/components/feature/addons/src/main/res/values-sc/strings.xml b/mobile/android/android-components/components/feature/addons/src/main/res/values-sc/strings.xml index d3dbbca241..5106df89be 100644 --- a/mobile/android/android-components/components/feature/addons/src/main/res/values-sc/strings.xml +++ b/mobile/android/android-components/components/feature/addons/src/main/res/values-sc/strings.xml @@ -74,8 +74,6 @@ <string name="mozac_feature_addons_version">Versione</string> <!-- The author of an add-on. --> <string name="mozac_feature_addons_author">Autoria</string> - <!-- The authors of an add-on. --> - <string name="mozac_feature_addons_authors" moz:removedIn="123" tools:ignore="UnusedResources">Autoria</string> <!-- The last date that the add-on was updated. --> <string name="mozac_feature_addons_last_updated">Ùrtima atualizatzione</string> <!-- The developer website (Homepage) of the add-on. --> @@ -85,21 +83,17 @@ <!-- The rating of the add-on. --> <string name="mozac_feature_addons_rating">Valutatzione</string> <!-- A link that points to the detail page of the add-on. --> - <string name="mozac_feature_addons_more_info_link">Àteru in pitzus de custu cumplementu</string> + <string name="mozac_feature_addons_more_info_link" moz:removedIn="126" tools:ignore="UnusedResources">Àteru in pitzus de custu cumplementu</string> <!-- The settings of the add-on. --> <string name="mozac_feature_addons_settings">Cunfiguratzione</string> <!-- Indicates the add-on is enabled. --> <string name="mozac_feature_addons_settings_on">Ativu</string> - <!-- Indicates the add-on is disabled. --> - <string name="mozac_feature_addons_settings_off">Disativadu</string> <!-- Indicates the add-on is allowed in private browsing mode. --> <string name="mozac_feature_addons_settings_allow_in_private_browsing">Permite in sa navigatzione privada</string> <!-- Indicates the add-on is allowed in private browsing mode. --> <string name="mozac_feature_addons_settings_run_in_private_browsing">Esecuta in sa navigatzione privada</string> <!-- Indicates the add-on is enabled. --> <string name="mozac_feature_addons_enabled">Ativadu</string> - <!-- Indicates the add-on is disabled. --> - <string name="mozac_feature_addons_disabled">Disativadu</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 installed section. --> <string name="mozac_feature_addons_installed_section">Installadu</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 recommended section. --> @@ -134,24 +128,28 @@ <string name="mozac_feature_addons_permissions_dialog_deny">Refuda</string> <!-- This is a button to cancel the add-on installation . --> <string name="mozac_feature_addons_permissions_dialog_cancel">Annulla</string> - <!-- Accessibility content description to install add-on button. --> - <string name="mozac_feature_addons_install_addon_content_description">Installa su cumplementu</string> <!-- This is the label of a button to cancel an ongoing add-on installation. --> <string name="mozac_feature_addons_install_addon_dialog_cancel">Annulla</string> <!-- Indicates how many users have rated an add-on. %1$s will be replaced with number of reviews --> <string name="mozac_feature_addons_user_rating_count_2">Retzensiones: %1$s</string> - <!-- Accessibility content description for the amount of stars that add-on has, where %1$.02f will be the amount of stars and / separator and 5 the maximum number of stars e.g (2/5, 4.5/5 or 5/5) . --> - <string name="mozac_feature_addons_rating_content_description">%1$.02f/5</string> <!-- This is the title of page where all the add-ons are listed--> <string name="mozac_feature_addons_addons">Cumplementos</string> <!-- Label for add-ons sub menu item for add-ons manager--> <string name="mozac_feature_addons_addons_manager">Gestore de cumplementos</string> <!-- The title of the "crash" notification in the add-ons manager --> - <string name="mozac_feature_addons_manager_notification_title_text">Is cumplementos sunt istados disativados in manera temporànea</string> + <string name="mozac_feature_addons_manager_notification_title_text" moz:removedIn="126" tools:ignore="UnusedResources">Is cumplementos sunt istados disativados in manera temporànea</string> + <!-- The title of the "crash" notification in the extensions manager --> + <string name="mozac_feature_extensions_manager_notification_title_text">Is estensiones sunt disativadas in manera temporànea</string> + <!-- The content of the "crash" notification in the extensions manager --> + <string name="mozac_feature_extensions_manager_notification_content_text">Una o prus estensiones ant tzessadu de funtzionare, e cumpromitent s\'istabilidade de su sistema.</string> <!-- Button to re-enable the add-ons in the "crash" notification --> - <string name="mozac_feature_addons_manager_notification_restart_button">Torra a aviare is cumplementos</string> + <string name="mozac_feature_addons_manager_notification_restart_button" moz:removedIn="126" tools:ignore="UnusedResources">Torra a aviare is cumplementos</string> + <!-- Button to re-enable the extensions in the "crash" notification --> + <string name="mozac_feature_extensions_manager_notification_restart_button">Torra a aviare is estensiones</string> <!-- Button in the add-ons manager that opens AMO in a tab --> - <string name="mozac_feature_addons_find_more_addons_button_text">Agata àteros cumplementos</string> + <string name="mozac_feature_addons_find_more_addons_button_text" moz:removedIn="126" tools:ignore="UnusedResources">Agata àteros cumplementos</string> + <!-- Button in the extensions manager that opens AMO in a tab --> + <string name="mozac_feature_addons_find_more_extensions_button_text">Agata àteras estensiones</string> <!-- The label of the allow button, this will be shown to the user when an add-on needs new permissions, with the button the user will indicate that they want to accept the new permissions and update the add-on--> <string name="mozac_feature_addons_updater_notification_allow_button">Permite</string> <!-- The label of the deny button on a notification, this will be shown to the user when an add-on needs new permissions. Indicates the user denies the new permissions and prevents the add-on from be updated--> @@ -163,23 +161,27 @@ <!-- The content of the notification displayed when an add-on needs a new permission--> <string name="mozac_feature_addons_updater_notification_content_singular">Permissu nou rechestu</string> <!-- Name of the "notification channel" used for displaying a notification for updating an add-on. See https://developer.android.com/training/notify-user/channels --> - <string name="mozac_feature_addons_updater_notification_channel">Atualizatziones de cumplementos</string> + <string name="mozac_feature_addons_updater_notification_channel" moz:removedIn="126" tools:ignore="UnusedResources">Atualizatziones de cumplementos</string> <!-- Name of the "notification channel" used for displaying a notification for new supported add-ons. See https://developer.android.com/training/notify-user/channels --> - <string name="mozac_feature_addons_supported_checker_notification_channel">Verificadore de cumplementos cumpatìbiles</string> + <string name="mozac_feature_addons_supported_checker_notification_channel" tools:ignore="UnusedResources">Verificadore de cumplementos cumpatìbiles</string> <!-- The tile of the notification, this will be shown to the user when one newly supported add-on is available.--> - <string name="mozac_feature_addons_supported_checker_notification_title">Cumplementu nou cumpatìbile</string> + <string name="mozac_feature_addons_supported_checker_notification_title" tools:ignore="UnusedResources">Cumplementu nou cumpatìbile</string> <!-- The tile of the notification, this will be shown to the user when more than one newly supported add-ons are available.--> - <string name="mozac_feature_addons_supported_checker_notification_title_plural">Cumplementos noos a disponimentu</string> + <string name="mozac_feature_addons_supported_checker_notification_title_plural" tools:ignore="UnusedResources">Cumplementos noos a disponimentu</string> <!-- The content of the notification, this will be shown to the user when one newly supported add-on is available. %1$s is the add-on name and %2$s is the app name (in most cases Firefox). --> <string name="mozac_feature_addons_supported_checker_notification_content_one">Agiunghe %1$s a %2$s</string> <!-- The content of the notification, this will be shown to the user when two newly supported add-ons are available. %1$s is the first add-on name. %2$s is the second add-on name. %3$s is the app name (in most cases Firefox). --> <string name="mozac_feature_addons_supported_checker_notification_content_two">Agiunghe %1$s e %2$s a %3$s</string> <!-- The content of the notification, this will be shown to the user when more than two newly supported add-ons are available. %1$s is the app name (in most cases Firefox). --> <string name="mozac_feature_addons_supported_checker_notification_content_more_than_two">Agiunghe·ddos a %1$s</string> + <!-- This is the caption for not yet supported screen caption --> + <string name="mozac_feature_addons_not_yet_supported_caption2">Semus traballende pro frunire una seletzione initziale de estensiones cussigiadas.</string> <!-- This is the caption for the add-on installation progress overlay --> - <string name="mozac_add_on_install_progress_caption">Iscarrighende e verifichende su cumplementu…</string> + <string name="mozac_add_on_install_progress_caption" moz:removedIn="126" tools:ignore="UnusedResources">Iscarrighende e verifichende su cumplementu…</string> <!-- Error shown when something unexpected happened while trying to get the add-on list from the server --> - <string name="mozac_feature_addons_failed_to_query_add_ons">Impossìbile otènnere sa lista de cumplementos.</string> + <string name="mozac_feature_addons_failed_to_query_add_ons" moz:removedIn="126" tools:ignore="UnusedResources">Impossìbile otènnere sa lista de cumplementos.</string> + <!-- Error shown when something unexpected happened while trying to get the extension list from the server --> + <string name="mozac_feature_addons_failed_to_query_extensions">Impossìbile otènnere sa lista de estensiones.</string> <!-- Error shown when unable to find a translation for an add-on field. %1$s is the locale of the user and %2$s is the default language of the add-on --> <string name="mozac_feature_addons_failed_to_translate">Nissuna tradutzione agatada, ne pro su %1$s nen pro sa lìngua predefinida %2$s</string> <!-- Text shown after successfully installed an add-on. %1$s is the add-on name. --> @@ -187,13 +189,13 @@ <!-- Text shown after failed to install an add-on. %1$s is the add-on name. --> <string name="mozac_feature_addons_failed_to_install">Faddina in s’installatzione de %1$s</string> <!-- Text shown after failing to install an add-on for which we don't have its name. --> - <string name="mozac_feature_addons_failed_to_install_generic">Faddina in s’installatzione de custu cumplementu.</string> + <string name="mozac_feature_addons_failed_to_install_generic" moz:removedIn="126" tools:ignore="UnusedResources">Faddina in s’installatzione de custu cumplementu.</string> <!-- Text shown when attempting to install an add-on and a network error happened. --> - <string name="mozac_feature_addons_failed_to_install_network_error">Impossìbile iscarrigare custu cumplementu pro more de una faddina in sa connessione.</string> + <string name="mozac_feature_addons_failed_to_install_network_error" moz:removedIn="126" tools:ignore="UnusedResources">Impossìbile iscarrigare custu cumplementu pro more de una faddina in sa connessione.</string> <!-- Text shown when attempting to install an add-on and the downloaded file is corrupted. --> - <string name="mozac_feature_addons_failed_to_install_corrupt_error">Custu cumplementu non si podet installare ca paret corrùmpidu.</string> + <string name="mozac_feature_addons_failed_to_install_corrupt_error" moz:removedIn="126" tools:ignore="UnusedResources">Custu cumplementu non si podet installare ca paret corrùmpidu.</string> <!-- Text shown when attempting to install an add-on and an error occurred because the extension was not signed. --> - <string name="mozac_feature_addons_failed_to_install_not_signed_error">Custu cumplementu non si podet installare ca no est averiguadu.</string> + <string name="mozac_feature_addons_failed_to_install_not_signed_error" moz:removedIn="126" tools:ignore="UnusedResources">Custu cumplementu non si podet installare ca no est averiguadu.</string> <!-- Text shown when attempting to install an add-on and an error occurred because the extension was incompatible. %1$s is the add-on name, %2$s is the app name and %3$s is the app version. --> <string name="mozac_feature_addons_failed_to_install_incompatible_error">%1$s non si podet installare ca no est cumpatìbile cun %2$s %3$s.</string> <!-- Text shown when attempting to install a blocklisted add-on. %1$s is the add-on name. --> @@ -215,9 +217,11 @@ <!-- Text shown after failed to remove an add-on. %1$s is the add-on name. --> <string name="mozac_feature_addons_failed_to_remove" tools:ignore="UnusedResources">Faddina in s’eliminatzione de %1$s</string> <!-- Text shown in not yet supported add-ons section in AddonsManagerAdapter. --> - <string name="mozac_feature_addons_unsupported_caption">1 cumplementu</string> + <string name="mozac_feature_addons_unsupported_caption" moz:removedIn="126" tools:ignore="UnusedResources">1 cumplementu</string> <!-- Text shown in not yet supported add-ons section in AddonsManagerAdapter - plural. %1$s is the number of unsupported add-ons --> - <string name="mozac_feature_addons_unsupported_caption_plural">%1$s cumplementos</string> + <string name="mozac_feature_addons_unsupported_caption_plural" moz:removedIn="126" tools:ignore="UnusedResources">%1$s cumplementos</string> + <!-- Text shown in not yet supported add-ons section - plural. %1$s is the number of unsupported extensions. --> + <string name="mozac_feature_addons_unsupported_caption_plural_2">%1$s estensiones</string> <!-- Text link to a sumo page for learning more about unsupported add-ons. --> <string name="mozac_feature_addons_unsupported_learn_more">Àteras informatziones</string> <!-- Displayed in the "Status" field for the updater when an add-on has been correctly updated. --> @@ -234,10 +238,6 @@ <string name="mozac_feature_addons_updater_dialog_status">Istadu:</string> <!-- Text shown in the dialog when add-on installation is completed. %1$s is the add-on name. %2$s is the app name. --> <string name="mozac_feature_addons_installed_dialog_title">%1$s agiuntu a %2$s</string> - <!-- Text shown in the dialog when add-on installation is completed. %1$s is the add-on name. --> - <string name="mozac_feature_addons_installed_dialog_description">Aberi·ddu dae su menù</string> - <!-- Confirmation button text for the dialog when add-on installation is completed. --> - <string name="mozac_feature_addons_installed_dialog_okay_button">AB, cumprèndidu</string> <!-- "Learn more" link displayed below an add-on status message. --> <string name="mozac_feature_addons_status_learn_more">Àteras informatziones</string> <!-- Status message below an add-on in the add-ons manager when this add-on has been blocklisted. %1$s is the add-on name. --> diff --git a/mobile/android/android-components/components/feature/addons/src/main/res/values-si/strings.xml b/mobile/android/android-components/components/feature/addons/src/main/res/values-si/strings.xml index 6eb142ef1b..202cf37277 100644 --- a/mobile/android/android-components/components/feature/addons/src/main/res/values-si/strings.xml +++ b/mobile/android/android-components/components/feature/addons/src/main/res/values-si/strings.xml @@ -162,8 +162,12 @@ <string name="mozac_feature_addons_manager_notification_content_text" moz:removedIn="126" tools:ignore="UnusedResources">ඔබගේ පද්ධතිය අස්ථායී කරමින් එක්කහුවක් හෝ කිහිපයක් නතර විය.</string> <!-- Button to re-enable the add-ons in the "crash" notification --> <string name="mozac_feature_addons_manager_notification_restart_button" moz:removedIn="126" tools:ignore="UnusedResources">එක්කහු යළි අරඹන්න</string> + <!-- Button to re-enable the extensions in the "crash" notification --> + <string name="mozac_feature_extensions_manager_notification_restart_button">දිගු යළි අරඹන්න</string> <!-- Button in the add-ons manager that opens AMO in a tab --> <string name="mozac_feature_addons_find_more_addons_button_text" moz:removedIn="126" tools:ignore="UnusedResources">තවත් එක්කහු සොයාගන්න</string> + <!-- Button in the extensions manager that opens AMO in a tab --> + <string name="mozac_feature_addons_find_more_extensions_button_text">තවත් දිගු සොයන්න</string> <!-- The label of the allow button, this will be shown to the user when an add-on needs new permissions, with the button the user will indicate that they want to accept the new permissions and update the add-on--> <string name="mozac_feature_addons_updater_notification_allow_button">ඉඩ දෙන්න</string> <!-- The label of the deny button on a notification, this will be shown to the user when an add-on needs new permissions. Indicates the user denies the new permissions and prevents the add-on from be updated--> @@ -196,6 +200,8 @@ <string name="mozac_feature_addons_not_yet_supported_caption2">දැනට නිර්දේශිත දිගුවල ප්රාරම්භ තේරීමක් සඳහා සහාය තනමින් සිටියි.</string> <!-- This is the caption for the add-on installation progress overlay --> <string name="mozac_add_on_install_progress_caption" moz:removedIn="126" tools:ignore="UnusedResources">එක්කහුව බාගැනෙමින් හා සත්යාපනය වෙමින්…</string> + <!-- This is the caption for the extension installation progress overlay --> + <string name="mozac_extension_install_progress_caption">දිගුව බාගැනෙමින් හා සත්යාපනය වෙමින්…</string> <!-- Error shown when something unexpected happened while trying to get the add-on list from the server --> <string name="mozac_feature_addons_failed_to_query_add_ons" moz:removedIn="126" tools:ignore="UnusedResources">එක්කහු විමසීමට අසමත් විය!</string> <!-- Error shown when unable to find a translation for an add-on field. %1$s is the locale of the user and %2$s is the default language of the add-on --> @@ -206,6 +212,8 @@ <string name="mozac_feature_addons_failed_to_install">%1$s ස්ථාපනයට අසමත් විය</string> <!-- Text shown after failing to install an add-on for which we don't have its name. --> <string name="mozac_feature_addons_failed_to_install_generic" moz:removedIn="126" tools:ignore="UnusedResources">එක්කහුව ස්ථාපනයට අසමත් විය.</string> + <!-- Text shown after failing to install an extension for which we don't have its name. --> + <string name="mozac_feature_addons_extension_failed_to_install">මෙම දිගුව ස්ථාපනයට අසමත් විය.</string> <!-- Text shown when attempting to install an add-on and a network error happened. --> <string name="mozac_feature_addons_failed_to_install_network_error" moz:removedIn="126" tools:ignore="UnusedResources">සම්බන්ධතාවයට බාධා වීමක් නිසා එක්කහුව බාගැනීමට නොහැකි විය.</string> <!-- Text shown when attempting to install an add-on and the downloaded file is corrupted. --> diff --git a/mobile/android/android-components/components/feature/addons/src/main/res/values-su/strings.xml b/mobile/android/android-components/components/feature/addons/src/main/res/values-su/strings.xml index 359ceede95..85eb4e0865 100644 --- a/mobile/android/android-components/components/feature/addons/src/main/res/values-su/strings.xml +++ b/mobile/android/android-components/components/feature/addons/src/main/res/values-su/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" xmlns:moz="http://schemas.android.com/apk/res-auto"> <!-- Description for privacy add-on permission. --> - <string name="mozac_feature_addons_permissions_privacy_description">Bca jeung ropéa setélan pripasi</string> + <string name="mozac_feature_addons_permissions_privacy_description">Baca jeung ropéa setélan pripasi</string> <!-- Description for all_urls add-on permission. --> <string name="mozac_feature_addons_permissions_all_urls_description">Aksés data anjeun pikeun sakabéh raramatloka</string> <!-- Description for giving an add-on access to users's data on one site. %1$s will be replaced by the DNS host name for which a web extension is requesting access (e.g., www.mozilla.org). --> @@ -83,7 +83,7 @@ <!-- The developer website (Homepage) of the add-on. --> <string name="mozac_feature_addons_home_page">Tepas</string> <!-- A link where users can find more information about add-ons permissions. --> - <string name="mozac_feature_addons_learn_more">Leuwih jéntré ngeunaan idin</string> + <string name="mozac_feature_addons_learn_more">Leuwih jéntré ngeunaan pedaran idin</string> <!-- The rating of the add-on. --> <string name="mozac_feature_addons_rating">Peunteun</string> <!-- A link that points to the detail page of the add-on. --> @@ -166,8 +166,12 @@ <string name="mozac_feature_extensions_manager_notification_content_text">Aya émboh nu mugen, ngabalukarkeun sistem anjeun teu stabil.</string> <!-- Button to re-enable the add-ons in the "crash" notification --> <string name="mozac_feature_addons_manager_notification_restart_button" moz:removedIn="126" tools:ignore="UnusedResources">Balikan deui émboh</string> + <!-- Button to re-enable the extensions in the "crash" notification --> + <string name="mozac_feature_extensions_manager_notification_restart_button">Jalankeun deui éksténsi</string> <!-- Button in the add-ons manager that opens AMO in a tab --> <string name="mozac_feature_addons_find_more_addons_button_text" moz:removedIn="126" tools:ignore="UnusedResources">Panggihan émboh lianna</string> + <!-- Button in the extensions manager that opens AMO in a tab --> + <string name="mozac_feature_addons_find_more_extensions_button_text">Téangan leuwih réa éksténsi </string> <!-- The label of the allow button, this will be shown to the user when an add-on needs new permissions, with the button the user will indicate that they want to accept the new permissions and update the add-on--> <string name="mozac_feature_addons_updater_notification_allow_button">Idinan</string> <!-- The label of the deny button on a notification, this will be shown to the user when an add-on needs new permissions. Indicates the user denies the new permissions and prevents the add-on from be updated--> @@ -180,6 +184,8 @@ <string name="mozac_feature_addons_updater_notification_content_singular">Perlu idin anyar</string> <!-- Name of the "notification channel" used for displaying a notification for updating an add-on. See https://developer.android.com/training/notify-user/channels --> <string name="mozac_feature_addons_updater_notification_channel" moz:removedIn="126" tools:ignore="UnusedResources">Apdét add-on</string> + <!-- Name of the "notification channel" used for displaying a notification for updating an extension. See https://developer.android.com/training/notify-user/channels --> + <string name="mozac_feature_addons_updater_notification_channel_2">Apdet éksténsi</string> <!-- Name of the "notification channel" used for displaying a notification for new supported add-ons. See https://developer.android.com/training/notify-user/channels --> <string name="mozac_feature_addons_supported_checker_notification_channel" tools:ignore="UnusedResources">Pamariksa add-on nu didukung</string> <!-- The tile of the notification, this will be shown to the user when one newly supported add-on is available.--> @@ -198,8 +204,12 @@ <string name="mozac_feature_addons_not_yet_supported_caption2">Kami ayeuna ngawangun dukungan pikeun pilihan awal Éksténsi nu Disarankeun.</string> <!-- This is the caption for the add-on installation progress overlay --> <string name="mozac_add_on_install_progress_caption" moz:removedIn="126" tools:ignore="UnusedResources">Ngeundeur jeung verifikasi add-on…</string> + <!-- This is the caption for the extension installation progress overlay --> + <string name="mozac_extension_install_progress_caption">Ngeundeur jeung verifikasi add-on…</string> <!-- Error shown when something unexpected happened while trying to get the add-on list from the server --> <string name="mozac_feature_addons_failed_to_query_add_ons" moz:removedIn="126" tools:ignore="UnusedResources">Gagal pikeun pamundut Add-on!</string> + <!-- Error shown when something unexpected happened while trying to get the extension list from the server --> + <string name="mozac_feature_addons_failed_to_query_extensions">Gagal pikeun pamundut Add-on!</string> <!-- Error shown when unable to find a translation for an add-on field. %1$s is the locale of the user and %2$s is the default language of the add-on --> <string name="mozac_feature_addons_failed_to_translate">Tarjamahan teu kapanggih, pikeun daérah %1$s pon kitu ogé basa bawaan %2$s</string> <!-- Text shown after successfully installed an add-on. %1$s is the add-on name. --> @@ -208,12 +218,20 @@ <string name="mozac_feature_addons_failed_to_install">Gagal masang %1$s</string> <!-- Text shown after failing to install an add-on for which we don't have its name. --> <string name="mozac_feature_addons_failed_to_install_generic" moz:removedIn="126" tools:ignore="UnusedResources">Gagal masang ieu émboh.</string> + <!-- Text shown after failing to install an extension for which we don't have its name. --> + <string name="mozac_feature_addons_extension_failed_to_install">Gagal masang ieu éksténsi.</string> <!-- Text shown when attempting to install an add-on and a network error happened. --> <string name="mozac_feature_addons_failed_to_install_network_error" moz:removedIn="126" tools:ignore="UnusedResources">Ieu émboh teu bisa diundeur alatan gagal nyambung.</string> + <!-- Text shown when attempting to install an extension and a network error happened. --> + <string name="mozac_feature_addons_extension_failed_to_install_network_error">Ieu émboh teu bisa diundeur alatan gagal nyambung.</string> <!-- Text shown when attempting to install an add-on and the downloaded file is corrupted. --> <string name="mozac_feature_addons_failed_to_install_corrupt_error" moz:removedIn="126" tools:ignore="UnusedResources">Ieu émboh teu bisa dipasang, sigana alatan korup.</string> + <!-- Text shown when attempting to install an extension and the downloaded file is corrupted. --> + <string name="mozac_feature_addons_extension_failed_to_install_corrupt_error">Ieu émboh teu bisa dipasang, sigana alatan korup.</string> <!-- Text shown when attempting to install an add-on and an error occurred because the extension was not signed. --> <string name="mozac_feature_addons_failed_to_install_not_signed_error" moz:removedIn="126" tools:ignore="UnusedResources">Ieu émboh teu bisa dipasang alatan acan dipéripikasi.</string> + <!-- Text shown when attempting to install an add-on and an error occurred because the extension was not signed. --> + <string name="mozac_feature_addons_extension_failed_to_install_not_signed_error">Ieu émboh teu bisa dipasang alatan acan dipéripikasi.</string> <!-- Text shown when attempting to install an add-on and an error occurred because the extension was incompatible. %1$s is the add-on name, %2$s is the app name and %3$s is the app version. --> <string name="mozac_feature_addons_failed_to_install_incompatible_error">%1$s teu bisa dipasang alatan teu kompatibel jeung %2$s %3$s.</string> <!-- Text shown when attempting to install a blocklisted add-on. %1$s is the add-on name. --> @@ -238,8 +256,12 @@ <string name="mozac_feature_addons_migrated_from_a_previous_version_label" tools:ignore="UnusedResources">Ieu add-on dipindahkeun ti pérsi heubeul %1$s</string> <!-- Text shown in not yet supported add-ons section in AddonsManagerAdapter. --> <string name="mozac_feature_addons_unsupported_caption" moz:removedIn="126" tools:ignore="UnusedResources">1 add-on</string> + <!-- Text shown in not yet supported add-ons section. --> + <string name="mozac_feature_addons_unsupported_caption_2">éksténsi</string> <!-- Text shown in not yet supported add-ons section in AddonsManagerAdapter - plural. %1$s is the number of unsupported add-ons --> <string name="mozac_feature_addons_unsupported_caption_plural" moz:removedIn="126" tools:ignore="UnusedResources">%1$s add-on</string> + <!-- Text shown in not yet supported add-ons section - plural. %1$s is the number of unsupported extensions. --> + <string name="mozac_feature_addons_unsupported_caption_plural_2">%1$s éksténsi</string> <!-- Text link to a sumo page for learning more about unsupported add-ons. --> <string name="mozac_feature_addons_unsupported_learn_more">Lenyepan</string> <!-- Displayed in the "Status" field for the updater when an add-on has been correctly updated. --> @@ -258,8 +280,12 @@ <string name="mozac_feature_addons_installed_dialog_title">%1$s geus ditambahkeun ka %2$s</string> <!-- Text shown in the dialog when add-on installation is completed. --> <string name="mozac_feature_addons_installed_dialog_description" moz:removedIn="124" tools:ignore="UnusedResources">Buka dina menu</string> + <!-- Text shown in the dialog when add-on installation is completed. %1$s is the add-on name. %2$s is the app name. --> + <string name="mozac_feature_addons_installed_dialog_description_2">Aksés %1$s tina ménu %2$s.</string> <!-- Confirmation button text for the dialog when add-on installation is completed. --> <string name="mozac_feature_addons_installed_dialog_okay_button" moz:removedIn="124" tools:ignore="UnusedResources">Heug, Ngarti</string> + <!-- Confirmation button text for the dialog when add-on installation is completed. --> + <string name="mozac_feature_addons_installed_dialog_okay_button_2">HEUG</string> <!-- "Learn more" link displayed below an add-on status message. --> <string name="mozac_feature_addons_status_learn_more">Lenyepan</string> <!-- Status message below an add-on in the add-ons manager when this add-on has been blocklisted. %1$s is the add-on name. --> diff --git a/mobile/android/android-components/components/feature/addons/src/test/java/AddonManagerTest.kt b/mobile/android/android-components/components/feature/addons/src/test/java/AddonManagerTest.kt index 9c30bd8c0e..c8d3fe8972 100644 --- a/mobile/android/android-components/components/feature/addons/src/test/java/AddonManagerTest.kt +++ b/mobile/android/android-components/components/feature/addons/src/test/java/AddonManagerTest.kt @@ -666,7 +666,12 @@ class AddonManagerTest { val extension: WebExtension = mock() whenever(extension.id).thenReturn("ext1") WebExtensionSupport.installedExtensions[addon.id] = extension - + val metadata: Metadata = mock() + whenever(extension.getMetadata()).thenReturn(metadata) + whenever(metadata.optionalPermissions).thenReturn(permission) + whenever(metadata.grantedOptionalPermissions).thenReturn(permission) + whenever(metadata.optionalOrigins).thenReturn(origin) + whenever(metadata.grantedOptionalOrigins).thenReturn(origin) val engine: Engine = mock() val onSuccessCaptor = argumentCaptor<((WebExtension) -> Unit)>() @@ -685,6 +690,10 @@ class AddonManagerTest { onSuccessCaptor.value.invoke(extension) assertNotNull(updateAddon) assertEquals(addon.id, updateAddon!!.id) + assertEquals("permission1", updateAddon!!.optionalPermissions.first().name) + assertEquals(true, updateAddon!!.optionalPermissions.first().granted) + assertEquals("origin", updateAddon!!.optionalOrigins.first().name) + assertEquals(true, updateAddon!!.optionalOrigins.first().granted) assertTrue(manager.pendingAddonActions.isEmpty()) } diff --git a/mobile/android/android-components/components/feature/addons/src/test/java/mozilla/components/feature/addons/ui/PermissionsDialogFragmentTest.kt b/mobile/android/android-components/components/feature/addons/src/test/java/mozilla/components/feature/addons/ui/PermissionsDialogFragmentTest.kt index 339c880380..88a1ff223f 100644 --- a/mobile/android/android-components/components/feature/addons/src/test/java/mozilla/components/feature/addons/ui/PermissionsDialogFragmentTest.kt +++ b/mobile/android/android-components/components/feature/addons/src/test/java/mozilla/components/feature/addons/ui/PermissionsDialogFragmentTest.kt @@ -48,8 +48,8 @@ class PermissionsDialogFragmentTest { val optionalOrRequiredTextView = dialog.findViewById<TextView>(R.id.optional_or_required_text) val permissionsRecyclerView = dialog.findViewById<RecyclerView>(R.id.permissions) val recyclerAdapter = permissionsRecyclerView.adapter!! as RequiredPermissionsAdapter - val optionalOrRequiredText = fragment.buildOptionalOrRequiredText() val permissionList = fragment.buildPermissionsList() + val optionalOrRequiredText = fragment.buildOptionalOrRequiredText(hasPermissions = permissionList.isNotEmpty()) assertTrue(titleTextView.text.contains(name)) assertTrue(optionalOrRequiredText.contains(testContext.getString(R.string.mozac_feature_addons_permissions_dialog_subtitle))) @@ -153,12 +153,12 @@ class PermissionsDialogFragmentTest { val optionalOrRequiredTextView = dialog.findViewById<TextView>(R.id.optional_or_required_text) val permissionsRecyclerView = dialog.findViewById<RecyclerView>(R.id.permissions) val recyclerAdapter = permissionsRecyclerView.adapter!! as RequiredPermissionsAdapter - val optionalOrRequiredText = fragment.buildOptionalOrRequiredText() val permissionList = fragment.buildPermissionsList() + val optionalOrRequiredText = fragment.buildOptionalOrRequiredText(hasPermissions = permissionList.isNotEmpty()) assertTrue(titleTextView.text.contains(name)) - assertTrue(optionalOrRequiredText.contains(testContext.getString(R.string.mozac_feature_addons_permissions_dialog_subtitle))) - assertTrue(optionalOrRequiredTextView.text.contains(testContext.getString(R.string.mozac_feature_addons_permissions_dialog_subtitle))) + assertFalse(optionalOrRequiredText.contains(testContext.getString(R.string.mozac_feature_addons_permissions_dialog_subtitle))) + assertFalse(optionalOrRequiredTextView.text.contains(testContext.getString(R.string.mozac_feature_addons_permissions_dialog_subtitle))) assertEquals(0, recyclerAdapter.itemCount) assertFalse(permissionList.contains(testContext.getString(R.string.mozac_feature_addons_permissions_privacy_description))) assertFalse(permissionList.contains(testContext.getString(R.string.mozac_feature_addons_permissions_all_urls_description))) @@ -185,8 +185,8 @@ class PermissionsDialogFragmentTest { val recyclerAdapter = permissionsRecyclerView.adapter!! as RequiredPermissionsAdapter val allowButton = dialog.findViewById<Button>(R.id.allow_button) val denyButton = dialog.findViewById<Button>(R.id.deny_button) - val optionalOrRequiredText = fragment.buildOptionalOrRequiredText() val permissionsList = fragment.buildPermissionsList() + val optionalOrRequiredText = fragment.buildOptionalOrRequiredText(hasPermissions = permissionsList.isNotEmpty()) assertEquals( titleTextView.text, diff --git a/mobile/android/android-components/components/feature/addons/src/test/resources/amo_search_localized_single_result.json b/mobile/android/android-components/components/feature/addons/src/test/resources/amo_search_localized_single_result.json index 94aeed1f64..5bae00d2f6 100644 --- a/mobile/android/android-components/components/feature/addons/src/test/resources/amo_search_localized_single_result.json +++ b/mobile/android/android-components/components/feature/addons/src/test/resources/amo_search_localized_single_result.json @@ -17,12 +17,8 @@ ], "average_daily_users": 6229783, "categories": { - "android": [ - "security-privacy" - ], - "firefox": [ - "privacy-security" - ] + "android": ["security-privacy"], + "firefox": ["privacy-security"] }, "contributions_url": "", "created": "2015-04-25T07:26:22Z", @@ -110,93 +106,54 @@ { "id": 238546, "caption": "The popup panel: default mode", - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238546.png?modified=1622132421", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238546.jpg?modified=1622132421" }, { "id": 238548, "caption": "The dashboard: stock filter lists", - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238548.png?modified=1622132423", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238548.jpg?modified=1622132423" }, { "id": 238547, "caption": "The popup panel: default-deny mode", - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238547.png?modified=1622132425", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238547.jpg?modified=1622132425" }, { "id": 238549, "caption": "The dashboard: settings", - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238549.png?modified=1622132426", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238549.jpg?modified=1622132426" }, { "id": 238552, "caption": "The popup panel in Firefox Preview: default mode with more blocking options revealed", - "image_size": [ - 970, - 1800 - ], + "image_size": [970, 1800], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238552.png?modified=1622132430", - "thumbnail_size": [ - 216, - 400 - ], + "thumbnail_size": [216, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238552.jpg?modified=1622132430" }, { "id": 230370, "caption": "The unified logger tells you all that uBO is seeing and doing", - "image_size": [ - 800, - 600 - ], + "image_size": [800, 600], "image_url": "https://addons.mozilla.org/user-media/previews/full/230/230370.png?modified=1622132432", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/230/230370.jpg?modified=1622132432" } ], "promoted": { - "apps": [ - "firefox", - "android" - ], + "apps": ["firefox", "android"], "category": "recommended" }, "ratings": { diff --git a/mobile/android/android-components/components/feature/addons/src/test/resources/amo_search_multiple_results.json b/mobile/android/android-components/components/feature/addons/src/test/resources/amo_search_multiple_results.json index 8d0b13dad1..30b0a8fc6b 100644 --- a/mobile/android/android-components/components/feature/addons/src/test/resources/amo_search_multiple_results.json +++ b/mobile/android/android-components/components/feature/addons/src/test/resources/amo_search_multiple_results.json @@ -17,12 +17,8 @@ ], "average_daily_users": 6229783, "categories": { - "android": [ - "security-privacy" - ], - "firefox": [ - "privacy-security" - ] + "android": ["security-privacy"], + "firefox": ["privacy-security"] }, "contributions_url": "", "created": "2015-04-25T07:26:22Z", @@ -192,15 +188,9 @@ "caption": { "en-US": "The popup panel: default mode" }, - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238546.png?modified=1622132421", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238546.jpg?modified=1622132421" }, { @@ -208,15 +198,9 @@ "caption": { "en-US": "The dashboard: stock filter lists" }, - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238548.png?modified=1622132423", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238548.jpg?modified=1622132423" }, { @@ -224,15 +208,9 @@ "caption": { "en-US": "The popup panel: default-deny mode" }, - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238547.png?modified=1622132425", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238547.jpg?modified=1622132425" }, { @@ -240,15 +218,9 @@ "caption": { "en-US": "The dashboard: settings" }, - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238549.png?modified=1622132426", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238549.jpg?modified=1622132426" }, { @@ -256,15 +228,9 @@ "caption": { "en-US": "The popup panel in Firefox Preview: default mode with more blocking options revealed" }, - "image_size": [ - 970, - 1800 - ], + "image_size": [970, 1800], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238552.png?modified=1622132430", - "thumbnail_size": [ - 216, - 400 - ], + "thumbnail_size": [216, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238552.jpg?modified=1622132430" }, { @@ -272,23 +238,14 @@ "caption": { "en-US": "The unified logger tells you all that uBO is seeing and doing" }, - "image_size": [ - 800, - 600 - ], + "image_size": [800, 600], "image_url": "https://addons.mozilla.org/user-media/previews/full/230/230370.png?modified=1622132432", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/230/230370.jpg?modified=1622132432" } ], "promoted": { - "apps": [ - "firefox", - "android" - ], + "apps": ["firefox", "android"], "category": "recommended" }, "ratings": { @@ -378,12 +335,8 @@ ], "average_daily_users": 111124, "categories": { - "android": [ - "other" - ], - "firefox": [ - "search-tools" - ] + "android": ["other"], + "firefox": ["search-tools"] }, "contributions_url": "", "created": "2017-10-31T15:35:56Z", @@ -653,9 +606,7 @@ }, "previews": [], "promoted": { - "apps": [ - "android" - ], + "apps": ["android"], "category": "recommended" }, "ratings": { diff --git a/mobile/android/android-components/components/feature/addons/src/test/resources/amo_search_single_result.json b/mobile/android/android-components/components/feature/addons/src/test/resources/amo_search_single_result.json index b6a3a79892..1bc5ba8b99 100644 --- a/mobile/android/android-components/components/feature/addons/src/test/resources/amo_search_single_result.json +++ b/mobile/android/android-components/components/feature/addons/src/test/resources/amo_search_single_result.json @@ -17,12 +17,8 @@ ], "average_daily_users": 6229783, "categories": { - "android": [ - "security-privacy" - ], - "firefox": [ - "privacy-security" - ] + "android": ["security-privacy"], + "firefox": ["privacy-security"] }, "contributions_url": "", "created": "2015-04-25T07:26:22Z", @@ -192,15 +188,9 @@ "caption": { "en-US": "The popup panel: default mode" }, - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238546.png?modified=1622132421", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238546.jpg?modified=1622132421" }, { @@ -208,15 +198,9 @@ "caption": { "en-US": "The dashboard: stock filter lists" }, - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238548.png?modified=1622132423", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238548.jpg?modified=1622132423" }, { @@ -224,15 +208,9 @@ "caption": { "en-US": "The popup panel: default-deny mode" }, - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238547.png?modified=1622132425", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238547.jpg?modified=1622132425" }, { @@ -240,15 +218,9 @@ "caption": { "en-US": "The dashboard: settings" }, - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238549.png?modified=1622132426", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238549.jpg?modified=1622132426" }, { @@ -256,15 +228,9 @@ "caption": { "en-US": "The popup panel in Firefox Preview: default mode with more blocking options revealed" }, - "image_size": [ - 970, - 1800 - ], + "image_size": [970, 1800], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238552.png?modified=1622132430", - "thumbnail_size": [ - 216, - 400 - ], + "thumbnail_size": [216, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238552.jpg?modified=1622132430" }, { @@ -272,23 +238,14 @@ "caption": { "en-US": "The unified logger tells you all that uBO is seeing and doing" }, - "image_size": [ - 800, - 600 - ], + "image_size": [800, 600], "image_url": "https://addons.mozilla.org/user-media/previews/full/230/230370.png?modified=1622132432", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/230/230370.jpg?modified=1622132432" } ], "promoted": { - "apps": [ - "firefox", - "android" - ], + "apps": ["firefox", "android"], "category": "recommended" }, "ratings": { diff --git a/mobile/android/android-components/components/feature/addons/src/test/resources/collection.json b/mobile/android/android-components/components/feature/addons/src/test/resources/collection.json index a337ed148f..15d7ab9d40 100644 --- a/mobile/android/android-components/components/feature/addons/src/test/resources/collection.json +++ b/mobile/android/android-components/components/feature/addons/src/test/resources/collection.json @@ -18,12 +18,8 @@ ], "average_daily_users": 6229783, "categories": { - "android": [ - "security-privacy" - ], - "firefox": [ - "privacy-security" - ] + "android": ["security-privacy"], + "firefox": ["privacy-security"] }, "contributions_url": "", "created": "2015-04-25T07:26:22Z", @@ -193,15 +189,9 @@ "caption": { "en-US": "The popup panel: default mode" }, - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238546.png?modified=1622132421", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238546.jpg?modified=1622132421" }, { @@ -209,15 +199,9 @@ "caption": { "en-US": "The dashboard: stock filter lists" }, - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238548.png?modified=1622132423", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238548.jpg?modified=1622132423" }, { @@ -225,15 +209,9 @@ "caption": { "en-US": "The popup panel: default-deny mode" }, - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238547.png?modified=1622132425", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238547.jpg?modified=1622132425" }, { @@ -241,15 +219,9 @@ "caption": { "en-US": "The dashboard: settings" }, - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238549.png?modified=1622132426", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238549.jpg?modified=1622132426" }, { @@ -257,15 +229,9 @@ "caption": { "en-US": "The popup panel in Firefox Preview: default mode with more blocking options revealed" }, - "image_size": [ - 970, - 1800 - ], + "image_size": [970, 1800], "image_url": "https://addons.mozilla.org/user-media/previews/full/238/238552.png?modified=1622132430", - "thumbnail_size": [ - 216, - 400 - ], + "thumbnail_size": [216, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/238/238552.jpg?modified=1622132430" }, { @@ -273,23 +239,14 @@ "caption": { "en-US": "The unified logger tells you all that uBO is seeing and doing" }, - "image_size": [ - 800, - 600 - ], + "image_size": [800, 600], "image_url": "https://addons.mozilla.org/user-media/previews/full/230/230370.png?modified=1622132432", - "thumbnail_size": [ - 533, - 400 - ], + "thumbnail_size": [533, 400], "thumbnail_url": "https://addons.mozilla.org/user-media/previews/thumbs/230/230370.jpg?modified=1622132432" } ], "promoted": { - "apps": [ - "firefox", - "android" - ], + "apps": ["firefox", "android"], "category": "recommended" }, "ratings": { diff --git a/mobile/android/android-components/components/feature/addons/src/test/resources/collection_with_empty_values.json b/mobile/android/android-components/components/feature/addons/src/test/resources/collection_with_empty_values.json index fedd44adec..956247cfa1 100644 --- a/mobile/android/android-components/components/feature/addons/src/test/resources/collection_with_empty_values.json +++ b/mobile/android/android-components/components/feature/addons/src/test/resources/collection_with_empty_values.json @@ -162,15 +162,9 @@ "caption": { "en-US": "Default mode" }, - "image_size": [ - 640, - 480 - ], + "image_size": [640, 480], "image_url": "https://addons.cdn.mozilla.net/user-media/previews/full/157/157572.png?modified=1543520531", - "thumbnail_size": [ - 640, - 480 - ], + "thumbnail_size": [640, 480], "thumbnail_url": "https://addons.cdn.mozilla.net/user-media/previews/thumbs/157/157572.png?modified=1543520531" }, { @@ -178,15 +172,9 @@ "caption": { "en-US": "The dashboard: stock filter lists" }, - "image_size": [ - 640, - 480 - ], + "image_size": [640, 480], "image_url": "https://addons.cdn.mozilla.net/user-media/previews/full/157/157576.png?modified=1543520531", - "thumbnail_size": [ - 640, - 480 - ], + "thumbnail_size": [640, 480], "thumbnail_url": "https://addons.cdn.mozilla.net/user-media/previews/thumbs/157/157576.png?modified=1543520531" }, { @@ -194,15 +182,9 @@ "caption": { "en-US": "Dynamic filtering allows default-deny mode" }, - "image_size": [ - 640, - 480 - ], + "image_size": [640, 480], "image_url": "https://addons.cdn.mozilla.net/user-media/previews/full/157/157592.png?modified=1543520532", - "thumbnail_size": [ - 640, - 480 - ], + "thumbnail_size": [640, 480], "thumbnail_url": "https://addons.cdn.mozilla.net/user-media/previews/thumbs/157/157592.png?modified=1543520532" }, { @@ -210,15 +192,9 @@ "caption": { "en-US": "The dashboard: settings" }, - "image_size": [ - 640, - 480 - ], + "image_size": [640, 480], "image_url": "https://addons.cdn.mozilla.net/user-media/previews/full/159/159634.png?modified=1543520533", - "thumbnail_size": [ - 640, - 480 - ], + "thumbnail_size": [640, 480], "thumbnail_url": "https://addons.cdn.mozilla.net/user-media/previews/thumbs/159/159634.png?modified=1543520533" }, { @@ -226,15 +202,9 @@ "caption": { "en-US": "Unified logger" }, - "image_size": [ - 700, - 525 - ], + "image_size": [700, 525], "image_url": "https://addons.cdn.mozilla.net/user-media/previews/full/158/158734.png?modified=1543520534", - "thumbnail_size": [ - 640, - 480 - ], + "thumbnail_size": [640, 480], "thumbnail_url": "https://addons.cdn.mozilla.net/user-media/previews/thumbs/158/158734.png?modified=1543520534" } ], diff --git a/mobile/android/android-components/components/feature/addons/src/test/resources/localized_collection.json b/mobile/android/android-components/components/feature/addons/src/test/resources/localized_collection.json index db7a59ad18..1e2a5ffbb8 100644 --- a/mobile/android/android-components/components/feature/addons/src/test/resources/localized_collection.json +++ b/mobile/android/android-components/components/feature/addons/src/test/resources/localized_collection.json @@ -19,12 +19,8 @@ ], "average_daily_users": 5060298, "categories": { - "android": [ - "security-privacy" - ], - "firefox": [ - "privacy-security" - ] + "android": ["security-privacy"], + "firefox": ["privacy-security"] }, "contributions_url": "", "created": "2015-04-25T07:26:22Z", @@ -110,93 +106,54 @@ { "id": 238546, "caption": "The popup panel: default mode", - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.cdn.mozilla.net/user-media/previews/full/238/238546.png?modified=1590420038", - "thumbnail_size": [ - 640, - 480 - ], + "thumbnail_size": [640, 480], "thumbnail_url": "https://addons.cdn.mozilla.net/user-media/previews/thumbs/238/238546.png?modified=1590420038" }, { "id": 238548, "caption": "The dashboard: stock filter lists", - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.cdn.mozilla.net/user-media/previews/full/238/238548.png?modified=1590420038", - "thumbnail_size": [ - 640, - 480 - ], + "thumbnail_size": [640, 480], "thumbnail_url": "https://addons.cdn.mozilla.net/user-media/previews/thumbs/238/238548.png?modified=1590420038" }, { "id": 238547, "caption": "The popup panel: default-deny mode", - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.cdn.mozilla.net/user-media/previews/full/238/238547.png?modified=1590420038", - "thumbnail_size": [ - 640, - 480 - ], + "thumbnail_size": [640, 480], "thumbnail_url": "https://addons.cdn.mozilla.net/user-media/previews/thumbs/238/238547.png?modified=1590420038" }, { "id": 238549, "caption": "The dashboard: settings", - "image_size": [ - 1011, - 758 - ], + "image_size": [1011, 758], "image_url": "https://addons.cdn.mozilla.net/user-media/previews/full/238/238549.png?modified=1590420038", - "thumbnail_size": [ - 640, - 480 - ], + "thumbnail_size": [640, 480], "thumbnail_url": "https://addons.cdn.mozilla.net/user-media/previews/thumbs/238/238549.png?modified=1590420038" }, { "id": 238552, "caption": "The popup panel in Firefox Preview: default mode with more blocking options revealed", - "image_size": [ - 970, - 1800 - ], + "image_size": [970, 1800], "image_url": "https://addons.cdn.mozilla.net/user-media/previews/full/238/238552.png?modified=1590420044", - "thumbnail_size": [ - 259, - 480 - ], + "thumbnail_size": [259, 480], "thumbnail_url": "https://addons.cdn.mozilla.net/user-media/previews/thumbs/238/238552.png?modified=1590420044" }, { "id": 230370, "caption": "The unified logger tells you all that uBO is seeing and doing", - "image_size": [ - 800, - 600 - ], + "image_size": [800, 600], "image_url": "https://addons.cdn.mozilla.net/user-media/previews/full/230/230370.png?modified=1590420038", - "thumbnail_size": [ - 640, - 480 - ], + "thumbnail_size": [640, 480], "thumbnail_url": "https://addons.cdn.mozilla.net/user-media/previews/thumbs/230/230370.png?modified=1590420038" } ], "promoted": { - "apps": [ - "firefox", - "android" - ], + "apps": ["firefox", "android"], "category": "recommended" }, "ratings": { |