Permalink
Commits on Jun 22, 2009
Commits on Jun 21, 2009
  1. Translations are reloaded after each modification... Merging between …

    …many rails instances is too complicated anyway
    
    It fixes bug with updating scoped translations
    kazjote committed Jun 21, 2009
Commits on Jun 12, 2009
  1. Unescaped ordering column names

    kazjote committed Jun 12, 2009
  2. Removed wrong escaping

    kazjote committed Jun 12, 2009
Commits on Jun 4, 2009
Commits on Jun 2, 2009
  1. added last_updated method to globalize database backend, create_or_up…

    …date works with defined pluralization index
    soey committed Jun 2, 2009
Commits on May 28, 2009
  1. messed up namespace lookup :/

    soey committed May 28, 2009
  2. added .DS_Store to gitignore

    soey committed May 28, 2009
  3. added database backend

    soey committed May 28, 2009
Commits on May 27, 2009
  1. added Rakefile for plugin testing

    soey committed May 27, 2009
Commits on May 26, 2009
  1. added MIT license

    joshmh committed May 26, 2009
Commits on May 1, 2009
Commits on Apr 29, 2009
  1. This patch makes sure globalize2 behaves as expected when a subclass …

    …of an untranslated model is translated.
    
    class Comment < ActiveRecord::Base
    end
    
    class TranslatedComment < Comment
      translates :content
    end
    hukl committed Apr 29, 2009
  2. added dependent destroy for globalize_translations. When a record wit…

    …h translated attributes is destroyed - the associated translations will be deleted as well. thanks to http://github.com/kares
    hukl committed Apr 29, 2009
Commits on Apr 20, 2009
  1. Passing options hash to reload so it doesn't break the default rails …

    …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.
    hukl committed Apr 20, 2009
Commits on Apr 8, 2009
  1. adding set_translations method which allows to set multiple translati…

    …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
    hukl committed Apr 8, 2009
Commits on Mar 31, 2009
  1. Fixed chained backend tests -- they were failing because I18n.locale …

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

    …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.
    hukl committed Mar 28, 2009
Commits on Feb 24, 2009
  1. added translated_locales

    joshmh committed Feb 24, 2009
  2. added content locale support

    joshmh committed Feb 24, 2009
  3. fixed nil assign bug

    joshmh committed Feb 24, 2009
Commits on Feb 13, 2009
Commits on Feb 12, 2009