1
0
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:
Doug Kearns
2011-03-13 13:45:47 +11:00
parent cffbae4e1b
commit 3d09a0e843
5 changed files with 16 additions and 12 deletions

View File

@@ -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);