1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-18 22:05:46 +01:00

Move some more message strings to the properties file.

This commit is contained in:
Doug Kearns
2011-03-13 03:10:59 +11:00
parent 55267dddff
commit 27de24f852
14 changed files with 64 additions and 29 deletions

View File

@@ -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: "?",

View File

@@ -0,0 +1,2 @@
# vim:se ft=jproperties tw=0: