Too many changes to report here. As of 2.0.0, some functionality has been
split off into ruby-locale, and Rails related functionality is now in
ruby-gettext-activerecord and ruby-gettext-rails.
= Ruby-GetText-Package-1.93.0 (2008-09-14)
* Bulgarian added.
* Estonian updated.
* French updated.
* Japanese updated.
* np_, npgettext support.
* Fixed bugs.
- detect the correct charset on POSIX OS.
- updatepo task works again on Windows OS(with broken GNU msgmerge).
- Remove BOM from po-files before GNU msgmerge is executed.
(GNU msgmerge doesn't support BOM)
- Work with xx(double x) library and the library which uses xx library
such as rcov.
- Fixed expire_fragment with rails < 2.1.
(NOTE) Rails-2.2 has not been supported yet.
Thanks to:
Translators:
Vincent Isambart, Erkki Eilonen, Sava Chankov.
Bug reports, suggestions and patches:
Vladimir Dobriakov, Tatsuki Sugiura, Cesar Duque Calle,
Remy-Christophe Schermesser, Donald Piret.
= Ruby-GetText-Package-1.92.0 (2008-08-02)
* Fixed a memory leak(again)
* Fixed bugs.
* Improve to support mo-files.
* Support revision 1 of mo-file format.
* Freeze msgstrs.
* msgctxt - pgettext(msgctxt, msgid) support
(eg)
p_("File", "Open") #=> "Open" is shown in English.
* Update translations
* Catalan, Chinese(Simplified), Chinese(Traditional), (English), Esperanto, German,
Greek, Hungarian, Latvian, Japanese, Norwegian, Portuguese(pt_BR), Russian, Serbian,
Spanish, Ukrainian, Vietnamese,
* Rails Support
* Support rubyonrails-2.1.0 (2.0.0 or later).
* Add new validations for activerecord-2.1.0.
(:greater_than, :greater_than_or_equal_to, :equal_to,
:less_than, :less_than_or_equal_to,:odd, :even)
* validates_(format|inclusion)_of accepts %{val} as the value
(eg)
validates_inclusion_of :name, :in => %w(a, b), :message => N_("%{fn} can't be %{val}")
* Work Fragment caching on rails-2.1.0.
* Support ActiveRecord::Base.abstract_class.
* Work ActiveRecord::Errors#[]
* Work render_partial.
Thanks to:
Translators:
Slobodan Paunovic, Yuri Kozlov, Patrick Lenz, Malte Milatz, Ngoc DAO Thanh, David Espada,
Antonio S. de A. Terceiro, David Espada, Runar Ingebrigtsen, Tamas Tompa, Yang Bob, damphyr,
Ramon Salvado, Alex Rootoff, Aivars Akots
Bug reports, suggestions and patches:
Hans de Graaff, Tatsuki Sugiura, Andreas Neuhaus, Loiseleur Michel
= Ruby-GetText-Package-1.91.0 (2008-05-11)
* Works again on Win32 + JRuby-1.1.1
* Fixed memory leaks.
* Fixed bugs.
* Speed up.
* Support Serbian(sr)
* Rails Support
* rubyonrails-1.2.x isn't supported(2.0.0 or later are supported).
* Localize ActionView::Helpers::FormBuilder#label.
e.g.)
<% form_for(@article) do |f| %>
<p><%= f.label :lastupdate %></p>
<% end %>
=> msgid "Article|Lastupdate" is used as the label string.
Thanks to:
Translators:
Slobodan Paunovic
Bug reports, suggestions and patches:
Paul Clegg, Locomotyphus, Simone Carletti, Dao Ngoc, Karl Palmskog,
Tatsuki Sugiura, Bernd Ahlers, craccho.
+ Install as a Ruby gem.
* Support Ukrainian(ua), Hungarian(hu)
* JRuby supported.
* Become a pure ruby library (Remove .so extention).
* Locale modules separate from lib/gettext/ to lib/locale/.
* Locale modules are refactored. System locales become read only.
* Fix bugs.
* Enhance to support Ruby on Rails.
* error_messages_for can accept custom error dialog messages.
* Add GetText::Rails.available_locales, .normalized_locale
and fragment_cache_key/expire_fragment reimplement to use these methods
to restrict cached locale files.
* Support Vietnamese(vi), Bosnian(bs), Croatian(hr), Norwegian(nb)
* Cache messages. Both _() and n_() become 1.3-1.8 times faster than older version.
* Add GetText.ns_()
* Fix bugs.
* Enhance to support Ruby on Rails.
* Work with script/generate scaffold_resource.
* error_messages_for accepts plural models.
* Support Action/Fragment caching.
Ruby-GetText-Package is a localization(L10n) library and tools which modeled
after GNU gettext package.
It converts the messages to localized messages properly using client-side locale
information.