From a91a24f822cf4aed8a80e34a435f1d82693a456b Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Wed, 16 Feb 2022 19:53:27 +0300 Subject: [PATCH] Don't translate numbers in VersionControlEditorPlugin --- editor/plugins/version_control_editor_plugin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editor/plugins/version_control_editor_plugin.cpp b/editor/plugins/version_control_editor_plugin.cpp index 78b969ceab2..2741c8dac8d 100644 --- a/editor/plugins/version_control_editor_plugin.cpp +++ b/editor/plugins/version_control_editor_plugin.cpp @@ -1263,11 +1263,11 @@ VersionControlEditorPlugin::VersionControlEditorPlugin() { commit_list_size_button = memnew(OptionButton); commit_list_size_button->set_tooltip(TTR("Commit list size")); - commit_list_size_button->add_item(TTR("10")); + commit_list_size_button->add_item("10"); commit_list_size_button->set_item_metadata(0, 10); - commit_list_size_button->add_item(TTR("20")); + commit_list_size_button->add_item("20"); commit_list_size_button->set_item_metadata(0, 20); - commit_list_size_button->add_item(TTR("30")); + commit_list_size_button->add_item("30"); commit_list_size_button->set_item_metadata(0, 30); commit_list_size_button->connect("pressed", this, "_refresh_commit_list"); commit_list_hbc->add_child(commit_list_size_button);