./devel/ruby-i18n, New wave Internationalization support for Ruby

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 0.8.6, Package name: ruby23-i18n-0.8.6, Maintainer: pkgsrc-users

Ruby Internationalization and localization solution. Features:

* translation and localization
* interpolation of values to translations (Ruby 1.9 compatible syntax)
* pluralization (CLDR compatible)
* customizable transliteration to ASCII
* flexible defaults
* bulk lookup
* lambdas as translation data
* custom key/scope separator
* custom exception handlers
* extensible architecture with a swappable backend

Pluggable features:
* Cache
* Pluralization: lambda pluralizers stored as translation data
* Locale fallbacks, RFC4647 compliant (optionally: RFC4646 locale validation)
* Gettext support
* Translation metadata

Alternative backends:
* Chain
* ActiveRecord (optionally: ActiveRecord::Missing and ActiveRecord::StoreProcs)
* KeyValue (uses active_support/json and cannot store procs)

Required to run:

Required to build:

Master sites:

SHA1: f68d29046b21296ecbb1117d7933bcbbc5edd84c
RMD160: 1dd6fff44d9ab5ec2b1a58867c63502b42fa945b
Filesize: 58.5 KB

Version history: (Expand)

CVS history: (Expand)

   2017-07-13 17:31:35 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-i18n to 0.8.6.

v0.8.5							2017/07/10

* Improved error message for MissingPluralizationKey error - See #371
* Fixed a thread issue when calling translate when fallbacks were enabled -
  See #369

v0.8.6							2017/07/10

* Fixed a small regression introduced in v0.8.5 when using fallbacks - See
   2017-06-04 17:52:15 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-i18n to 0.8.4.

0.8.4					2017/05/31

* Revert "Don't allow nil to be submitted as a key to i18n.translate()"

0.8.3					2017/5/30

* I18n::Gettext#plural_keys will now return a hash from Gettext if no
  arguments are provided - #122
* Fixed a bug where passing false to translate would not translate that value
  - #367

0.8.2					2017/5/30

* Do not allow nil to be passed to translate - #236
   2017-03-13 17:32:33 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-i18n to 0.8.1

v0.8.1							2017/02/22

* This release fixes an issue with I18n.transliterate and Chinese
  characters. See #362 for more information.

v0.8.0							2017/01/31

Notable changes

* You can now set I18n.cache_key_digest to determine how cache keys are
  calculated. If you were seeing issues where the same value stored in a cache
  produced a different key, then this fix will interest you. For more
  information, see #285.

* You can now override translate_format in I18n::Backend classes to customize
  how localize will perform. See #347 (comment) for more details.

* You can now interpolate the value of a key inside another key. See #300 for
  more information.

* The exists? method was added to the fallback backend, to match other backend
  implementations - #326

* Added N_ to GetText::Helpers - #121

* Added a :default option for I18n.localize - #251

Bug fixes

* Reverted a commit which made it so that the great documentation for
  I18n.translate wasn't made visible through a yard documentation
  generation. - bc926eb

* I18n.MissingTranslation.new can now be called with two arguments. It will no
  longer raise a "TypeError: can't dup NilClass" exception - #295

* I18n's Hash#slice method no longer fails if the hash does not have the
  specified key - #289

* I18n::Backend::Metadata will now no longer attempt to set
  @translation_metadata on frozen objects - #305

* Added missing many rule to pl translation rules - #346

* Calling I18n.t(:foo, default: nil) Or I18n.t(:foo, default: false) will now
  return nil or false, rather than returning a missing translation exception -

* Setting I18n.load_path via I18n.load_path= will now reset the
  @@available_locales_set setting. - #348 & #173

* The subclasses of Hash when calling Hash#slice are maintained - #250

* Fixed I18n.interpolate behaviour when it was passed an
  ActiveSupport::SafeBuffer object - #216
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-03-13 14:38:08 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-i18n to 0.7.0.

* Drop support to Ruby 1.8.7 / REE
* Drop support to Rails 2.3 / 3.0 / 3.1
* Remove deprecated stuff:
   - Setting :default_exception_hander Symbol to I18n.exception_handler.
   - normalize_translation_keys in favor of normalize_keys.
   - :rescue_format option on the exception handler.
   - enforce_available_locales now defaults to true with no deprecation message.
   2013-12-16 10:21:34 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-i18n to 0.6.9.  This is security fix.

* Add I18n::exists? method.
* Add I18n.locale_available? method.
* Delete unused files.
* I18n::MissingTranslation exception escapes key names for its
  html_message, fixing CVE-2013-4492.
* Use CGI.escapeHTML instead of CGI.escape_html for Ruby 1.8.7.
* Fix an issue with setting I18n.config.enforce_available_locales.
   2013-09-15 12:07:57 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-i18n to 0.6.5.

Several bug fixes.
   2013-04-07 22:49:45 by Blue Rats | Files touched by this commit (91)
Log message:
Edited DESCR in the case of:
 File too long (should be no more than 24 lines).
 Line too long (should be no more than 80 characters).
 Trailing empty lines.
 Trailing white-space.
Trucated the long files as best as possible while preserving the most info
contained in them.