mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 1636909 - Update the Master Password OS authentication prompt string on Windows. r=MattN,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D74707
This commit is contained in:
parent
d6e7e33f9a
commit
fefb771d56
@ -1932,14 +1932,15 @@ var gPrivacyPane = {
|
||||
* Displays a dialog in which the master password may be changed.
|
||||
*/
|
||||
async changeMasterPassword() {
|
||||
// Require OS authentication before the user can set a Master Password
|
||||
if (!LoginHelper.isMasterPasswordSet() && OS_AUTH_ENABLED) {
|
||||
let messageId = "master-password-os-auth-dialog-message";
|
||||
if (AppConstants.platform == "macosx") {
|
||||
// MacOS requires a special format of this dialog string.
|
||||
// See preferences.ftl for more information.
|
||||
messageId += "-macosx";
|
||||
}
|
||||
// Require OS authentication before the user can set a Master Password.
|
||||
// OS reauthenticate functionality is not available on Linux yet (bug 1614874)
|
||||
if (
|
||||
!LoginHelper.isMasterPasswordSet() &&
|
||||
OS_AUTH_ENABLED &&
|
||||
AppConstants.platform != "linux"
|
||||
) {
|
||||
let messageId =
|
||||
"master-password-os-auth-dialog-message-" + AppConstants.platform;
|
||||
let [messageText, captionText] = await L10n.formatMessages([
|
||||
{
|
||||
id: messageId,
|
||||
|
@ -287,7 +287,7 @@ translate-exceptions =
|
||||
|
||||
# Variables:
|
||||
# $localeName (string) - Localized name of the locale to be used.
|
||||
use-system-locale =
|
||||
use-system-locale =
|
||||
.label = Use your operating system settings for “{ $localeName }” to format dates, times, numbers, and measurements.
|
||||
|
||||
check-user-spelling =
|
||||
@ -938,7 +938,7 @@ forms-master-pw-fips-desc = Password Change Failed
|
||||
## OS Authentication dialog
|
||||
|
||||
# This message can be seen by trying to add a Master Password.
|
||||
master-password-os-auth-dialog-message = Verify your identity to create a Master Password.
|
||||
master-password-os-auth-dialog-message-win = To create a Master Password, enter your Windows login credentials. This helps protect the security of your accounts.
|
||||
|
||||
# This message can be seen by trying to add a Master Password.
|
||||
# The macOS strings are preceded by the operating system with "Firefox is trying to "
|
||||
|
Loading…
Reference in New Issue
Block a user