Skip to content

Commit 399de3e

Browse files
committed
tmpl: remove a print
1 parent 9dc1a99 commit 399de3e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vlib/v/parser/comptime.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ fn (mut p Parser) comptime_call() ast.ComptimeCall {
289289
}
290290
}
291291
if is_html {
292-
p.error_with_pos('vweb HTML template "${tmpl_path}" not found', arg_pos)
292+
p.error_with_pos('veb HTML template "${tmpl_path}" not found', arg_pos)
293293
} else {
294294
p.error_with_pos('template file "${tmpl_path}" not found', arg_pos)
295295
}

vlib/v/parser/tmpl.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ fn veb_tmpl_${fn_name}() string {
437437
end++
438438
}
439439
key := line[pos + 1..end]
440-
println('GOT tr key line="${line}" key="${key}"')
440+
// println('GOT tr key line="${line}" key="${key}"')
441441
// source.writeln('\${tr("${key}")}')
442442
line_ = line.replace('%${key}', '\${veb.tr(ctx.lang.str(), "${key}")}')
443443
// i += key.len

0 commit comments

Comments
 (0)