summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--threads.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/threads.js b/threads.js
index 086ffcb..d194220 100644
--- a/threads.js
+++ b/threads.js
@@ -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,