B2G/gecko/browser/devtools/styleinspector/StyleInspector.jsm
/**
 * Lookup l10n string from a string bundle.
 * @param {string} aName The key to lookup.
 * @returns A localized version of the given key.
 */
Lookup l10n string from a string bundle.
@param {string} aName The key to lookup.
@returns A localized version of the given key.
Lookup l10n string from a string bundle . @param { string } aName The key to lookup . @returns A localized version of the given key .
function l10n(aName)
{
  try {
    return _strings.GetStringFromName(aName);
  } catch (ex) {
    Services.console.logStringMessage("Error reading '" + aName + "'");
    throw new Error("l10n error with " + aName);
  }
}
function l10n ( aName ) { try { return _strings . GetStringFromName ( aName ) ; } catch ( ex ) { Services . console . logStringMessage ( "Error reading '" + aName + "'" ) ; throw new Error ( "l10n error with " + aName ) ; } }
Lookup l10n string from a string bundle.
Lookup l10n string from a string bundle .