Permalink
Commits on Nov 7, 2011
  1. Merge pull request #117 from e-travel/gt-msgctxt

    Gettext pgettext and msgctxt support
    Sven Fuchs committed Nov 7, 2011
  2. Fix #116 (npgettext with msgcntxt).

    nikosd committed Nov 7, 2011
Commits on Oct 15, 2011
  1. Merge pull request #112 from Bertg/master

    Fixing override tests
    Sven Fuchs committed Oct 15, 2011
  2. Fixing override tests

    - Actually test signature override
    - Dn't influence other tests
    Bertg committed Oct 15, 2011
  3. use an anonymous module here

    Sven Fuchs committed Oct 15, 2011
  4. Merge pull request #111 from Bertg/master

    Make it possible to change the behaviour/signature of I18n method calls
    Sven Fuchs committed Oct 15, 2011
  5. Make it possible for gems to change the behaviour/signature of I18n. …

    …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.
    Bertg committed Oct 15, 2011
Commits on Aug 31, 2011
  1. Merge pull request #105 from pjg/patch-1

    Correct pluralization rule for :pl locale
    knapo committed Aug 31, 2011
Commits on Aug 12, 2011
  1. Correct pluralization rule for :pl locale

    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)
    pjg committed Aug 12, 2011
Commits on Jul 10, 2011
  1. Rename `extract_string_or_lambda_default!` to `extract_non_symbol_def…

    …ault!` to be named as it acts.
    
    Refactor `extract_non_symbol_default!` to be shorten and better readable with no performance hit.
    knapo committed Jul 10, 2011
Commits on Jul 9, 2011
  1. Merge pull request #102 from spastorino/master

    translate with default value should check all the fallbacks
    josevalim committed Jul 9, 2011
Commits on Jun 19, 2011
  1. Fix #98 minor update in documentation

    knapo committed Jun 19, 2011
Commits on Jun 9, 2011
Commits on May 22, 2011
  1. bump to 0.6.0

    Sven Fuchs committed May 22, 2011
Commits on May 10, 2011
  1. Merge pull request #92 from vandrijevik/master

    Update dependency from `sqlite3-ruby` to `sqlite3`
    knapo committed May 10, 2011
Commits on Apr 24, 2011
  1. remove the rails translation_helper

    Sven Fuchs committed Apr 24, 2011
Commits on Apr 23, 2011
  1. let's use a build matrix on http://travis-ci.org

    Sven Fuchs committed Apr 23, 2011
  2. bump to 0.6.0beta1

    Sven Fuchs committed Apr 23, 2011
  3. re-throw by default, only re-raise if we already received an exceptio…

    …n for bc
    Sven Fuchs committed Apr 23, 2011
  4. Switch from I18n::MissingTranslationData (which is an Exception) to I…

    …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.
    Sven Fuchs committed Feb 27, 2011
  5. Add I18n::Rails::TranslationHelper

    Right now this helper can be used to enable 0.5.0 exception handling in Rails 3.0.x.
    
    Not sure we want to entirely move this from ActionPack. But keeping changes in I18n and ActionPack in sync is a pain, especially because Rails' releases happen way less frequently.
    Sven Fuchs committed Feb 27, 2011
  6. enable I18n.t to use throw as an error handling strategy and use it i…

    …n I18n::Backend::Base.resolve for re-translating symbols
    Sven Fuchs committed Feb 27, 2011
  7. stop using exceptions in the backend, use throw/catch instead. still …

    …needs further investigation as MissingTranslationData still is a subclass of Exception and the I18n.t still simply raises (as currently defined by the API).
    Sven Fuchs committed Feb 14, 2011
  8. require active_support/ordered_hash in key_value.rb as active_support…

    …/json/encoding uses it but does not require it
    Sven Fuchs committed Feb 26, 2011
Commits on Mar 24, 2011
Commits on Feb 27, 2011
  1. Merge branch 'master' of github.com:svenfuchs/i18n

    Sven Fuchs committed Feb 27, 2011
Commits on Feb 24, 2011
  1. Add .rvmrc to gitignore

    knapo committed Feb 24, 2011
Commits on Feb 14, 2011
  1. Make :include public on I18n::Backend::Simple

    Rationale: the I18n::Backend part of this library is designed to provide various modules that can be included into the I18n::Backend::Simple backend or other compatible backend implementations and thereby extend their functionality in an optional manner.
    
    Thus, both code and documentation have been cluttered with lots of calls sending :include to the Simple backend class. It seems that we in fact treat sending include as a public API of the Simple backend class and therefor should make it public.
    Sven Fuchs committed Feb 14, 2011
Commits on Feb 13, 2011
  1. Make sure file names are always flattened

    krekoten committed with Sven Fuchs Feb 13, 2011
Commits on Feb 12, 2011
  1. Do not specify a file extension when requiring ruby files

    This is so that other Rubies, such as MacRuby, which compile the code
    can require files and load the compiled file instead of the source file.
    
    Signed-off-by: Mark Rada <mrada@marketcircle.com>
    ferrous26 committed with Sven Fuchs Feb 12, 2011