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

Make action names translatable

This commit is contained in:
Haoyu Qiu
2021-07-31 22:19:47 +08:00
parent 7c1ee0488e
commit a3b221e99f
4 changed files with 12 additions and 6 deletions

View File

@@ -116,7 +116,7 @@ void RoomEditorPlugin::_generate_points() {
// allow the user to undo generating points, because it is
// frustrating to lose old data
undo_redo->create_action("generate_points");
undo_redo->create_action(TTR("Room Generate Points"));
undo_redo->add_do_property(_room, "points", pts);
undo_redo->add_undo_property(_room, "points", old_pts);
undo_redo->commit_action();