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:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user