Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#52361 - [gvfs] "Trash" icon does not use user's locale

Attached to Project: Arch Linux
Opened by Federico MP (fedemp) - Wednesday, 04 January 2017, 01:25 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 10 December 2019, 09:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description: The "Trash" icon that desktop environments and file managers show when they are compatible with gvfs, is not translated according to user's locale.conf

Additional info:
* package version(s)

gvfs 1.30.3-1

* config and/or log files etc.

$HOME/.config/locale.conf:

LANG=es_AR.utf8
LC_CTYPE="es_AR.utf8"
LC_NUMERIC="es_AR.utf8"
LC_TIME="es_AR.utf8"
LC_COLLATE="es_AR.utf8"
LC_MONETARY="es_AR.utf8"
LC_MESSAGES="es_AR.utf8"
LC_PAPER="es_AR.utf8"
LC_NAME="es_AR.utf8"
LC_ADDRESS="es_AR.utf8"
LC_TELEPHONE="es_AR.utf8"
LC_MEASUREMENT="es_AR.utf8"
LC_IDENTIFICATION="es_AR.utf8"
LC_ALL="es_AR.utf8"

/etc/locale.conf

LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL="en_US.utf8"

Steps to reproduce:

* Launch thunar or pcmanfm
* Check the list of locations on the left column for "Trash".

Expected:
* "Trash" reads "Papelera" since user's locale is Spanish.

Actual result:
* "Trash" reads "Trash"

If you change the system's locale (moving ~/.config/locale.conf to /etc/locale.conf) the icon will show the right translation.
This task depends upon

Comment by Federico MP (fedemp) - Wednesday, 04 January 2017, 01:59 GMT
Since there isn't a simple way to edit the bug, I'll leave a comment here.

The locations column shows the right translation. It's the _desktop_ icon the one that remains unchanged.

- Steps to reproduce:

Launch `pcmanfm --desktop &`.
Right click on desktop to launch context menu and select: Desktop preferences > Desktop icons > Show "Trash" on desktop

Expected and actual results remaim the same, but apply to desktop icon.
Comment by viktor (dviktor) - Sunday, 26 February 2017, 12:42 GMT
I can confirm that bug with the XFCE 4.12 - the "Trash" icon is not translated in Thunar or on desktop itself.

Loading...