1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Fix vformat(), minor typos and word puzzles

This commit is contained in:
Yuri Chornoivan
2018-08-28 21:15:04 +03:00
parent d42807371c
commit 06e73522dc
6 changed files with 11 additions and 11 deletions

View File

@@ -650,8 +650,8 @@ void ConnectionsDock::_handle_signal_menu_option(int option) {
_open_connection_dialog(*item);
} break;
case DISCONNECT_ALL: {
StringName signalName = item->get_metadata(0).operator Dictionary()["name"];
disconnect_all_dialog->set_text(TTR("Are you sure you want to remove all connections from the \"") + signalName + "\" signal?");
StringName signal_name = item->get_metadata(0).operator Dictionary()["name"];
disconnect_all_dialog->set_text(vformat(TTR("Are you sure you want to remove all connections from the \"%s\" signal?"), signal_name));
disconnect_all_dialog->popup_centered();
} break;
}