Bug 1453959 - Web Authentication - Use term "Security Key" r=jcj
authorTim Taubert <ttaubert@mozilla.com>
Wed, 02 May 2018 15:32:23 +0200
changeset 416709 2ef2f23e9c1d348c5b98aa4de8ee8aae6f70bd4d
parent 416708 409f43dceb0ef89ceb4f732c826d580a8d30734a
child 416710 daa8466df43e3f44a5e3cd603c2f903ce4100f6f
push id33933
push userrgurzau@mozilla.com
push dateWed, 02 May 2018 21:05:42 +0000
treeherdermozilla-central@2d83e1843241 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjcj
bugs1453959
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1453959 - Web Authentication - Use term "Security Key" r=jcj Reviewers: jcj Reviewed By: jcj Bug #: 1453959 Differential Revision: https://phabricator.services.mozilla.com/D989
browser/base/content/browser.js
browser/locales/en-US/chrome/browser/browser.properties
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -6935,17 +6935,17 @@ var WebAuthnPromptHelper = {
       this.sign(mgr, data);
     } else if (data.action == "cancel") {
       this.cancel(data);
     }
   },
 
   register(mgr, {origin, tid}) {
     let mainAction = this.buildCancelAction(mgr, tid);
-    this.show(tid, "register", "webauthn.registerPrompt", origin, mainAction);
+    this.show(tid, "register", "webauthn.registerPrompt2", origin, mainAction);
   },
 
   registerDirect(mgr, {origin, tid}) {
     let mainAction = this.buildProceedAction(mgr, tid);
     let secondaryActions = [this.buildCancelAction(mgr, tid)];
 
     let learnMoreURL =
       Services.urlFormatter.formatURLPref("app.support.baseURL") +
@@ -6953,23 +6953,23 @@ var WebAuthnPromptHelper = {
 
     let options = {
       learnMoreURL,
       checkbox: {
         label: gNavigatorBundle.getString("webauthn.anonymize")
       }
     };
 
-    this.show(tid, "register-direct", "webauthn.registerDirectPrompt",
+    this.show(tid, "register-direct", "webauthn.registerDirectPrompt2",
               origin, mainAction, secondaryActions, options);
   },
 
   sign(mgr, {origin, tid}) {
     let mainAction = this.buildCancelAction(mgr, tid);
-    this.show(tid, "sign", "webauthn.signPrompt", origin, mainAction);
+    this.show(tid, "sign", "webauthn.signPrompt2", origin, mainAction);
   },
 
   show(tid, id, stringId, origin, mainAction, secondaryActions = [], options = {}) {
     this.reset();
 
     try {
       origin = Services.io.newURI(origin).asciiHost;
     } catch (e) {
--- a/browser/locales/en-US/chrome/browser/browser.properties
+++ b/browser/locales/en-US/chrome/browser/browser.properties
@@ -482,31 +482,31 @@ offlineApps.manageUsageAccessKey=S
 canvas.siteprompt=Will you allow %S to use your HTML5 canvas image data? This may be used to uniquely identify your computer.
 canvas.notAllow=Don’t Allow
 canvas.notAllow.accesskey=n
 canvas.allow=Allow Data Access
 canvas.allow.accesskey=A
 canvas.remember=Always remember my decision
 
 # WebAuthn prompts
-# LOCALIZATION NOTE (webauthn.registerPrompt): %S is hostname
-webauthn.registerPrompt=%S wants to register an account with one of your security tokens. You can connect and authorize one now, or cancel.
-# LOCALIZATION NOTE (webauthn.registerDirectPrompt):
+# LOCALIZATION NOTE (webauthn.registerPrompt2): %S is hostname
+webauthn.registerPrompt2=%S wants to register an account with one of your security keys. You can connect and authorize one now, or cancel.
+# LOCALIZATION NOTE (webauthn.registerDirectPrompt2):
 # %1$S is hostname. %2$S is brandShortName.
 # The website is asking for extended information about your
 # hardware authenticator that shouldn't be generally necessary. Permitting
 # this is safe if you only use one account at this website. If you have
 # multiple accounts at this website, and you use the same hardware
 # authenticator, then the website could link those accounts together.
 # And this is true even if you use a different profile / browser (or even Tor
 # Browser). To avoid this, you should use different hardware authenticators
 # for different accounts on this website.
-webauthn.registerDirectPrompt=%1$S is requesting extended information about your authenticator, which may affect your privacy.\n\n%2$S can anonymize this for you, but the website might decline this authenticator. If declined, you can try again.
-# LOCALIZATION NOTE (webauthn.signPrompt): %S is hostname
-webauthn.signPrompt=%S wants to authenticate you using a registered security token. You can connect and authorize one now, or cancel.
+webauthn.registerDirectPrompt2=%1$S is requesting extended information about your security key, which may affect your privacy.\n\n%2$S can anonymize this for you, but the website might decline this key. If declined, you can try again.
+# LOCALIZATION NOTE (webauthn.signPrompt2): %S is hostname
+webauthn.signPrompt2=%S wants to authenticate you using a registered security key. You can connect and authorize one now, or cancel.
 webauthn.cancel=Cancel
 webauthn.cancel.accesskey=c
 webauthn.proceed=Proceed
 webauthn.proceed.accesskey=p
 webauthn.anonymize=Anonymize anyway
 
 # Spoof Accept-Language prompt
 privacy.spoof_english=Changing your language setting to English will make you more difficult to identify and enhance your privacy. Do you want to request English language versions of web pages?