zlocalize 4.2.0 → 4.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fcc6278f96e0fe07e33fc8516efc5f8118cf24b
|
4
|
+
data.tar.gz: 83f6e8ac7787ad6b1e902d77c30468c9d7ae7270
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ae3437dea609e5bc36d40b440520a51fecfbab81c387bc992d683e57df331e56c8d20a04656551975d093041b26bcac30c2be7edbe828cdc4ee713689229936
|
7
|
+
data.tar.gz: cf38ca76ddc195ccdf26d2fe39b362c3ef548a3fdd30c463c9f27b012490c7f88231214c90823582d3832f850b6761b9c068caa45cadd4a2002699c9bcb05f98
|
@@ -42,6 +42,10 @@ module ZLocalize
|
|
42
42
|
|
43
43
|
alias :translate :read_translated_attribute
|
44
44
|
|
45
|
+
def translations
|
46
|
+
translated_attributes
|
47
|
+
end
|
48
|
+
|
45
49
|
def translations=(locales)
|
46
50
|
locales.each do |locale,terms|
|
47
51
|
self.translated_attributes[locale] ||= HashWithIndifferentAccess.new
|