1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix incorrect order: TTR(vformat instead of vformat(TTR

This commit is contained in:
Chaosus
2024-11-14 11:37:17 +03:00
parent 76fa7b2914
commit f3344b71b1
3 changed files with 6 additions and 6 deletions

View File

@@ -1462,9 +1462,9 @@ GridMapEditor::GridMapEditor() {
floor->set_max(32767);
floor->set_step(1);
floor->set_tooltip_text(
TTR(vformat("Change Grid Floor:\nPrevious Plane (%s)\nNext Plane (%s)",
vformat(TTR("Change Grid Floor:\nPrevious Plane (%s)\nNext Plane (%s)"),
ED_GET_SHORTCUT("grid_map/previous_floor")->get_as_text(),
ED_GET_SHORTCUT("grid_map/next_floor")->get_as_text())));
ED_GET_SHORTCUT("grid_map/next_floor")->get_as_text()));
toolbar->add_child(floor);
floor->get_line_edit()->add_theme_constant_override("minimum_character_width", 2);
floor->get_line_edit()->set_context_menu_enabled(false);