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 Sven-Hendrik Haase (Svenstaro) - Thursday, 03 March 2022, 11:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
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

Closed by  Sven-Hendrik Haase (Svenstaro)
Thursday, 03 March 2022, 11:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  2022-02-28: A task closure has been requested. Reason for request: No more reproducible my opener. Assuming fixed upstream
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.
Comment by mattia (nTia89) - Sunday, 27 February 2022, 09:23 GMT
I cannot reproduce the issue. Is it still valid for you?
Comment by Federico MP (fedemp) - Sunday, 27 February 2022, 20:38 GMT
At least in my case, I'm not using Arch since a long time ago, so I can't confirm if this is still valid.

Loading...