id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2748	"Wrong message in menu item ""Delete tagged files if a copy exists in the other directory"""	victor-homyakov	andrew_b	"**What version of Midnight Commander is used?**
LC_MESSAGES=C mc -V
GNU Midnight Commander 4.7.5.5
Built with GLib 2.24.1
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, fish, smbfs
Data types: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 64;

**What steps will reproduce the problem?**
1. Select on the left pane files, which not exist on the right pane
2. Place cursor on "".."" entry
3. Press F2 and select menu item ""Delete tagged files if a copy exists in the other directory""

**What is the expected output?**
something like
{{{
file1 has no copy in /right/pane/path/file1: NOT deleted
file2 has no copy in /right/pane/path/file2: NOT deleted
}}}
for each file (file1, file2 etc.)

**What do you see instead?**
{{{
.. has no copy in /right/pane/path/..: NOT deleted
.. has no copy in /right/pane/path/..: NOT deleted
}}}
for each file

This happens because of wrong message in menu script (%f points to current file, not to file which was tested):
{{{
D   Delete tagged files if a copy exists in the other directory
...
        echo ""%f has no copy in %D/%f: NOT deleted""
}}}
should be something like
{{{
D   Delete tagged files if a copy exists in the other directory
...
        echo ""$i has no copy in %D: NOT deleted""
}}}
"	defect	closed	trivial	4.8.2	mc-core	master	fixed					merged	committed-master committed-stable
