diff --git a/lib/translation_support.rb b/lib/translation_support.rb index c50a8cd3..5be9dc31 100644 --- a/lib/translation_support.rb +++ b/lib/translation_support.rb @@ -8,7 +8,7 @@ def get_translation_keys(language_root, suffix = nil) # Retrieve comments, translation data in hash form def read_file(filename, basename) - (comments, data) = IO.read(filename).split(/\n#{basename}:\s*\n/) # Add error checking for failed file read? + (comments, data) = File.read(filename).split(/\n#{basename}:\s*\n/) # Add error checking for failed file read? [comments, create_hash(data, basename)] end diff --git a/lib/trusty_cms.rb b/lib/trusty_cms.rb index 26605b5b..efbb6efc 100644 --- a/lib/trusty_cms.rb +++ b/lib/trusty_cms.rb @@ -2,6 +2,6 @@ unless defined? TrustyCms::VERSION module TrustyCms - VERSION = '5.3.4'.freeze + VERSION = '5.3.5'.freeze end end