Created attachment 4833 Replace dialog box where the bugged text appeared --Overview-- While copying a file from one folder to another where it already exists, the dialog box (screenshot attached) contains unwanted elements: "ReplaceDialogPart1|" and "ReplaceDialogPart2|". --Steps to reproduce-- I detected the problem when copying from a local filesystem to a smb shared one. Nevertheless, the same thing occurs when replacing any file from the local filesystem by the same file from somewhere else in the filesystem. --Actual results-- The dialog box contains superfluous strings (my guess is that it is localization related). --Expected results-- The two strings mentioned should not be present in the dialog box. --Build date and platform-- Archlinux x86_64 fetched binary, compiled December 9 2012.
Hello, With Thunar 1.6.4 the issue is still there. In order to fix this bug, The "ReplaceDialogPart1|" and "ReplaceDialogPart2|" prefixes were removed from the french translation strings on Transifex. But these strings are misleading and other translations might be affected as well.
This is the current code: http://git.xfce.org/xfce/thunar/tree/thunar/thunar-dialogs.c#n599 Git blame tells me it's from 2009, so it's been around a long while. The Brazilian Portuguese translation seems to be ok. This page explains what's is this prefix and why "Q_" instead of "_": https://people.gnome.org/~ryanl/glib-docs/glib-I18N.html#gettext-macro Running `grep -rn"Q_`, it only appears 6 times, a little after line thunar-dialogs:599. Well, it seems to be a hint for us translators, and assumes we know that. IDK, but I guess this confuses more than helps.
Andre Miranda referenced this bugreport in commit b5882022459f4f9a6641b32fb357c67c8083b5e7 Replace Q_ by _ to get rid of confusing prefixs (Bug #9718) https://gitlab.xfce.org/xfce/thunar/commit/b5882022459f4f9a6641b32fb357c67c8083b5e7