5
edits
(question about stringbundle service and XPCOM interface nsIStringBundleService - is it replaced / redundant too?) |
(answer for XUL stringbundleset/stringbundle) |
||
Line 14: | Line 14: | ||
Tb63 - on removing XUL stringbundleset/stringbundle | Tb63 - on removing XUL stringbundleset/stringbundle | ||
dies this also effect nsIStringBundleService? Or can this still be used - e.g.: | dies this also effect nsIStringBundleService?<br /> | ||
let sb = Components.classes["@mozilla.org/intl/stringbundle;1"].getService(Components.interfaces.nsIStringBundleService); | Or can this still be used - e.g.:<br /> | ||
let sb = Components.classes["@mozilla.org/intl/stringbundle;1"].getService(Components.interfaces.nsIStringBundleService); <br /> | |||
A ==>> 'dies' means it will go away ;) so you need to change to as said:<br /> Replacement: Services.strings.createBundle(..). |
edits