hola_milind_patel 0.1.19 → 0.1.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hola_milind_patel.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc644890c74fabdb14737fc019e36ef623429b60cb3e0f181606f0bcec31574a
|
4
|
+
data.tar.gz: 28e54cc63ffa63273bf02df0b4ce537f38e0ffd4bb5d4fddd2ca167e22674610
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a119b8ee23a8e08f8b0d127f858228ac0f10bfe7af98757adbca7f224f3b9bf88050049363b4f755fbf664dfe2b247161a2541ee32cf0e0c396a6f827cd6a08
|
7
|
+
data.tar.gz: d9bdaa857263a08098e3a60e76da0e7190083b1d05f61e159adc90b090d9b6295016585f8849e3be855bb612f8d0016e93a16846078b49b15b59fdcf50222a8a
|
data/lib/hola_milind_patel.rb
CHANGED
@@ -2,7 +2,7 @@ require 'mobility'
|
|
2
2
|
require 'config/hola_milind_patel'
|
3
3
|
module HolaMilindPatel
|
4
4
|
|
5
|
-
def
|
5
|
+
def translate_with_babeled_fish(data)
|
6
6
|
# responce = getData(data) if !data[0].nil?
|
7
7
|
responce = HolaMilindPatel.getShowData(data) #if data[0].nil?
|
8
8
|
|
@@ -73,7 +73,7 @@ module HolaMilindPatel
|
|
73
73
|
if obj.send("#{key}_backend").locales.include?(RequestStore.store[:selected_language].parameterize.underscore.to_sym)
|
74
74
|
center[key] = obj.send("#{key}_backend").read(RequestStore.store[:selected_language].parameterize.underscore.to_sym)
|
75
75
|
else
|
76
|
-
center[key] = RequestStore.store[:strict] == "true" ?
|
76
|
+
center[key] = RequestStore.store[:strict] == "true" ? nil : obj.send("#{key}_backend").read(obj.default_language.parameterize.underscore.to_sym)
|
77
77
|
end
|
78
78
|
end
|
79
79
|
end
|