Permalink
Commits on Aug 2, 2016
Commits on Aug 1, 2016
Commits on Jul 26, 2016
Commits on Jul 21, 2016
  1. Add keycode as a localizable attr in XUL

    This is needed to allow XUL to use keycodes like VK_F3 for key bindings.
    committed Jul 21, 2016
  2. Define localizable attrs for XUL elements

    Define which attributes are localizable for the following XUL elements:
    
        key, menu, menuitem, toolbarbutton
    committed Jul 21, 2016
Commits on Jul 15, 2016
  1. Don't import L10nService

    committed Jul 15, 2016
  2. @zbraniecki
  3. Remove LocalizationObserver.localizationsByRoot

    It duplicated the data which was already available in rootsByLocalizations (now
    simple called roots).  The only use-case was to allow not passing the second
    argument to translateRoot, which is a rarely-called API and mostly internal.
    committed Jul 15, 2016
Commits on Jul 13, 2016
Commits on Jul 12, 2016
  1. De-XBL-ify l20n-chrome-*

    Before this patch XUL and XBL were localized via a localization.xml binding.
    Now XUL files are localized using the same API as HTML (<link> elements) and
    XBL bindings rae localized by calling a special API from the <constructor>.
    committed Jul 12, 2016
  2. @zbraniecki
Commits on Jul 11, 2016
  1. @zbraniecki

    Fix remaining lint errors

    zbraniecki committed Jul 11, 2016
  2. Turn off prefer-const test in eslint

    The semantics of const in loops are not ES2015-compatible in current versions
    of Gecko.  See https://bugzilla.mozilla.org/show_bug.cgi?id=950547#c10.
    committed Jul 11, 2016
  3. Fix lint warnings

    committed Jul 11, 2016
  4. Move ResourceBundles to the clientside

    L10nRegistry's methods only return serializable data.  ResourceBundles must be
    constructed on the clientside.  The ResourceBundle class is now defined in the
    clientside as well because it's runtime-specific.
    committed Jul 11, 2016
Commits on Jul 6, 2016
  1. Fix syntax error from #130

    committed Jul 6, 2016
  2. Merge pull request #130 from irisgau/patch-1

    Update Polish decimal case
    committed on GitHub Jul 6, 2016
  3. Don't subclass Map with LocalizationObserver

    Subclassing builtins isn't support by Babel [1].  Map constructors must be
    called with `new` and Babel's use of `.call()` breaks badly.
    
    Fortunately this works fine for Array in intl/types.js. Also, we can now use
    the loose preset without problems which saves around 10KB.
    
    [1]: http://babeljs.io/docs/usage/caveats/#classes
    committed Jul 6, 2016
Commits on Jul 5, 2016
  1. Document browser compatibility

    committed Jul 5, 2016
Commits on Jun 24, 2016
  1. @irisgau

    Update Polish decimal case

    Covers polish plural case with decimals. For example, 0,3⁩ sekundy and 4,3⁩ sekundy.
    irisgau committed on GitHub Jun 24, 2016
Commits on Jun 16, 2016
Commits on Jun 15, 2016
  1. Remove unneeded this.interactive

    committed Jun 15, 2016
  2. @zbraniecki
Commits on Jun 14, 2016
  1. Remove L10nService

    It's maintained in gecko-dev's toolkit/modules
    committed Jun 14, 2016
Commits on Jun 13, 2016
  1. Observe language-registry-* topics

    committed Jun 13, 2016
Commits on Jun 10, 2016
  1. Resolver: Allow for no default value in Entity

    Sometimes it's valid for an entity to not have a value and don't define
    a default trait.  For instance, a DOM element might only require one of its
    attributes to be localized:
    
      input =
        [placeholder] Placeholder
    
    Localization.formatEntities already uses MessageContext.formatToPrimitive to
    account for null values.  With this change formatToPrimitive also doesn't
    report a "RangeError: No default" for null value which would trigger an
    undesired fallback.
    committed Jun 10, 2016