Changeset 544

Show
Ignore:
Timestamp:
02/12/07 15:18:10 (2 years ago)
Author:
timo
Message:

Changed the required gettext version to be 1.8.0 so that the code works even when a newer version is installed (gettext/rails 1.9.0 uses methods introduced in rails 1.2.0, so it doesn't work with older rails).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tags/tag-1.2.0-alpha11/Rakefile

    r2 r544  
    1313# Taken from "Using Gettext To Translate Your Rails Application" at 
    1414# http://www.digitale-wertschoepfung.de/artikel/gettext/gettext.html 
     15gem 'gettext', '= 1.8.0' 
    1516require 'gettext/utils' 
    1617 
  • tags/tag-1.2.0-alpha11/lib/localization.rb

    r401 r544  
    22# See license agreement for additional rights 
    33 
     4gem 'gettext', '= 1.8.0' 
     5require 'gettext/rails' 
    46require 'erb' 
    5 require 'gettext/rails' 
    67 
    78module Localization 

© 2004-2007 Norfello Oy All Rights Reserved