! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Replace dialog box contains "ReplaceDialogPart1|" string before the localized...
Status:
RESOLVED: FIXED
Severity:
trivial

Comments

Description pascal.mazon+bugzillaxfce 2013-01-04 12:29:17 CET
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.
Comment 1 Yannick Le Guen 2015-01-23 11:11:18 CET
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.
Comment 2 Andre Miranda editbugs 2015-02-06 23:55:17 CET
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.
Comment 3 Git Bot editbugs 2020-05-26 04:13:22 CEST
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

Bug #9718

Reported by:
pascal.mazon+bugzillaxfce
Reported on: 2013-01-04
Last modified on: 2020-05-26

People

Assignee:
Jannis Pohlmann
CC List:
3 users

Version

Attachments

Replace dialog box where the bugged text appeared (40.24 KB, image/jpeg)
2013-01-04 12:29 CET , pascal.mazon+bugzillaxfce
no flags

Additional information