i18n-complements 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/i18n-complements/localize_extension.rb +1 -1
- data/lib/i18n-complements/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b9fb647456ffc6a3b4761ab396bf66c312bf816
|
4
|
+
data.tar.gz: 7e4e5d33ccc8cdec4c79aaa0dcf860bca9487d45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e509773c1352f9749566bf6e59da58a96ddc901a91428a1769d390eeae202ab2385d2783da83505bbc12369261db508fb974092efcd2207580c8d3f86db252e
|
7
|
+
data.tar.gz: 52b6450de21b7d7612e498d6eb70fdb28985020cf4a3b44237a9ef74b85a7becebcb1c046c4865ace073f4d44a9a094659e25e0db14a655cc4bda9d949cec521
|
@@ -38,7 +38,7 @@ module I18n
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
elsif object.is_a?(TrueClass) or object.is_a?(FalseClass)
|
41
|
-
return I18n.translate("boolean.human.#{object.to_s}_class")
|
41
|
+
return I18n.translate("boolean.human.#{object.to_s}_class", locale: locale)
|
42
42
|
elsif object.is_a?(String)
|
43
43
|
return object
|
44
44
|
else
|