i18n 1.8.1 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/i18n/backend/pluralization.rb +1 -1
- data/lib/i18n/version.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 633b59a1d482d2e8dee6baa5a22bcf93eaba9ec941fa38991576cc977e4037c8
|
4
|
+
data.tar.gz: 45d65177fa4c32288c396f6f845bb489cbb46b7c5397180a1042da73d7e72b08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3af86a4ed93947c57bfa9d70da30350fc353e57e12a79a5ae50a230ea5a86c90be9e376103f0ecfc849a23fb76e0281fff0226025d32e918e89a68b47d88336
|
7
|
+
data.tar.gz: 492e7c5fe9e27b6208faa5cf02880440d138ce8d4b2b261832608345b97a5cc1dc0d0d23dbf8bbfc9f5d6e81934ea579ceece446e554cdb2d3d7c3ded697822e
|
@@ -29,7 +29,7 @@ module I18n
|
|
29
29
|
# either pick a special :zero translation even for languages where the
|
30
30
|
# pluralizer does not return a :zero key.
|
31
31
|
def pluralize(locale, entry, count)
|
32
|
-
return entry unless entry.is_a?(Hash) && count
|
32
|
+
return entry unless entry.is_a?(Hash) && count
|
33
33
|
|
34
34
|
pluralizer = pluralizer(locale)
|
35
35
|
if pluralizer.respond_to?(:call)
|
data/lib/i18n/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sven Fuchs
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2020-01-
|
16
|
+
date: 2020-01-13 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: concurrent-ruby
|
@@ -95,11 +95,15 @@ post_install_message: |2+
|
|
95
95
|
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
|
96
96
|
But that may break your application.
|
97
97
|
|
98
|
+
If you are upgrading your Rails application from an older version of Rails:
|
99
|
+
|
98
100
|
Please check your Rails app for 'config.i18n.fallbacks = true'.
|
99
101
|
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
|
100
102
|
'config.i18n.fallbacks = [I18n.default_locale]'.
|
101
103
|
If not, fallbacks will be broken in your app by I18n 1.1.x.
|
102
104
|
|
105
|
+
If you are starting a NEW Rails application, you can ignore this notice.
|
106
|
+
|
103
107
|
For more info see:
|
104
108
|
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
|
105
109
|
|