-Started working on translations

This commit is contained in:
Mauro Balades
2024-08-22 12:41:55 +02:00
parent 72f76608b6
commit e6f8eede34
15 changed files with 29 additions and 181 deletions

View File

@@ -1,4 +1,5 @@
<link rel="localization" href="browser/zen-web-side-panels.ftl"/>
<link rel="localization" href="browser/zen-workspaces.ftl"/>
<link rel="localization" href="browser/zen-split-view.ftl"/>
<link rel="localization" href="browser/zen-general.ftl"/>
<link rel="localization" href="browser/zen-vertical-tabs.ftl"/>

View File

@@ -1,13 +0,0 @@
diff --git a/browser/components/customizableui/content/customizeMode.inc.xhtml b/browser/components/customizableui/content/customizeMode.inc.xhtml
index 2788cc6a8fb42b7b968eb45aafc02f8d6fcf771d..5142e65576aebaac0e31677b707a5e05f88dae76 100644
--- a/browser/components/customizableui/content/customizeMode.inc.xhtml
+++ b/browser/components/customizableui/content/customizeMode.inc.xhtml
@@ -94,7 +94,7 @@
class="footer-button"
oncommand="gCustomizeMode.togglePong(this.checked);"
hidden="true"/>
-
+#include zenCustomizationMode.inc.xhtml
<spacer id="customization-footer-spacer"/>
#ifdef XP_MACOSX
<button id="customization-touchbar-button"

View File

@@ -1,32 +0,0 @@
diff --git a/browser/locales/en-US/browser/appExtensionFields.ftl b/browser/locales/en-US/browser/appExtensionFields.ftl
index 09d7a076eccd4235fac66156770d8b9ae01a7d16..f32affde0d6f77dadd421ff68bf2050bda9f0cd0 100644
--- a/browser/locales/en-US/browser/appExtensionFields.ftl
+++ b/browser/locales/en-US/browser/appExtensionFields.ftl
@@ -8,13 +8,13 @@
extension-default-theme-name-auto=System theme auto
extension-default-theme-description=Follow the operating system setting for buttons, menus, and windows.
-extension-firefox-compact-light-name=Light
+extension-firefox-compact-light-name=Zen Light
extension-firefox-compact-light-description=A theme with a light color scheme.
-extension-firefox-compact-dark-name=Dark
+extension-firefox-compact-dark-name=Zen Dark
extension-firefox-compact-dark-description=A theme with a dark color scheme.
-extension-firefox-alpenglow-name=Firefox Alpenglow
+extension-firefox-alpenglow-name=Zen Universe
extension-firefox-alpenglow-description=Use a colorful appearance for buttons, menus, and windows.
## Colorway Themes
@@ -28,3 +28,9 @@ extension-colorways-balanced-name={ $colorway-name } Balanced
# "Bold" is used in the sense of bravery or courage, not in the sense of
# emphasized text.
extension-colorways-bold-name={ $colorway-name } Bold
+
+extension-firefox-compact-galaxy-name=Zen Galaxy
+extension-firefox-compact-galaxy-description=A theme with a dark color scheme and a nice galaxy touch!
+
+extension-firefox-compact-dream-name=Zen Dream
+extension-firefox-compact-dream-description=A theme with a light color scheme and a nice dream-y touch!
\ No newline at end of file

View File

@@ -1,10 +0,0 @@
diff --git a/browser/locales/en-US/browser/appmenu.ftl b/browser/locales/en-US/browser/appmenu.ftl
index 5ad2d75f6215f7da44948cda5ad938db8fd97e8d..da4442ebcd594b602b9e991c9591071dddcaa5f6 100644
--- a/browser/locales/en-US/browser/appmenu.ftl
+++ b/browser/locales/en-US/browser/appmenu.ftl
@@ -314,3 +314,5 @@ appmenuitem-relay-title = { -relay-brand-short-name }
appmenuitem-relay-description = Mask your real email and phone
appmenuitem-vpn-title = { -mozilla-vpn-brand-name }
appmenuitem-vpn-description = Protect your online activity
+
+zen-panel-ui-current-profile-text = current profile

View File

@@ -1,11 +0,0 @@
diff --git a/browser/locales/en-US/browser/customizeMode.ftl b/browser/locales/en-US/browser/customizeMode.ftl
index e5f54b231738fc8fee505c8c8dcccde820995cfc..ec81ef8e451faa25878830b7d4796708e15fe395 100644
--- a/browser/locales/en-US/browser/customizeMode.ftl
+++ b/browser/locales/en-US/browser/customizeMode.ftl
@@ -36,3 +36,5 @@ customize-mode-touchbar-cmd =
.label = Customize Touch Bar
customize-mode-downloads-button-autohide =
.label = Hide button when empty
+
+customization-zen-browser-space = Content Space
\ No newline at end of file

