summaryrefslogtreecommitdiff
path: root/js/Sources/CLOCK_c.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/CLOCK_c.js')
-rw-r--r--js/Sources/CLOCK_c.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Sources/CLOCK_c.js b/js/Sources/CLOCK_c.js
index 5ca837b0..c38b27a3 100644
--- a/js/Sources/CLOCK_c.js
+++ b/js/Sources/CLOCK_c.js
@@ -63,12 +63,12 @@ function CLOCK_c() {
dt_old = model.rpar[1-1];
model_n = model;
while (true) {
- [ok,this.dt,this.t0,this.exprs0] = scicos_getvalue([[msprintf(gettext("Set %s block parameters"),"CLOCK_c")],[" "],[gettext("Event clock generator")],[" "],[gettext("  Do not start if \'Initialisation Time\' is negative")],[" "]],[[gettext("Period")],[gettext("Initialisation Time")]],list("vec",1,"vec",1),exprs);
+ [ok,this.dt,this.t0,this.exprs0] = scicos_getvalue([[msprintf("Set %s block parameters","CLOCK_c")],[" "],["Event clock generator"],[" "],["  Do not start if \'Initialisation Time\' is negative"],[" "]],["Period","Initialisation Time"],list("vec",1,"vec",1),exprs);
if (!ok) {
break;
}
if (this.dt<=0) {
- block_parameter_error(msprintf(gettext("Wrong values for \'%s\' parameter: %5.1e."),gettext("Period"),this.dt),gettext("Strictly positive number expected."));
+ block_parameter_error(msprintf("Wrong values for \'%s\' parameter: %5.1e.","Period",this.dt),"Strictly positive number expected.");
ok = false;
}
if (ok) {