Bug 1551472 - Move localization from being keyed on the custom elements to the elements inside of the shadow roots. r=fluent-reviewers,MattN,Pike
authorJared Wein <jwein@mozilla.com>
Wed, 03 Jul 2019 15:22:52 +0000
changeset 11809 fd729721fdfe257b59e27463e221a82a4b833c37
parent 11808 40608d3a0413549023c4d050b1d87b5611a7fa50
child 11810 1fc4454cb97302c6e99157c2fb49415b7fde7f8d
push id156
push userflodolo@mozilla.com
push dateMon, 29 Jul 2019 09:39:25 +0000
reviewersfluent-reviewers, MattN, Pike
bugs1551472
Bug 1551472 - Move localization from being keyed on the custom elements to the elements inside of the shadow roots. r=fluent-reviewers,MattN,Pike Differential Revision: https://phabricator.services.mozilla.com/D36257 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 90e386cbfa6abcfd9d296c16798009d536376368 X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: e5d98eda2ec359a0968c567076b1a625cb6c99ce X-Channel-Repo: releases/mozilla-release X-Channel-Revision: 2fb19d0466d2f61674c0af80813645cccd510593 X-Channel-Repo: releases/mozilla-esr68 X-Channel-Revision: a8da73ce90a4110e14caaba3e93d8a086b3a0669
browser/browser/aboutLogins.ftl
--- a/browser/browser/aboutLogins.ftl
+++ b/browser/browser/aboutLogins.ftl
@@ -1,78 +1,81 @@
 # 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/.
 
 ### This file is not in a locales directory to prevent it from
 ### being translated as the feature is still in heavy development
 ### and strings are likely to change often.
 
-### Fluent isn't translating elements in the shadow DOM so the translated strings
-### need to be applied to the composed node where they can be moved to the proper
-### descendant after translation.
-
 about-logins-page-title = Logins & Passwords
 
-create-login-button = New Login
-
 login-filter =
   .placeholder = Search Logins
 
+create-login-button = New Login
+
+## The ⋯ menu that is in the top corner of the page
+menu =
+  .title = Open menu
+menu-menuitem-faq = Frequently Asked Questions
+menu-menuitem-feedback = Leave Feedback
+menu-menuitem-import = Import Passwords…
+menu-menuitem-preferences =
+  { PLATFORM() ->
+      [windows] Options
+     *[other] Preferences
+  }
+
+## Login List
 login-list =
   .aria-label = Logins matching search query
-  .count =
-    { $count ->
-        [one] { $count } login
-       *[other] { $count } logins
-    }
-  .last-changed-option = Last Changed
-  .last-used-option = Last Used
-  .missing-username = (no username)
-  .name-option = Name
-  .new-login-subtitle = Enter your login credentials
-  .new-login-title = New Login
-  .sort-label-text = Sort by:
+login-list-count =
+  { $count ->
+      [one] { $count } login
+     *[other] { $count } logins
+  }
+login-list-last-changed-option = Last Changed
+login-list-last-used-option = Last Used
+login-list-name-option = Name
+login-list-sort-label-text = Sort by:
+login-list-item-title-new-login = New Login
+login-list-item-subtitle-new-login = Enter your login credentials
+login-list-item-subtitle-missing-username = (no username)
 
-login-item =
-  .cancel-button = Cancel
-  .copied-password-button = ✓ Copied!
-  .copied-username-button = ✓ Copied!
-  .copy-password-button = Copy
-  .copy-username-button = Copy
-  .delete-button = Delete
-  .edit-button = Edit
-  .new-login-title = Create New Login
-  .open-site-button = Launch
-  .origin-label = Website Address
-  .origin-placeholder = https://www.example.com
-  .password-hide-title = Hide password
-  .password-label = Password
-  .password-show-title = Show password
-  .save-changes-button = Save Changes
-  .time-created = Created: { DATETIME($timeCreated, day: "numeric", month: "long", year: "numeric") }
-  .time-changed = Last modified: { DATETIME($timeChanged, day: "numeric", month: "long", year: "numeric") }
-  .time-used = Last used: { DATETIME($timeUsed, day: "numeric", month: "long", year: "numeric") }
-  .username-label = Username
-  .username-placeholder = name@example.com
+## Login
+login-item-new-login-title = Create New Login
+login-item-edit-button = Edit
+login-item-delete-button = Delete
+login-item-origin-label = Website Address
+login-item-origin =
+  .placeholder = https://www.example.com
+login-item-open-site-button = Launch
+login-item-username-label = Username
+login-item-username =
+  .placeholder = name@example.com
+login-item-copied-username-button-text = ✔ Copied!
+login-item-copy-username-button-text = Copy
+login-item-password-label = Password
+login-item-password-reveal-checkbox-show =
+  .title = Show password
+login-item-password-reveal-checkbox-hide =
+  .title = Hide password
+login-item-copied-password-button-text = ✔ Copied!
+login-item-copy-password-button-text = Copy
+login-item-save-changes-button = Save Changes
+login-item-cancel-button = Cancel
+login-item-time-changed = Last modified: { DATETIME($timeChanged, day: "numeric", month: "long", year: "numeric") }
+login-item-time-created = Created: { DATETIME($timeCreated, day: "numeric", month: "long", year: "numeric") }
+login-item-time-used = Last used: { DATETIME($timeUsed, day: "numeric", month: "long", year: "numeric") }
 
+## Master Password notification
 master-password-notification-message = Please enter your master password to view saved logins & passwords
-# TODO: Not sure how to use formatValue with these as attributes on a single ID
-master-password-reload-button-label = Log in
-# TODO: Not sure how to use formatValue with these as attributes on a single ID
-master-password-reload-button-accesskey = L
+master-password-reload-button =
+  .label = Log in
+  .accesskey = L
 
-confirm-delete-dialog =
-  .title = Confirm Deletion
-  .message = Are you sure you want to delete this login?
-  .cancel-button = Cancel
-  .confirm-button = Delete login
-
-menu-button =
-  .button-title = Open menu
-  .menuitem-faq = Frequently Asked Questions
-  .menuitem-feedback = Leave Feedback
-  .menuitem-import = Import Passwords…
-  .menuitem-preferences =
-    { PLATFORM() ->
-        [windows] Options
-       *[other] Preferences
-    }
+confirm-delete-dialog-title = Confirm Deletion
+confirm-delete-dialog-message = Are you sure you want to delete this login?
+confirm-delete-dialog-dismiss-button =
+  .title = Cancel
+confirm-delete-dialog-cancel-button = Cancel
+confirm-delete-dialog-confirm-button = Delete login