lib/Localization.rb in pixab-1.3.2 vs lib/Localization.rb in pixab-1.3.3
- old
+ new
@@ -116,10 +116,10 @@
localized_info_category[locale_name] = localized_infos
end
local_key = object['key']
local_key_name = local_key['name']
if local_key['plural']
- local_key_name += ".#{object['plural_suffix']}"
+ local_key_name += "_#{object['plural_suffix']}"
end
localized_infos.push({'key' => local_key_name, 'value' => "#{object['content']}"})
end
return localized_info_category
end