diff options
| author | Manuel Menezes de Sequeira <MMSequeira@gmail.com> | 2014-11-18 18:11:14 +0000 |
|---|---|---|
| committer | Manuel Menezes de Sequeira <MMSequeira@gmail.com> | 2014-11-18 18:11:14 +0000 |
| commit | 8e992dcaa877044a2b2f15edf86c003f4df7253c (patch) | |
| tree | ca5ea88e1e54a65e055680e5307795d6c36e575a | |
| parent | dc805a9012d66cc906301ae5c63fc96b15e6dd12 (diff) | |
| download | snap-8e992dcaa877044a2b2f15edf86c003f4df7253c.tar.gz snap-8e992dcaa877044a2b2f15edf86c003f4df7253c.zip | |
Add localization to number of arguments error and temporary watchers
| -rw-r--r-- | threads.js | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -849,8 +849,8 @@ Process.prototype.evaluate = function ( } else if (context.emptySlots !== 1) { throw new Error( - 'expecting ' + context.emptySlots + ' input(s), ' - + 'but getting ' + parms.length + localize('expecting') + ' ' + context.emptySlots + ' ' + + localize('input(s), but getting') + ' ' + parms.length ); } } @@ -915,8 +915,8 @@ Process.prototype.fork = function (context, args) { } else if (context.emptySlots !== 1) { throw new Error( - 'expecting ' + context.emptySlots + ' input(s), ' - + 'but getting ' + parms.length + localize('expecting') + ' ' + context.emptySlots + ' ' + + localize('input(s), but getting') + ' ' + parms.length ); } } @@ -1148,7 +1148,7 @@ Process.prototype.doShowVar = function (varName) { if (isGlobal || target.owner) { label = name; } else { - label = name + ' (temporary)'; + label = name + ' ' + localize('(temporary)'); } watcher = new WatcherMorph( label, |
