"Generic USB %s Reader" shows untranslated

Bug #459813 reported by Ricardo Pérez López
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Disks
Unknown
Medium
Ubuntu Translations
Won't Fix
Undecided
Unassigned
devicekit-disks (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Binary package hint: gnome-disk-utility

When I go to Places -> Computer in my fully updated Karmic, all my internal USB card readers shows untranslated labels in English rather than Spanish: "Generic USB CF Reader", "Generic USB MS Reader", "Generic USB SD Reader", and so on...

Moreover, I can't translate it because there's no "Generic USB..." string in the gnome-disk-utility Launchpad template:

https://translations.launchpad.net/ubuntu/karmic/+source/gnome-disk-utility/+pots/gnome-disk-utility/es/+translate?batch=10&show=all&search=Generic

I attach an screenshot to illustrate the problem.

Revision history for this message
Ricardo Pérez López (ricardo) wrote :
Revision history for this message
David Planella (dpm) wrote :

I'm not sure where this string comes from, but perhaps from nautilus or gvfs instead of gnome-disk-utility?

Changed in ubuntu-translations:
status: New → Incomplete
Revision history for this message
Ethan Bissett (draimus-deactivatedaccount) wrote :

All gnome apps will use those strings. If you look under Places->Computer nautilus also uses those names.

Gnome seems to get the names from /sys. For example if I look in /sys/bus/usb/devices/1-5/1-5:1.0/host8/target8:0:0/8:0:0:0, the vendor file contains "Generic" and the model file contains "USB SD Reader". I'm not 100% sure where these strings are coming from though.

Udev knows what they are because the show up in the /var/log/udev logfile. But I don't know if it's reporting them as it sees them or if it's setting them itself.

I found one of the strings in the Linux kernel sources but not any of the others. I have not found them in the udev rules or binaries. It could be that the strings come from the device itself, which would be annoying.

I don't know if that helps at all. I only found this out, and the launchpad bug, because one of my card reader slots is mislabeled in gnome (says "Mini SD" instead of "Micro SD") and I was trying to figure out how to change the text string.

David Planella (dpm)
Changed in ubuntu-translations:
status: Incomplete → Confirmed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

devicekit-disks issue, comment from upstream:

"We just show the name obtained from the device descriptors. Unfortunately there
is no way to localize it - in fact, in general we don't even know what kind of
media (e.g. CF, MS, SD, ...) each LUN uses.

One possible fix is to match the usb vid/pid like we do here

http://cgit.freedesktop.org/DeviceKit/DeviceKit-disks/tree/data/95-devkit-disks.rules?id=009#n87

and then we can show the appropriate localized name. However, maintaining
whitelists for this generally does not work. If you want to, file a bug here

https://bugs.freedesktop.org/enter_bug.cgi?product=DeviceKit-disks

including the USB vid/pid."

reassigning , thanks.

affects: gnome-disk-utility (Ubuntu) → devicekit-disks (Ubuntu)
Changed in devicekit-disks (Ubuntu):
importance: Undecided → Low
Revision history for this message
Martin Pitt (pitti) wrote :

This is the name that the device tells us, and maintaining huge vid/pid lists and translations would be an inordinate amount of effort IMHO.

Changed in devicekit-disks (Ubuntu):
status: New → Won't Fix
Revision history for this message
Sense Egbert Hofstede (sense) wrote :

Marking the Ubuntu Translations task as Won't Fix in accordance with Martin Pitt's comment.

Changed in ubuntu-translations:
status: Confirmed → Won't Fix
Changed in gnome-disk-utility:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.