Hello community,
here is the log from the commit of package rubygem-rails-i18n for
openSUSE:Factory checked in at 2018-03-01 12:08:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rails-i18n (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rails-i18n.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rails-i18n"
Thu Mar 1 12:08:28 2018 rev:25 rq:581467 version:5.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rails-i18n/rubygem-rails-i18n.changes
2018-02-18 11:45:13.595435785 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-rails-i18n.new/rubygem-rails-i18n.changes
2018-03-01 12:08:36.524375191 +0100
@@ -1,0 +2,9 @@
+Tue Feb 27 05:30:39 UTC 2018 - [email protected]
+
+- updated to version 5.1.1
+ see installed CHANGELOG.md
+
+ ## 5.1.1 (2018-02-26)
+ - Fix #767 (New Chinese pluralization rules break stuff)
+
+-------------------------------------------------------------------
Old:
----
rails-i18n-5.1.0.gem
New:
----
rails-i18n-5.1.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rails-i18n.spec ++++++
--- /var/tmp/diff_new_pack.L2dRoh/_old 2018-03-01 12:08:37.404343599 +0100
+++ /var/tmp/diff_new_pack.L2dRoh/_new 2018-03-01 12:08:37.408343455 +0100
@@ -24,7 +24,7 @@
#
Name: rubygem-rails-i18n
-Version: 5.1.0
+Version: 5.1.1
Release: 0
%define mod_name rails-i18n
%define mod_full_name %{mod_name}-%{version}
++++++ rails-i18n-5.1.0.gem -> rails-i18n-5.1.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2018-02-14 14:08:53.000000000 +0100
+++ new/CHANGELOG.md 2018-02-26 09:36:39.000000000 +0100
@@ -1,3 +1,6 @@
+## 5.1.1 (2018-02-26)
+- Fix #767 (New Chinese pluralization rules break stuff)
+
## 5.1.0 (2018-02-14)
- Add following locales:
- Spanish (Nicaragua) (es-NI)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2018-02-14 14:08:53.000000000 +0100
+++ new/README.md 2018-02-26 09:36:39.000000000 +0100
@@ -10,18 +10,18 @@
Add to your Gemfile:
- gem 'rails-i18n', '~> 5.0.0' # For 5.0.x and 5.1.x
- gem 'rails-i18n', '~> 4.0.0' # For 4.0.x
- gem 'rails-i18n', '~> 3.0.0' # For 3.x
+ gem 'rails-i18n', '~> 5.1' # For 5.0.x, 5.1.x and 5.2.x
+ gem 'rails-i18n', '~> 4.0' # For 4.0.x
+ gem 'rails-i18n', '~> 3.0' # For 3.x
gem 'rails-i18n', github: 'svenfuchs/rails-i18n', branch: 'master' # For
5.x
gem 'rails-i18n', github: 'svenfuchs/rails-i18n', branch: 'rails-4-x' #
For 4.x
gem 'rails-i18n', github: 'svenfuchs/rails-i18n', branch: 'rails-3-x' #
For 3.x
or run this command:
- gem install rails-i18n -v '~> 5.0.0' # For 5.0.x and 5.1.x
- gem install rails-i18n -v '~> 4.0.0' # For 4.0.x
- gem install rails-i18n -v '~> 3.0.0' # For 3.x
+ gem install rails-i18n -v '~> 5.1' # For For 5.0.x, 5.1.x and 5.2.x
+ gem install rails-i18n -v '~> 4.0' # For 4.0.x
+ gem install rails-i18n -v '~> 3.0' # For 3.x
Note that your rails version must be 3.0 or higher if you want to install
`rails-i18n` as a gem. For rails 2.x, install it manually as described below.
@@ -157,6 +157,7 @@
* [devise-i18n](https://github.com/tigrish/devise-i18n)
* [will-paginate-i18n](https://github.com/tigrish/will-paginate-i18n)
+* [kaminari-i18n](https://github.com/tigrish/kaminari-i18n)
*
[i18n-country-translation](https://github.com/onomojo/i18n-country-translations)
for translations of country names
* [i18n-spec](https://github.com/tigrish/i18n-spec) for RSpec matchers to test
your locale files
* [iso](https://github.com/tigrish/iso) for the list of valid language/region
codes and their translations
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2018-02-14 14:08:53.000000000 +0100
+++ new/metadata 2018-02-26 09:36:39.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: rails-i18n
version: !ruby/object:Gem::Version
- version: 5.1.0
+ version: 5.1.1
platform: ruby
authors:
- Rails I18n Group
autorequire:
bindir: bin
cert_chain: []
-date: 2018-02-14 00:00:00.000000000 Z
+date: 2018-02-26 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: i18n
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/rails/locale/zh-CN.yml new/rails/locale/zh-CN.yml
--- old/rails/locale/zh-CN.yml 2018-02-14 14:08:53.000000000 +0100
+++ new/rails/locale/zh-CN.yml 2018-02-26 09:36:39.000000000 +0100
@@ -62,43 +62,19 @@
- :day
datetime:
distance_in_words:
- about_x_hours:
- one: 大约一小时
- other: 大约 %{count} 小时
- about_x_months:
- one: 大约一个月
- other: 大约 %{count} 个月
- about_x_years:
- one: 大约一年
- other: 大约 %{count} 年
- almost_x_years:
- one: 接近一年
- other: 接近 %{count} 年
+ about_x_hours: 大约 %{count} 小时
+ about_x_months: 大约 %{count} 个月
+ about_x_years: 大约 %{count} 年
+ almost_x_years: 接近 %{count} 年
half_a_minute: 半分钟
- less_than_x_minutes:
- one: 不到一分钟
- other: 不到 %{count} 分钟
- less_than_x_seconds:
- one: 不到一秒
- other: 不到 %{count} 秒
- over_x_years:
- one: 一年多
- other: "%{count} 年多"
- x_days:
- one: 一天
- other: "%{count} 天"
- x_minutes:
- one: 一分钟
- other: "%{count} 分钟"
- x_months:
- one: 一个月
- other: "%{count} 个月"
- x_years:
- one: 一年
- other: "%{count} 年"
- x_seconds:
- one: 一秒
- other: "%{count} 秒"
+ less_than_x_minutes: 不到 %{count} 分钟
+ less_than_x_seconds: 不到 %{count} 秒
+ over_x_years: "%{count} 年多"
+ x_days: "%{count} 天"
+ x_minutes: "%{count} 分钟"
+ x_months: "%{count} 个月"
+ x_years: "%{count} 年"
+ x_seconds: "%{count} 秒"
prompts:
day: 日
hour: 时
@@ -129,21 +105,13 @@
odd: 必须为单数
required: 必须存在
taken: 已经被使用
- too_long:
- one: 过长(最长为一个字符)
- other: 过长(最长为 %{count} 个字符)
- too_short:
- one: 过短(最短为一个字符)
- other: 过短(最短为 %{count} 个字符)
- wrong_length:
- one: 长度非法(必须为一个字符)
- other: 长度非法(必须为 %{count} 个字符)
+ too_long: 过长(最长为 %{count} 个字符)
+ too_short: 过短(最短为 %{count} 个字符)
+ wrong_length: 长度非法(必须为 %{count} 个字符)
other_than: 长度非法(不可为 %{count} 个字符
template:
body: 如下字段出现错误:
- header:
- one: 有 1 个错误发生导致“%{model}”无法被保存。
- other: 有 %{count} 个错误发生导致“%{model}”无法被保存。
+ header: 有 %{count} 个错误发生导致“%{model}”无法被保存。
helpers:
select:
prompt: 请选择
@@ -185,9 +153,7 @@
storage_units:
format: "%n %u"
units:
- byte:
- one: Byte
- other: Bytes
+ byte: 字节
gb: GB
kb: KB
mb: MB
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/rails/pluralization/zh-CN.rb
new/rails/pluralization/zh-CN.rb
--- old/rails/pluralization/zh-CN.rb 2018-02-14 14:08:53.000000000 +0100
+++ new/rails/pluralization/zh-CN.rb 2018-02-26 09:36:39.000000000 +0100
@@ -1,3 +1,3 @@
-require 'rails_i18n/common_pluralizations/one_other'
+require 'rails_i18n/common_pluralizations/other'
-::RailsI18n::Pluralization::OneOther.with_locale(:'zh-CN')
+::RailsI18n::Pluralization::Other.with_locale(:'zh-CN')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/rails/pluralization/zh-HK.rb
new/rails/pluralization/zh-HK.rb
--- old/rails/pluralization/zh-HK.rb 2018-02-14 14:08:53.000000000 +0100
+++ new/rails/pluralization/zh-HK.rb 2018-02-26 09:36:39.000000000 +0100
@@ -1,3 +1,3 @@
-require 'rails_i18n/common_pluralizations/one_other'
+require 'rails_i18n/common_pluralizations/other'
-::RailsI18n::Pluralization::OneOther.with_locale(:'zh-HK')
+::RailsI18n::Pluralization::Other.with_locale(:'zh-HK')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/rails/pluralization/zh-TW.rb
new/rails/pluralization/zh-TW.rb
--- old/rails/pluralization/zh-TW.rb 2018-02-14 14:08:53.000000000 +0100
+++ new/rails/pluralization/zh-TW.rb 2018-02-26 09:36:39.000000000 +0100
@@ -1,3 +1,3 @@
-require 'rails_i18n/common_pluralizations/one_other'
+require 'rails_i18n/common_pluralizations/other'
-::RailsI18n::Pluralization::OneOther.with_locale(:'zh-TW')
+::RailsI18n::Pluralization::Other.with_locale(:'zh-TW')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/rails/pluralization/zh-YUE.rb
new/rails/pluralization/zh-YUE.rb
--- old/rails/pluralization/zh-YUE.rb 2018-02-14 14:08:53.000000000 +0100
+++ new/rails/pluralization/zh-YUE.rb 2018-02-26 09:36:39.000000000 +0100
@@ -1,3 +1,3 @@
-require 'rails_i18n/common_pluralizations/one_other'
+require 'rails_i18n/common_pluralizations/other'
-::RailsI18n::Pluralization::OneOther.with_locale(:'zh-YUE')
+::RailsI18n::Pluralization::Other.with_locale(:'zh-YUE')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/rails/pluralization/zh.rb
new/rails/pluralization/zh.rb
--- old/rails/pluralization/zh.rb 2018-02-14 14:08:53.000000000 +0100
+++ new/rails/pluralization/zh.rb 2018-02-26 09:36:39.000000000 +0100
@@ -1,3 +1,3 @@
-require 'rails_i18n/common_pluralizations/one_other'
+require 'rails_i18n/common_pluralizations/other'
-::RailsI18n::Pluralization::OneOther.with_locale(:zh)
+::RailsI18n::Pluralization::Other.with_locale(:zh)