Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 7, 2012
  1. @tigrish

    Remove 2 particularly contrived specs

    tigrish authored
    They were both identical, failing under jruby, trying to access instance variables etc..
Commits on Jul 5, 2012
  1. @tigrish

    Merge pull request #130 from tomhughes/master

    tigrish authored
    Allow mutually recursive fallbacks
Commits on Jul 1, 2012
  1. @tigrish
Commits on Jun 29, 2012
  1. @tigrish
Commits on Jan 28, 2012
  1. @tigrish
Commits on Dec 18, 2011
  1. @tomhughes

    Allow mutually recursive mappings

    tomhughes authored
    Where translations are drawn from different sources which may be using
    different codes for the same language it can be useful to have mappings
    where two codes fallback to each other.
    
    This patch allows that by ensuring that the recursion in the computation
    of the mapping terminates instead of running out of stack.
Commits on Nov 7, 2011
  1. @nikosd
Commits on Oct 15, 2011
  1. @Bertg

    Fixing override tests

    Bertg authored
    - Actually test signature override
    - Dn't influence other tests
  2. @Bertg

    Make it possible for gems to change the behaviour/signature of I18n. …

    Bertg authored
    …This is useful for other translation engines that do not want to use the key based syntax (tr8n). Also makes it a lot easier to put a cache in front of I18n.
Commits on Aug 12, 2011
  1. @pjg

    Correct pluralization rule for :pl locale

    pjg authored
    It was incorrectly written; Based both on the knowledge of my mother tongue (Polish) and the pluralization rules specified on the Unicode.org website (http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html)
Commits on Jul 9, 2011
  1. @spastorino
Commits on Jun 9, 2011
  1. @knapo
Commits on Apr 23, 2011
  1. @svenfuchs

    Switch from I18n::MissingTranslationData (which is an Exception) to I…

    svenfuchs authored
    …18n::MissingTranslation (which is a plain Object) for the default case. Create an I18n::MissingTranslationData exception only if it needs to be raised to the user.
  2. @svenfuchs

    stop using exceptions in the backend, use throw/catch instead. still …

    svenfuchs authored
    …needs further investigation as MissingTranslationData still is a subclass of Exception and the I18n.t still simply raises (as currently defined by the API).
Commits on Mar 24, 2011
  1. @pyromaniac @knapo
Commits on Feb 24, 2011
  1. @knapo
Commits on Feb 13, 2011
  1. @krekoten @svenfuchs

    Make sure file names are always flattened

    krekoten authored svenfuchs committed
Commits on Nov 18, 2010
  1. @svenfuchs
  2. @svenfuchs

    Re-add 1.9 string interpolation syntax backport

    svenfuchs authored
    ActiveSupport relies on it. Should be moved to ActiveSupport instead.
  3. @svenfuchs
  4. @svenfuchs
Commits on Nov 17, 2010
  1. @svenfuchs

    extract i18n-cldr to a separate gem.

    svenfuchs authored
    also, remove parsetree and ruby2ruby deps which aren't needed any more.
  2. @svenfuchs

    add a test/run_all script

    svenfuchs authored
  3. @svenfuchs
  4. @svenfuchs
  5. @svenfuchs

    get rid of warnings in 1.9.x

    svenfuchs authored
  6. @tenderlove @svenfuchs

    let Rake set the load path

    tenderlove authored svenfuchs committed
Commits on Nov 5, 2010
  1. @svenfuchs

    simplify Backend::Cascade and add a test case assembling an actionvie…

    svenfuchs authored
    …w translation helper lookup cascade
  2. @svenfuchs

    test suite cleanup

    svenfuchs authored
  3. @svenfuchs
  4. @svenfuchs
Commits on Nov 4, 2010
  1. @svenfuchs

    Add flexibility to exception handling (deprectates I18n.default_excep…

    svenfuchs authored
    …tion_handler).
    
    Add an I18n::ExceptionHandler class to allow the inclusion of modules for more flexiblity in handling exceptions. 
    
    Also, include the ability to html format the message of MissingTranslationData similar to what ActionPack's view translation helper does (so it can be removed or bypassed over there, giving more control to users).
    
    Also, add the ability to pass an :exception_handler option to force usage of an exception_handler per request.
    
    Also, deprecate I18n.default_exception_handler. Please use the class I18n::ExceptionHandler instead (an instance of which is set to I18n.exception_handler by default)
  2. @svenfuchs

    change MissingTranslationData message to "translation missing: foo.bar"

    svenfuchs authored
    (was "translation missing: foo, bar")
Commits on Oct 29, 2010
  1. @josevalim
  2. @josevalim

    Move tests from test/api to i18n/tests.

    josevalim authored
    This allows backends to be implemented in external gems but still use the whole test suite.
Something went wrong with that request. Please try again.