diff --git a/docs/writing-commands.md b/docs/writing-commands.md index 4060e82a..c011dde9 100644 --- a/docs/writing-commands.md +++ b/docs/writing-commands.md @@ -87,7 +87,7 @@ depends on what context you are writing your command for. GCLI supports Mozilla style localization. To add a command that will only ever be used embedded in Firefox, this is the way to go. Your strings should be -stored in ``browser/locales/en-US/chrome/browser/devtools/gclicommands.properties``, +stored in ``toolkit/locales/en-US/chrome/devtools/gclicommands.properties``, And you should access them using ``gcli.lookup(...)`` or ``gcli.lookupFormat()`` For examples of existing commands, take a look in diff --git a/mozilla/gcli/index.js b/mozilla/gcli/index.js index d65d6b5f..9f32352d 100644 --- a/mozilla/gcli/index.js +++ b/mozilla/gcli/index.js @@ -91,7 +91,7 @@ exports.hiddenByChromePref = function() { try { var Services = Components.utils.import('resource://gre/modules/Services.jsm', {}).Services; var stringBundle = Services.strings.createBundle( - 'chrome://browser/locale/devtools/gclicommands.properties'); + 'chrome://global/locale/devtools/gclicommands.properties'); /** * Lookup a string in the GCLI string bundle diff --git a/mozilla/util/l10n.js b/mozilla/util/l10n.js index 4ef1e483..7016d0fb 100644 --- a/mozilla/util/l10n.js +++ b/mozilla/util/l10n.js @@ -23,7 +23,7 @@ var Services = Components.utils.import('resource://gre/modules/Services.jsm', {} var imports = {}; XPCOMUtils.defineLazyGetter(imports, 'stringBundle', function () { - return Services.strings.createBundle('chrome://browser/locale/devtools/gcli.properties'); + return Services.strings.createBundle('chrome://global/locale/devtools/gcli.properties'); }); /*