1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-10 08:05: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

@@ -119,7 +119,7 @@ var Map = Class("Map", {
mappings.repeat = repeat;
if (this.executing)
util.dumpStack("Attempt to execute mapping recursively: " + args.command);
util.dumpStack(_("map.recursive", args.command));
dactyl.assert(!this.executing, _("map.recursive", args.command));
try {

View File

@@ -428,7 +428,7 @@ var Modes = Module("modes", {
init: function init(name, options, params) {
if (options.bases)
util.assert(options.bases.every(function (m) m instanceof this, this.constructor),
"Invalid bases", true);
_("mode.invalidBases"), true);
update(this, {
id: 1 << Modes.Mode._id++,