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

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


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

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 2a910a7321a57472a1656803d3795fcaf3c51ac5
RMD160: 42081336a26aeb196a4fb10a7b62354ebcf05de6
Filesize: 41.5 KB

Version history: (Expand)


CVS history: (Expand)


   2020-02-05 15:55:14 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-i18n: update to 1.8.2

Update ruby-i18n to 1.8.2.

1.8.2 (2020-01-13)

* Restoration of #499 via #509 - deep_merge! & deep_merge methods appear
  again in the Hash refinement.
* An issue was introduced in v1.7.0 where some translations were returned as
  hashes, see #510. This was fixed in 1b5e345, and is available in this
  release.

1.8.1 (2020-01-13)

* Reverted #499 in #508 due to #507 - missing deep_merge method.

1.8.0 (2020-01-13)

* Use Rails' implementation of deep_merge when chaining fallback backends -
  #499.

1.7.1 (2020-01-13)

* I18n is now tested with GitHub Actions, instead of Travis CI.
* Fixed issue introduced in v1.7.0 (04a814b) where count option was not
  preserved - #503
* #501 adds a comment that explains that you will need to double-splat
   keyword arguments given to I18n.t to avoid warnings in Ruby 2.7.
   2019-10-30 16:03:24 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-i18n: update to 1.7.0

Update ruby-i18n to 1.7.0.

1.7.0 (2019-10-04)

No documantation is available.  Please refer:
<https://github.com/ruby-i18n/i18n/compare/v1.6.0...v1.7.0>

1.6.0 (2019-03-03)

Major updates

*Added support for eagerloading I18n -- which probably improves boot times for \ 
applications if implemented correctly - See #469 for more details.
* Added ability to disable I18n translation resolution by setting I18n.locale = \ 
false. See #471 for more information.

Bugfixes / other improvements

* Add support for uppercased date format directives - #468

Other changes

* Fixed flaky test issue with JRuby - #459 / #460
* gemspec homepage now points to ruby-i18n/i18n - #465
* Update README to point to ruby-i18n/i18n - #473
   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