mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 15:37:59 +01:00
Move input prompt strings to the properties file.
This commit is contained in:
@@ -257,7 +257,7 @@ var Editor = Module("editor", {
|
||||
let line, column;
|
||||
|
||||
if (!forceEditing && textBox && textBox.type == "password") {
|
||||
commandline.input("Editing a password field externally will reveal the password. Would you like to continue? (yes/[no]): ",
|
||||
commandline.input(_("editor.prompt.editPassword") + " ",
|
||||
function (resp) {
|
||||
if (resp && resp.match(/^y(es)?$/i))
|
||||
editor.editFieldExternally(true);
|
||||
|
||||
Reference in New Issue
Block a user