This is just some static backup of the original site, don't expect every link to work!

Ignore:
Timestamp:
Nov 26, 2011, 6:53:31 PM (11 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
826c34
Parents:
99ced4
Message:

tons of changes, mostly namespace-related

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/vI_statusmenu.js

    r99ced4 rf29419  
    3131
    3232var statusmenu = {
    33     objStatusMenu : null,
     33    stringBundle : Components.classes["@mozilla.org/intl/stringbundle;1"]
     34        .getService(Components.interfaces.nsIStringBundleService)
     35        .createBundle("chrome://v_identity/locale/v_identity.properties"),
     36
     37    objStatusMenu : null,
    3438    objSaveBaseIDMenuItem : null,
    3539    objStorageSaveMenuItem : null,
     
    150154        var sourceString = "vident.statusText.save." + save;
    151155        if (smtp != "off") sourceString = sourceString + ".smtp"
    152         var messageLine1 = vI.main.elements.strings.getString(sourceString + ".line1");
    153         var messageLine2 = vI.main.elements.strings.getString(sourceString + ".line2");
     156        var messageLine1 = statusmenu.stringBundle.GetStringFromName(sourceString + ".line1");
     157        var messageLine2 = statusmenu.stringBundle.GetStringFromName(sourceString + ".line2");
    154158        if (!messageLine2) {
    155159            statusmenu.objStatusText.setAttribute("label", messageLine1);
Note: See TracChangeset for help on using the changeset viewer.