docs: function internalResolveDictionary(source, noFetch) {
      var dictionary;
  
      if (typeof source == 'string')
      {
        var location = source;
        var extname = basis.path.extname(location);
  
        if (extname != '.l10n')
          location = location.replace(new RegExp(extname + '([#?]|$)'), '.l10n$1');
  
        source = basis.resource(location);
      }
  
      if (basis.resource.isResource(source))
        dictionary = dictionaryByUrl[source.url];
  
      return dictionary || new Dictionary(source, noFetch);
    }