From a81583d37b9f581a4409118e74c24d90ee8c521c Mon Sep 17 00:00:00 2001 From: Owen Kaluza Date: Tue, 25 Oct 2022 11:45:27 +1100 Subject: [PATCH] Fix the "output truncated at undefined lines" message --- app/static/app/js/Console.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/app/js/Console.jsx b/app/static/app/js/Console.jsx index 9ba03aa6..2f0a3aa6 100644 --- a/app/static/app/js/Console.jsx +++ b/app/static/app/js/Console.jsx @@ -132,7 +132,7 @@ class Console extends React.Component { let lines = this.state.lines; if (this.props.maximumLines && lines.length > this.props.maximumLines){ lines = lines.slice(-this.props.maximumLines); - lines.unshift('... ' + interpolate(_("output truncated at %(count)s lines"), { lines: this.props.maximumLines }) + ' ...'); + lines.unshift('... ' + interpolate(_("output truncated at %(count)s lines"), { count: this.props.maximumLines }) + ' ...'); } const items = [