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

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


Branch: CURRENT, Version: 1.5.3, Package name: ruby24-i18n-1.5.3, 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:
[lang/ruby24-base] [devel/ruby-concurrent-ruby]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 0aa0b0c281392305ab2a6af82e0a70fb0957a872
RMD160: a91e8cbacc8eebaf1d3e63dcd87f1d52851b983d
Filesize: 40.5 KB

Version history: (Expand)


CVS history: (Expand)


   2019-02-03 16:12:37 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-i18n: update to 1.5.3

1.5.3 (2019-01-21)

* Fix issue where localize would return strange messages if the translation
  was missing - #464

1.5.2 (2019-01-14)

* Fixed a bug where the required_ruby_version was not set correctly in the
  gemspec - #462

1.5.1 (2019-01-06)

(Note that there is no v1.5.0 release. was prepping this release and found
some more changes to make. So v1.5.1 is the first release for the v1.5.x
series)

* Fixed a regression that happened when numeric translation keys contained
  leading zeros: #456 / #457
* Removed support for Ruby versions older than 2.3. Ruby 2.2 is now 4 years
  old. Applications have had ample time to upgrade, and if they haven't done
  so, now is an opportune time to do so.
* Removed some code that was checking for RUBY_VERSION <= 1.9
* Began testing over Ruby 2.6.

1.4.0 (2019-01-01)

* Fixed two issues with i18n and JRuby compat (commit fb0c8be and #455). See
  #447.
* Fixed issue where keys in an array were not symbolised #450
* Fixed issue where ActiveSupport::HashWithIndifferentAccess was not handled
  correctly #454

1.3.0 (2019-01-01)

* Updated post-install message to be more explicit about what versions things
  changed in - #446
* Fixed a regression in backends where keys were incorrectly typecast - #443,
  #444, #445, etc.

Please note that as of this release, only 5.x and greater versions of Rails
are supported (it might help to think of it as ~> 5.0, sorta.)
   2018-09-23 16:42:41 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-i18n: update to 1.1.0

1.1.0	-- 2018/08/07

* Simplified default exception handler - #414
* Fallbacks now exclude default locale - #415, possibly fixes #413 + #338
* Fixed deprecated use of assert_nothing_raised #417
* Fixed pluralization behavior for KeyValue backend with subtrees disabled -
  #419
* Allow yaml file extension - #421

1.0.1	-- 2018/04/18

* Removed creation of some anonymous objects in I18n - #393
* Added missing key exception_handler to reserved keys - #412

Thanks to @stereobooster and @tjoyal.
   2018-03-13 18:02:29 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-i18n: update to 1.0.0

pkgsrc change: depends on devel/ruby-concurrent-ruby now.

* Remove Ruby 1.9.3 support.
   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
  #378
   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 -
  #144

* 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:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
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.

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.