Open Bug 462199 Opened 16 years ago Updated 2 months ago

wrong names for access keys introduced by Bug 444642

Categories

(Firefox :: General, defect)

defect

Tracking

()

People

(Reporter: adriank, Unassigned)

References

Details

Attachments

(1 obsolete file)

The patch 336599 from bug 444642 introduced this new entities in browser.properties:

+geolocation.exactLocation=Exact Location (within 10 feet)
+geolocation.exactLocationKey=E
+geolocation.neighborhoodLocation=Neighborhood (within 1 mile)
+geolocation.neighborhoodLocationKey=N
+geolocation.nothingLocation=Nothing
+geolocation.nothingLocationKey=o

Unfortunately, our l10n tools like compare-locales or the translate toolkit do not recognize entities of the form *Key as access keys, so this names needs to be changed to e.g. *AccessKey .
Actually, I'd prefer .label and .accesskey for both.

Adrian, can we create a rewrite script for l10n for this?
Depends on: 444642
short update: it looks like compare-locales 0.5/0.6 doesn't distinguish between access and command keys (re.compile('[kK]ey')), so it does detect it properly.
The compare-locales version I'm working on does this differently and because of that it doesn't work.

But there is still the problem, that a localizer will not know if this is an access or a command key. And we are not using a simple "Key" anywhere else.
Pike: gandalf was working on that script - cc-ing gandalf...
so we'll end up with something like this?:

geolocation.exactLocation.label=Exact Location (within 10 feet)
geolocation.exactLocation.accesskey=E
Exactly, see attachment 345375 [details] [diff] [review] on bug 462200, where I did this for SeaMonkey.
adrian: if you need any help with the script, let me know
Severity: normal → S3
Attachment #9384778 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: