Fix import bug.
This commit is contained in:
parent
8503a2b85c
commit
21958fe1d3
|
@ -65,52 +65,52 @@ module Admin::EventNewsHelper
|
||||||
anns.remote_image_url = val
|
anns.remote_image_url = val
|
||||||
when 9
|
when 9
|
||||||
value["en"] = val
|
value["en"] = val
|
||||||
anns.image_description_translations = value
|
anns.image_description_translations = value.clone
|
||||||
when 10
|
when 10
|
||||||
value["zh_tw"] = val
|
value["zh_tw"] = val
|
||||||
anns.image_description_translations = value
|
anns.image_description_translations = value.clone
|
||||||
value = {}
|
value = {}
|
||||||
when 11
|
when 11
|
||||||
value["en"] = val
|
value["en"] = val
|
||||||
anns.title_translations = value
|
anns.title_translations = value.clone
|
||||||
when 12
|
when 12
|
||||||
value["zh_tw"] = val
|
value["zh_tw"] = val
|
||||||
anns.title_translations = value
|
anns.title_translations = value.clone
|
||||||
value = {}
|
value = {}
|
||||||
when 13
|
when 13
|
||||||
value["en"] = val
|
value["en"] = val
|
||||||
anns.speaker_translations = value
|
anns.speaker_translations = value.clone
|
||||||
when 14
|
when 14
|
||||||
value["zh_tw"] = val
|
value["zh_tw"] = val
|
||||||
anns.speaker_translations = value
|
anns.speaker_translations = value.clone
|
||||||
value = {}
|
value = {}
|
||||||
when 15
|
when 15
|
||||||
value["en"] = val
|
value["en"] = val
|
||||||
anns.host_translations = value
|
anns.host_translations = value.clone
|
||||||
when 16
|
when 16
|
||||||
value["zh_tw"] = val
|
value["zh_tw"] = val
|
||||||
anns.host_translations = value
|
anns.host_translations = value.clone
|
||||||
value = {}
|
value = {}
|
||||||
when 17
|
when 17
|
||||||
value["en"] = val
|
value["en"] = val
|
||||||
anns.subtitle_translations = value
|
anns.subtitle_translations = value.clone
|
||||||
when 18
|
when 18
|
||||||
value["zh_tw"] = val
|
value["zh_tw"] = val
|
||||||
anns.subtitle_translations = value
|
anns.subtitle_translations = value.clone
|
||||||
value = {}
|
value = {}
|
||||||
when 19
|
when 19
|
||||||
value["en"] = val
|
value["en"] = val
|
||||||
anns.text_translations = value
|
anns.text_translations = value.clone
|
||||||
when 20
|
when 20
|
||||||
value["zh_tw"] = val
|
value["zh_tw"] = val
|
||||||
anns.text_translations = value
|
anns.text_translations = value.clone
|
||||||
value = {}
|
value = {}
|
||||||
when 21
|
when 21
|
||||||
value["en"] = val
|
value["en"] = val
|
||||||
anns.notes_translations = value
|
anns.notes_translations = value.clone
|
||||||
when 22
|
when 22
|
||||||
value["zh_tw"] = val
|
value["zh_tw"] = val
|
||||||
anns.notes_translations = value
|
anns.notes_translations = value.clone
|
||||||
value = {}
|
value = {}
|
||||||
when 23
|
when 23
|
||||||
links = val.split(";") rescue []
|
links = val.split(";") rescue []
|
||||||
|
@ -139,10 +139,10 @@ module Admin::EventNewsHelper
|
||||||
end
|
end
|
||||||
when 31
|
when 31
|
||||||
value["en"] = val
|
value["en"] = val
|
||||||
anns.place_translations = value
|
anns.place_translations = value.clone
|
||||||
when 32
|
when 32
|
||||||
value["zh_tw"] = val
|
value["zh_tw"] = val
|
||||||
anns.place_translations = value
|
anns.place_translations = value.clone
|
||||||
value = {}
|
value = {}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue