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.
This variable also appears in file, /profile/resources/locale/en-US/createProfileWizard.properties
Assignee: rchen → alecf
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?
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.
Bill Law wrote a function that does this for http://lxr.mozilla.org/seamonkey/source/xpfe/components/xfer/resources/downloadP rogress.js
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.
cc bobj and ftang.
whoops, operator error, should be nsbeta2-
Whiteboard: [nsbeta2+] → [nsbeta2-]
Target Milestone: --- → M18
we have a method now of formatting strings from JS so this should be an easy fix.
Status: NEW → ASSIGNED
Fix in hand.
fix went in a few days ago
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
oh no, wait. I just checked that fix in now (it's been in my tree for a few days)
I verified this in 2000-09-19-05 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.