aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-10-12 11:41:14 +0200
committerBadlop <badlop@process-one.net>2022-10-12 12:06:28 +0200
commitd29fdc4d2e2f96b639c3319fa2b2d145259559e1 (patch)
tree10a2ff92c51139d292deb6f6eed28047e2c0bd0a
parentUpdate Chinese (Simplified) translation (thanks to Eric) (diff)
Remove unnecessary text string
-rw-r--r--src/ext_mod.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ext_mod.erl b/src/ext_mod.erl
index 3b9db2940..eeb310207 100644
--- a/src/ext_mod.erl
+++ b/src/ext_mod.erl
@@ -1018,10 +1018,9 @@ get_commit_link(CommitHtmlUrl, TitleEl, CommitSha) ->
?AXC(CommitHtmlUrl, [TitleEl], binary:part(CommitSha, {0, 8})).
get_content(Node, Query, Lang) ->
- Instruct = translate:translate(Lang, ?T("Type a command in a textbox and click Execute.")),
{{_CommandCtl}, _Res} =
case catch parse_and_execute(Query, Node) of
- {'EXIT', _} -> {{""}, Instruct};
+ {'EXIT', _} -> {{""}, <<"">>};
Result_tuple -> Result_tuple
end,