Don't translate numbers in VersionControlEditorPlugin

This commit is contained in:
Yuri Sizov 2022-02-16 19:53:27 +03:00
parent 2dd545b512
commit a91a24f822
1 changed files with 3 additions and 3 deletions

View File

@ -1263,11 +1263,11 @@ VersionControlEditorPlugin::VersionControlEditorPlugin() {
commit_list_size_button = memnew(OptionButton); commit_list_size_button = memnew(OptionButton);
commit_list_size_button->set_tooltip(TTR("Commit list size")); 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->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->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->set_item_metadata(0, 30);
commit_list_size_button->connect("pressed", this, "_refresh_commit_list"); commit_list_size_button->connect("pressed", this, "_refresh_commit_list");
commit_list_hbc->add_child(commit_list_size_button); commit_list_hbc->add_child(commit_list_size_button);