View File

@@ -1,13 +0,0 @@
diff --git a/browser/locales/en-US/browser/editBookmarkOverlay.ftl b/browser/locales/en-US/browser/editBookmarkOverlay.ftl
index da74660e48620fe9097d05a51ba4be34f21246e6..3153ee3e3ea534807f7e6c35b016edf25749bbe7 100644
--- a/browser/locales/en-US/browser/editBookmarkOverlay.ftl
+++ b/browser/locales/en-US/browser/editBookmarkOverlay.ftl
@@ -13,7 +13,7 @@ bookmark-overlay-url =
# Location refers to the position of the bookmark within the browser's
# bookmarks, not to its URL or address.
bookmark-overlay-location-2 =
- .value = Location
+ .value = Folder
.accesskey = L
bookmark-overlay-choose =

View File

@@ -1,14 +0,0 @@
diff --git a/browser/locales/en-US/browser/sidebarMenu.ftl b/browser/locales/en-US/browser/sidebarMenu.ftl
index e050a2302c6699ffcabad2db4d45267912297519..d4ff03ace4d08482b4a6de62c4f00016486cad84 100644
--- a/browser/locales/en-US/browser/sidebarMenu.ftl
+++ b/browser/locales/en-US/browser/sidebarMenu.ftl
@@ -19,3 +19,8 @@ sidebar-menu-close =
sidebar-close-button =
.tooltiptext = Close sidebar
+
+sidebar-zen-sidepanel =
+ .label = Side Panels
+sidebar-zen-expand =
+ .label = Expand Sidebar
\ No newline at end of file

View File

@@ -1,19 +0,0 @@
diff --git a/browser/locales/en-US/browser/tabContextMenu.ftl b/browser/locales/en-US/browser/tabContextMenu.ftl
index 5ace34fd8a3950777c88d680b0ba5d6b6878ad7a..780c75eb3705244d3f752aec4695547315669dd3 100644
--- a/browser/locales/en-US/browser/tabContextMenu.ftl
+++ b/browser/locales/en-US/browser/tabContextMenu.ftl
@@ -26,12 +26,12 @@ duplicate-tabs =
# The following string is displayed on a menuitem that will close the tabs from the start of the tabstrip to the currently targeted tab (excluding the currently targeted and any other selected tabs).
# In left-to-right languages this should use "Left" and in right-to-left languages this should use "Right".
close-tabs-to-the-start =
- .label = Close Tabs to Left
+ .label = Close Tabs Above
.accesskey = l
# The following string is displayed on a menuitem that will close the tabs from the end of the tabstrip to the currently targeted tab (excluding the currently targeted and any other selected tabs).
# In left-to-right languages this should use "Right" and in right-to-left languages this should use "Left".
close-tabs-to-the-end =
- .label = Close Tabs to Right
+ .label = Close Tabs Below
.accesskey = i
close-other-tabs =
.label = Close Other Tabs

View File

@@ -1,13 +0,0 @@
diff --git a/browser/locales/en-US/browser/unifiedExtensions.ftl b/browser/locales/en-US/browser/unifiedExtensions.ftl
index 8db0d9488ac334ada07bf3f537f78cdc99577fb7..acc1d60d5577ffafe982557757c868fa691a1d96 100644
--- a/browser/locales/en-US/browser/unifiedExtensions.ftl
+++ b/browser/locales/en-US/browser/unifiedExtensions.ftl
@@ -10,6 +10,8 @@ unified-extensions-header-title = Extensions
unified-extensions-manage-extensions =
.label = Manage extensions
+unified-extensions-description = Extensions are used to bring more extra functionality into { -brand-short-name }.
+
## An extension in the main list
# Each extension in the unified extensions panel (list) has a secondary button

View File

@@ -0,0 +1,5 @@
zen-panel-ui-current-profile-text = current profile
unified-extensions-description = Extensions are used to bring more extra functionality into { -brand-short-name }.

View File

@@ -2,3 +2,9 @@
zen-toolbar-context-tabs-right =
.label = Tabs on the right
.accesskey = R
sidebar-zen-sidepanel =
.label = Side Panels
sidebar-zen-expand =
.label = Expand Sidebar

View File

@@ -0,0 +1,6 @@
extension-firefox-compact-galaxy-name=Zen Galaxy
extension-firefox-compact-galaxy-description=A theme with a dark color scheme and a nice galaxy touch!
extension-firefox-compact-dream-name=Zen Dream
extension-firefox-compact-dream-description=A theme with a light color scheme and a nice dream-y touch!

