mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 05:45:47 +01:00
Move some more message strings to the properties file.
This commit is contained in:
@@ -205,7 +205,7 @@ var Config = Module("config", ConfigBase, {
|
||||
let title = document.getElementById("sidebar-title");
|
||||
|
||||
dactyl.assert(args.length || title.value || args.bang && config.lastSidebar,
|
||||
"Argument required");
|
||||
_("error.argumentRequired"));
|
||||
|
||||
if (!args.length)
|
||||
return window.toggleSidebar(title.value ? null : config.lastSidebar);
|
||||
@@ -227,7 +227,7 @@ var Config = Module("config", ConfigBase, {
|
||||
return;
|
||||
}
|
||||
|
||||
return dactyl.echoerr("No sidebar " + args[0] + " found");
|
||||
return dactyl.echoerr(_("error.invalidArgument", args[0]));
|
||||
},
|
||||
{
|
||||
argCount: "?",
|
||||
|
||||
Reference in New Issue
Block a user