summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.cpp
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2023-07-12 09:12:02 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2023-07-12 09:19:24 +0800
commita552103531a305072bcd0b4c63994354d7de164b (patch)
tree4b49741820fe35dcba25684bab17cdf25a349c62 /editor/code_editor.cpp
parent23318e877890029f35856036b9c4e0bfa09cacc6 (diff)
downloadredot-engine-a552103531a305072bcd0b4c63994354d7de164b.tar.gz
Make indentation indicators translatable
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r--editor/code_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp
index 70fd738019..2ceb12fb4a 100644
--- a/editor/code_editor.cpp
+++ b/editor/code_editor.cpp
@@ -891,7 +891,7 @@ void CodeTextEditor::_line_col_changed() {
sb.append(itos(positional_column + 1).lpad(3));
sb.append(" | ");
- sb.append(text_editor->is_indent_using_spaces() ? "Spaces" : "Tabs");
+ sb.append(text_editor->is_indent_using_spaces() ? TTR("Spaces", "Indentation") : TTR("Tabs", "Indentation"));
line_and_col_txt->set_text(sb.as_string());