From 06a3f1e13903463d81acd07209fc4f09f0ead65e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tarek=20Ziad=C3=A9?= Date: Fri, 23 May 2025 07:47:57 +0000 Subject: [PATCH] Bug 1967224 - promote preview strings for local model managment r=rpl,fluent-reviewers,bolsson Differential Revision: https://phabricator.services.mozilla.com/D250021 --- .../locales-preview/localModelManagement.ftl | 27 ------------------- .../en-US/toolkit/about/aboutAddons.ftl | 22 +++++++++++++++ toolkit/locales/jar.mn | 1 - .../extensions/content/aboutaddons.html | 1 - 4 files changed, 22 insertions(+), 29 deletions(-) delete mode 100644 toolkit/locales-preview/localModelManagement.ftl diff --git a/toolkit/locales-preview/localModelManagement.ftl b/toolkit/locales-preview/localModelManagement.ftl deleted file mode 100644 index 21985a968c7c..000000000000 --- a/toolkit/locales-preview/localModelManagement.ftl +++ /dev/null @@ -1,27 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - -# TODO: move these to appropriate places in aboutAddons.ftl when ready - -# AI Model will be downloaded on the users device and used locally -addon-category-mlmodel = On-device AI -addon-category-mlmodel-title = - .title = On-device AI - -mlmodel-heading = Manage On-Device AI Models -mlmodel-description = - Some features and extensions in { -brand-short-name } are powered by AI models that work locally on your device. This approach protects your privacy and, in many cases, speeds up performance. Learn more - -# Label for button that when clicked removed local model -mlmodel-remove-addon-button = - .aria-label = Remove -# Label for the aggregated value of all files for a model -mlmodel-addon-detail-totalsize-label = File size -mlmodel-addon-detail-last-used-label = Last used -# This is a section label to describe what extensions or features use a specific local AI model -mlmodel-addon-detail-used-by-label = Used by -# This is a section label to describe the link to the model card on the Hugging Face website -mlmodel-addon-detail-model-card = Model Card -# This is a label for the Model Card link to Hugging face -mlmodel-addon-detail-model-card-link-label = View on Hugging Face diff --git a/toolkit/locales/en-US/toolkit/about/aboutAddons.ftl b/toolkit/locales/en-US/toolkit/about/aboutAddons.ftl index 120584c20d3e..a96f6227e2f5 100644 --- a/toolkit/locales/en-US/toolkit/about/aboutAddons.ftl +++ b/toolkit/locales/en-US/toolkit/about/aboutAddons.ftl @@ -610,3 +610,25 @@ mlmodel-link-preview = { -brand-short-name } uses this to generate key points wh mlmodel-pdfjs = { -brand-short-name } uses this to create alt text for images you add to PDFs mlmodel-smart-tab-topic-engine = { -brand-short-name } uses this to suggest names for your tab groups mlmodel-smart-tab-embedding-engine = { -brand-short-name } uses this to suggest tabs for your tab groups + +# AI Model will be downloaded on the users device and used locally +addon-category-mlmodel = On-device AI +addon-category-mlmodel-title = + .title = On-device AI + +mlmodel-heading = Manage On-Device AI Models +mlmodel-description = + Some features and extensions in { -brand-short-name } are powered by AI models that work locally on your device. This approach protects your privacy and, in many cases, speeds up performance. Learn more + +# Label for button that when clicked removed local model +mlmodel-remove-addon-button = + .aria-label = Remove +# Label for the aggregated value of all files for a model +mlmodel-addon-detail-totalsize-label = File size +mlmodel-addon-detail-last-used-label = Last used +# This is a section label to describe what extensions or features use a specific local AI model +mlmodel-addon-detail-used-by-label = Used by +# This is a section label to describe the link to the model card on the Hugging Face website +mlmodel-addon-detail-model-card = Model card +# This is a label for the Model Card link to Hugging face +mlmodel-addon-detail-model-card-link-label = View on Hugging Face diff --git a/toolkit/locales/jar.mn b/toolkit/locales/jar.mn index 9e394a2feeb0..207e007d2e30 100644 --- a/toolkit/locales/jar.mn +++ b/toolkit/locales/jar.mn @@ -8,7 +8,6 @@ services (%services/**/*.ftl) toolkit (%toolkit/**/*.ftl) locales-preview/aboutTranslations.ftl (../locales-preview/aboutTranslations.ftl) - locales-preview/localModelManagement.ftl (../locales-preview/localModelManagement.ftl) #ifdef MOZ_LAYOUT_DEBUGGER layoutdebug/layoutdebug.ftl (../../layout/tools/layout-debug/ui/content/layoutdebug.ftl) #endif diff --git a/toolkit/mozapps/extensions/content/aboutaddons.html b/toolkit/mozapps/extensions/content/aboutaddons.html index 28e32796287a..8232f18c7a03 100644 --- a/toolkit/mozapps/extensions/content/aboutaddons.html +++ b/toolkit/mozapps/extensions/content/aboutaddons.html @@ -35,7 +35,6 @@ -