Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Aug 4, 2009
  1. fixed failing test

    Karol Bucek authored
Commits on Jul 21, 2009
  1. @hukl
  2. @hukl

    remove the index on the foreign key of the translation table when the…

    hukl authored
    … table is dropped.
    
    added tests and addition to test_helper - Thank you http://github.com/sgt
  3. @soey @hukl

    added Rakefile for plugin testing

    soey authored hukl committed
    Signed-off-by: John-P. Bader <contact@smyck.org>
  4. @hukl
Commits on May 26, 2009
  1. @joshmh

    added MIT license

    joshmh authored
Commits on May 19, 2009
  1. fixed translations of true/false values

    Karol Bucek authored
  2. MERGED WITH joshm REPOSITORY

    Karol Bucek authored
Commits on May 1, 2009
  1. @joshmh
Commits on Apr 29, 2009
  1. @hukl

    This patch makes sure globalize2 behaves as expected when a subclass …

    hukl authored
    …of an untranslated model is translated.
    
    class Comment < ActiveRecord::Base
    end
    
    class TranslatedComment < Comment
      translates :content
    end
  2. @hukl

    added dependent destroy for globalize_translations. When a record wit…

    hukl authored
    …h translated attributes is destroyed - the associated translations will be deleted as well. thanks to http://github.com/kares
Commits on Apr 20, 2009
  1. @hukl

    Passing options hash to reload so it doesn't break the default rails …

    hukl authored
    …reload method.
    
    Also removed alias_method_chain for reload to keep things up to date for Rails 3.0. That change didn't break anything.
Commits on Apr 8, 2009
  1. @hukl

    adding set_translations method which allows to set multiple translati…

    hukl authored
    …ons for a given translated record at once. It is possible to update only certain attributes for some locales as well leaving the other translations / attributes as they are. Options hash looks like:
    
    options {
    	:en => { :title => "Hello" }
    	:de => { :title => "Hallo", :text => "Wie gehts?"}
    }
    
    That would update only the :title on the english version of the record but updating :title and :text on the german one.
    
    Added tests as well
Commits on Mar 31, 2009
  1. @hukl
  2. @hukl
  3. @joshmh

    Fixed chained backend tests -- they were failing because I18n.locale …

    joshmh authored
    …was set to :'en-US' somewhere else
Commits on Mar 28, 2009
  1. Fix to make :include work. Example: Page.all(:include => :globalize_t…

    hukl authored
    …ranslations) would collect the pages and the translations. However when you loop over the pages to puts the title, another query on the page_translations table is made for each page.
    
    This is a fix to only fetch the attributes if @record.globalize_translations.loaded? is false. 
    
    I ran the globalize2 tests but they threw 5 errors - this modification didn't add any.
Commits on Mar 20, 2009
  1. merged with main repository

    Karol Bucek authored
Commits on Feb 24, 2009
  1. @joshmh
  2. @joshmh

    added translated_locales

    joshmh authored
  3. @joshmh
  4. @joshmh
  5. @joshmh

    added content locale support

    joshmh authored
  6. @joshmh

    fixed nil assign bug

    joshmh authored
Commits on Feb 13, 2009
  1. extended pluralization behavour to be able to return multiple keys fo…

    Karol Bucek authored
    …r count and fallback to the one provided
  2. @joshmh
Commits on Feb 12, 2009
  1. @joshmh
  2. @joshmh
  3. @joshmh
  4. translation method should handle returning a symbol for cases like Da…

    Karol Bucek authored
    …teHelper.translated_date_order
  5. fixing missing I18n parent module while referencing an exception from…

    Karol Bucek authored
    … it(in pluralizing.rb) + added test case
Commits on Feb 11, 2009
  1. @joshmh

    fixed tests

    joshmh authored
Something went wrong with that request. Please try again.