View File

@@ -1,20 +0,0 @@
diff --git a/browser/themes/shared/customizableui/customizeMode.css b/browser/themes/shared/customizableui/customizeMode.css
index b3ee1ada6cbaef46ade98323d43bf72d84db3b88..a87a7511ba19d02849d1ccab487684156f7d8698 100644
--- a/browser/themes/shared/customizableui/customizeMode.css
+++ b/browser/themes/shared/customizableui/customizeMode.css
@@ -547,3 +547,15 @@ toolbarpaletteitem > #search-container > #searchbar > .searchbar-textbox {
80% { border-color: rgb(20,155,249); color: rgb(20,155,249); }
100% { border-color: rgb(195,17,206); color: rgb(195,17,206); }
}
+
+#customization-zen-browser-space {
+ width: 200px;
+ height: 5px;
+}
+
+#zen-customization-uidensity-separator {
+ height: 100%;
+ width: 1px;
+ margin: 0 5px;
+ border-left: 1px solid rgba(0,0,0,.15);
+}

View File

@@ -1,34 +0,0 @@
diff --git a/toolkit/locales/en-US/toolkit/branding/brandings.ftl b/toolkit/locales/en-US/toolkit/branding/brandings.ftl
index cc95fbc3b8e1123b6bf3d0fb4cd35a456e413da4..9a090c6a238bdeada9e22514b21bd2b9d39a2b88 100644
--- a/toolkit/locales/en-US/toolkit/branding/brandings.ftl
+++ b/toolkit/locales/en-US/toolkit/branding/brandings.ftl
@@ -20,10 +20,10 @@
-mozmonitor-brand-name = Mozilla Monitor
-pocket-brand-name = Pocket
-send-brand-name = Firefox Send
--screenshots-brand-name = Firefox Screenshots
+-screenshots-brand-name = Zen Screenshots
-mozilla-vpn-brand-name = Mozilla VPN
--profiler-brand-name = Firefox Profiler
--translations-brand-name = Firefox Translations
+-profiler-brand-name = Zen Profiler
+-translations-brand-name = Zen Translations
-focus-brand-name = Firefox Focus
-relay-brand-name = Firefox Relay
-relay-brand-short-name = Relay
@@ -37,12 +37,12 @@
# “Suggest” can be localized, “Firefox” must be treated as a brand
# and kept in English.
--firefox-suggest-brand-name = Firefox Suggest
+-firefox-suggest-brand-name = Zen Suggest
# ”Home" can be localized, “Firefox” must be treated as a brand
# and kept in English.
--firefox-home-brand-name = Firefox Home
+-firefox-home-brand-name = Zen Home
# View" can be localized, “Firefox” must be treated as a brand
# and kept in English.
--firefoxview-brand-name = Firefox View
+-firefoxview-brand-name = Zen View

View File

@@ -1,8 +1,8 @@
diff --git a/toolkit/mozapps/extensions/internal/XPIDatabase.sys.mjs b/toolkit/mozapps/extensions/internal/XPIDatabase.sys.mjs
index af0b02444a47cee2a26d859086d52dff5dd3067c..68f382a4d2cf375858f3988b35e1a24b7ed9a761 100644
index 0e02963b7e2f44e7669a34ded9f0f0636e36e66c..03e203b4eb0c9436ff9767756bfe8e64dd49096e 100644
--- a/toolkit/mozapps/extensions/internal/XPIDatabase.sys.mjs
+++ b/toolkit/mozapps/extensions/internal/XPIDatabase.sys.mjs
@@ -140,7 +140,7 @@ const KEY_APP_GLOBAL = "app-global";
@@ -137,7 +137,7 @@ const KEY_APP_GLOBAL = "app-global";
const KEY_APP_PROFILE = "app-profile";
const KEY_APP_TEMPORARY = "app-temporary";
@@ -11,3 +11,12 @@ index af0b02444a47cee2a26d859086d52dff5dd3067c..68f382a4d2cf375858f3988b35e1a24b
// Properties to cache and reload when an addon installation is pending
const PENDING_INSTALL_METADATA = [
@@ -214,7 +214,7 @@ const SIGNED_TYPES = new Set(["extension", "locale", "theme"]);
// Time to wait before async save of XPI JSON database, in milliseconds
const ASYNC_SAVE_DELAY_MS = 20;
-const l10n = new Localization(["browser/appExtensionFields.ftl"], true);
+const l10n = new Localization(["browser/appExtensionFields.ftl", "browser/zenAppExtensionFields.ftl"], true);
/**
* Schedules an idle task, and returns a promise which resolves to an