Class: IsoDoc::JIS::I18n

Inherits:
Iso::I18n
  • Object
show all
Defined in:
lib/isodoc/jis/i18n.rb

Instance Method Summary collapse

Instance Method Details

#load_yaml1(lang, script) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/isodoc/jis/i18n.rb', line 4

def load_yaml1(lang, script)
  y = if lang == "ja"
        YAML.load_file(File.join(File.dirname(__FILE__), "i18n-ja.yaml"))
      else
        YAML.load_file(File.join(File.dirname(__FILE__), "i18n-ja.yaml"))
      end
  super.deep_merge(y)
end