1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-20 17:25:46 +01:00

Move some more message strings to the properties file.

This commit is contained in:
Doug Kearns
2011-03-10 22:06:29 +11:00
parent 0196d116a1
commit 11623d4f8b
10 changed files with 35 additions and 18 deletions

View File

@@ -78,8 +78,8 @@ var Download = Class("Download", {
})),
command: function command(name) {
util.assert(set.has(this.allowedCommands, name), "Unknown command");
util.assert(this.allowedCommands[name], "Command not allowed");
util.assert(set.has(this.allowedCommands, name), _("download.unknownCommand"));
util.assert(this.allowedCommands[name], _("download.commandNotAllowed"));
services.downloadManager[name + "Download"](this.id);
},