Merge pull request #58195 from pycbouh/vcs-plugin-dont-translate-numbers-3.x

This commit is contained in:
Rémi Verschelde 2022-02-16 18:32:07 +01:00 committed by GitHub
commit 6bf0503c6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);