Gettext-2.1.0, gettext_activerecord-2.1.0, gettext_rails-2.1.0

Hi,

Ruby-GetText-Package-2.1.0 and the families
(gettext-2.1.0, gettext_activerecord-2.1.0 and gettext_rails-2.1.0)
are now available.

Ruby-GetText-Package is the library/tools for message localization.

  • gettext - Message localization libraries and tools for all kind of
    apps/libs.
  • gettext_activerecord - ActiveRecord Localization
  • gettext_rails - Rails support with gettext.

Changes

== gettext-2.1.0

  • Implemented parsing of translator comments (GNU gettext feature)
    [by Vladimir Dobriakov]
    — foo.rb
    def foo
    # TRANSLATORS: Comments for translators here.
    # This will be extracted to po-files.
    _(“foo”)
    end

    — foo.pot
    #. Comments for translators here.
    #. This will be extracted to po-files.
    #: foo.rb:4
    msgid “foo”
    msgstr “”

    The “TRANSLATORS:” keyword is the sign of translator comments.

  • Refactor the directory structure.

    • Move files for runtime to lib/gettext/runtime/*.
    • Move files for development(rgettext/rmsgfmt) to
      lib/gettext/tools/*.
  • Refactor parsers for po. po-message object is defined as
    GetText::PoMessage
    class. [by Vladimir Dobriakov, Masao M.]

  • Speed up when lots of objects are created to share the textdomain in
    each
    objects. [Reported by Gaël Séchaud.]

  • Fix “%{foo.bar}” %{“foo.bar”.to_sym => “a”} doesn’t work.
    [Bug#26663, Reported by Danilo C.]

  • lib/gettext.rb: Fixed to work unless gem. [Reported by Vladimir
    Dobriakov]

  • Fixed a wrong String literal in a CGI sample.
    [Bug #26531, by Eugene Mikhailov]

  • Update license information(explicit to use ruby’s or LGPL).
    [Pointed out by Masateru Yoshikawa]

  • Code cleanup.

== gettext_activerecord-2.1.0

  • Support activerecord 2.3.2, 2.3.3, 2.3.4[by hallelujah]
  • Update to work with gettext-2.1.0.
  • make test task visible in “rake -T” [by Vladimir Dobriakov]
  • Update to user column_mapping. [by hallelujah]
  • Update license information (explicit to use Ruby’s or LGPL).
    [Pointed out by Masateru Yoshikawa]
  • Fixed bugs [by hallelujah, Vladimir Dobriakov, Masao M.]

== gettext_rails-2.1.0

  • Support Rails-2.3.2, 2.3.3, 2.3.4.
  • Fixed to work distance_of_time_in_words.
    [Reported by Mitko K., Bart ten Brinke]
  • Updated version/dependencies.
  • Update license information (explicit to use Ruby’s or LGPL).
    [Pointed out by Masateru Yoshikawa]

(NOTE)

  • Rails-2.3.1 or earlier aren’t supported.

Website

ScreenShots