commit 1701edd25fab13dd634cea70961a7fb76bf00871
parent 99badd0a1dbb6d7d113a18f695b07779f056f76a
Author: Maxx Crawford <mcrawford@mozilla.com>
Date: Wed, 7 Jan 2026 23:13:26 +0000
Bug 2009047 - Add strings for Manage Widgets panel in Customize panel r=home-newtab-reviewers,fluent-reviewers,bolsson,nina-py
Differential Revision: https://phabricator.services.mozilla.com/D278204
Diffstat:
2 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/browser/locales/en-US/browser/newtab/newtab.ftl b/browser/locales/en-US/browser/newtab/newtab.ftl
@@ -246,6 +246,12 @@ newtab-custom-widget-lists-toggle =
newtab-custom-widget-timer-toggle =
.label = Timer
newtab-custom-widget-section-title = Widgets
+newtab-custom-widget-section-toggle =
+ .label = Widgets
+newtab-widget-manage-title = Widgets
+newtab-widget-manage-widget-button =
+ .label = Manage widgets
+
# Tooltip for close button
newtab-custom-close-menu-button =
.title = Close
diff --git a/python/l10n/fluent_migrations/bug_2009047_newtab_widget_manage_title.py b/python/l10n/fluent_migrations/bug_2009047_newtab_widget_manage_title.py
@@ -0,0 +1,25 @@
+# Any copyright is dedicated to the Public Domain.
+# http://creativecommons.org/publicdomain/zero/1.0/
+
+from fluent.migrate.helpers import transforms_from
+
+
+def migrate(ctx):
+ """Bug 2009047 - Add strings for Manage Widgets panel in Customize panel, part {index}"""
+
+ source = "browser/browser/newtab/newtab.ftl"
+ target = source
+
+ ctx.add_transforms(
+ target,
+ target,
+ transforms_from(
+ """
+newtab-custom-widget-section-toggle =
+ .label = { COPY_PATTERN(from_path, "newtab-custom-widget-section-title") }
+
+newtab-widget-manage-title = { COPY_PATTERN(from_path, "newtab-custom-widget-section-title") }
+""",
+ from_path=source,
+ ),
+ )