Skip to content
Commits on Feb 11, 2015
  1. @carlosantoniodasilva


    carlosantoniodasilva committed
Commits on Nov 12, 2014
  1. @julik

    Perform deep merges when doing Backend::Chain#translate

    julik committed
    Currently when requesting a namespace it would give you a union
    of the top level keys, but would let nested keys override each other.
    As an effect of this, you would be losing translations coming from
    a lower-level backend if at least one subkey is "overridden" in a backend
    that has higher priority.
    This fix ensures that you instead get a "deep union" of all the translation
    keys and the merges do indeed get performed correctly not only at the top
    level of the namespace but all the way down.
Commits on Aug 17, 2014
  1. @carlosantoniodasilva
Commits on Jul 16, 2014
  1. @carlosantoniodasilva

    Remove the need for TokyoCabinet and Rufus dependency to run the tests

    carlosantoniodasilva committed
    The key-value store requires a very specific API from the store, and we
    can use a simple hash object to match that contract on our tests, so
    there's no need for yet another dependency on top of it.
  2. @carlosantoniodasilva
Commits on May 29, 2014
  1. @arthurnn

    Fix error when including Fallbacks on non-Simple backend

    arthurnn committed
    Commit 12aa0f0 introduced a bug, where
    if `Fallbacks` module is included in a class that doesnt define
    `translations` the code would fail. This is a pretty common
    scenario, for instance when the backend is a `Chain`. Also this was
    pretty common case to fail in rails, as its include Fallbacks in the
    I18n.backend, like this:
    I18n.backend.class.send(:include, I18n::Backend::Fallbacks)
    This stops using the `translations` method in the fallbacks, and instead
    ignores `I18n::InvalidLocale` errors.
    [fixes #238]
    [fixes #258]
    [fixes #259]
Commits on May 5, 2014
  1. @carlosantoniodasilva
Commits on Dec 7, 2013
  1. @romuloceccon

    Fixes issue with Fallbacks and enforce_available_locales

    romuloceccon committed
    Fallbacks should check whether each fallback
    location being tried was set by
    store_translations before deferring to
    I18n.translate. Otherwise a I18n::InvalidLocale
    may be raised when enforce_available_locales is
Commits on Aug 15, 2013
  1. @ndbroadbent

    Move exists? implementation to Backend::Base, and Backend::Chain. Add…

    ndbroadbent committed
    …ed test to lib/i18n/tests/basics.rb
Commits on Apr 28, 2013
  1. @miry

    Return meridian in correct case.

    miry committed
Commits on Mar 25, 2013
  1. @nashbridges
Commits on Feb 27, 2013
  1. @josevalim
  2. @kknapik

    Fix #192 - resolve problems with encoding and transliterator between …

    kknapik committed
    …various ruby versions.
Commits on Feb 26, 2013
  1. @kknapik
Commits on Dec 31, 2012
  1. @kknapik

    Revert "Fix i18n/backend/key_value to add data in a array" causing va…

    kknapik committed
    …rious issues.
    This reverts commit e2b0fe4.
Commits on Dec 22, 2012
  1. @stevenweber
Commits on Dec 21, 2012
  1. @kknapik
  2. @kknapik
Commits on Dec 19, 2012
  1. @grosser
Commits on Dec 5, 2012
  1. @kknapik

    Fix I18n.transliterate for non utf-8 keys (occurs e.g. in jruby 1.7.0…

    kknapik committed
    … which have US-ASCII encoded symbols)
Commits on Sep 16, 2012
  1. @tigrish

    Merge pull request #166 from barsoom/key_in_missing_interpolation_arg…

    tigrish committed
    Include the missing key in "missing interpolation argument" errors.
  2. @tigrish

    Update documentation for the `pluralize` method

    tigrish committed
    Hopefully made it clearer what is actually going on and why.
  3. @henrik
Commits on Aug 30, 2012
  1. make sure, already cached scope is not modified, fixes issue #160

    Friedrich Delgado committed
Commits on Jul 10, 2012
  1. @thehenster
Commits on Jul 7, 2012
  1. @tigrish
  2. @tigrish

    Fix a silly typo

    tigrish committed
  3. @tigrish

    - Empty YAML files still raise InvalidLocaleData under 1.9.3

    tigrish committed
    - add 1.9.3 to travis' rvm list
Commits on Jul 5, 2012
  1. @tigrish

    Merge pull request #118 from e-travel/better_invalid_plurals_message

    tigrish committed
    A more helpful message when number of plurals on po file is inconsistent
  2. @tigrish

    Merge pull request #97 from nledez/master

    tigrish committed
    Fix to close issue rails/rails#1499 i18n with key/value backend
Commits on Nov 8, 2011
  1. @nikosd

    A more helpful message when number of plurals on po file is inconsist…

    nikosd committed
    …ent with I18n::Gettext.plurals_keys.
Commits on Nov 7, 2011
  1. @nikosd

    Fix #116 (npgettext with msgcntxt).

    nikosd committed
Commits on Jul 10, 2011
  1. @kknapik

    Rename `extract_string_or_lambda_default!` to `extract_non_symbol_def…

    kknapik committed
    …ault!` to be named as it acts.
    Refactor `extract_non_symbol_default!` to be shorten and better readable with no performance hit.
Commits on Jul 9, 2011
  1. @spastorino
Commits on Jun 19, 2011
  1. @kknapik

    Fix #98 minor update in documentation

    kknapik committed
Something went wrong with that request. Please try again.