Skip to content

Commit 5328a65

Browse files
committed
Merge pull request godotengine#112600 from timothyqiu/plural-message
FileSystem dock: Use plural prompt message when moving/copying files
2 parents 4e2adc6 + ce19c4a commit 5328a65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editor/docks/filesystem_dock.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3144,10 +3144,10 @@ void FileSystemDock::drop_data_fw(const Point2 &p_point, const Variant &p_data,
31443144
confirm_move_to_dir = to_dir;
31453145

31463146
if (Input::get_singleton()->is_key_pressed(Key::CMD_OR_CTRL)) {
3147-
move_confirm_text = vformat(TTR("Copy %d selected item(s) to \"%s\"?"), to_move.size(), target_dir);
3147+
move_confirm_text = vformat(TTRN("Copy %d selected item to \"%s\"?", "Copy %d selected items to \"%s\"?", to_move.size()), to_move.size(), target_dir);
31483148
confirm_to_copy = true;
31493149
} else {
3150-
move_confirm_text = vformat(TTR("Move %d selected item(s) to \"%s\"?"), to_move.size(), target_dir);
3150+
move_confirm_text = vformat(TTRN("Move %d selected item to \"%s\"?", "Move %d selected items to \"%s\"?", to_move.size()), to_move.size(), target_dir);
31513151
confirm_to_copy = false;
31523152
}
31533153

0 commit comments

Comments
 (0)