Closed
Bug 38834
Opened 24 years ago
Closed 24 years ago
oflabel not localizable in file wizardManager.properties
Categories
(Core :: Internationalization: Localization, defect, P3)
Tracking
()
VERIFIED
FIXED
M18
People
(Reporter: amasri, Assigned: alecf)
References
Details
(Whiteboard: [nsbeta2-])
in file /chrome/global/locale/wizardManager.properies, the statement, oflabel=of, is not sufficient for localization. It should be part of a formatted string that includes other elements with which it will be concatenated.
Allan, can you find out who owns this file? Reassign it to the owner and ask for the explanation. We should report the concatenation in a sentence as bugs.
Reporter | ||
Comment 2•24 years ago
|
||
This variable also appears in file, /profile/resources/locale/en-US/createProfileWizard.properties
Assignee: rchen → alecf
Assignee | ||
Comment 3•24 years ago
|
||
yeah, this is me, but I think someone in i18n needs to explain to me how to do this. How do I do a formatted string in JS?
Reporter | ||
Comment 4•24 years ago
|
||
Other properties files just use the %ld, %s, %ud, etc. in the proper location in the string. See http://lxr.mozilla.org/seamonkey/source/mailnews/mime/resources/mime.properties for examples. They seem to follow C string formatting rules.
Assignee | ||
Comment 5•24 years ago
|
||
I know that, what I need is a JavaScript function that will format this stuff for me (i.e. exposing PR_smprintf or the like from JS)
Reporter | ||
Comment 6•24 years ago
|
||
Bill Law wrote a function that does this for http://lxr.mozilla.org/seamonkey/source/xpfe/components/xfer/resources/downloadP rogress.js
Assignee | ||
Comment 7•24 years ago
|
||
ok, but bill is insane. before tague left, he said he was going to expose this from JS. I'm going to see if I can track it down myself.
Comment 10•24 years ago
|
||
whoops, operator error, should be nsbeta2-
Whiteboard: [nsbeta2+] → [nsbeta2-]
Assignee | ||
Comment 12•24 years ago
|
||
we have a method now of formatting strings from JS so this should be an easy fix.
Status: NEW → ASSIGNED
Keywords: nsbeta3
Assignee | ||
Comment 13•24 years ago
|
||
Fix in hand.
Assignee | ||
Comment 14•24 years ago
|
||
fix went in a few days ago
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 15•24 years ago
|
||
oh no, wait. I just checked that fix in now (it's been in my tree for a few days)
You need to log in
before you can comment on or make changes to this bug.
Description
•