null+****@clear*****
null+****@clear*****
Thu Apr 26 13:57:06 JST 2012
SUZUKI Miho 2012-04-26 13:57:06 +0900 (Thu, 26 Apr 2012) New Revision: 37f1ffdefbebf45fa90e15ef287cfdc4f122e8cb Merged dc203a9: Merge pull request #58 from logaling/import-tmx Log: change variable refer to source-language Modified files: lib/logaling/external_glossaries/tmx.rb Modified: lib/logaling/external_glossaries/tmx.rb (+1 -1) =================================================================== --- lib/logaling/external_glossaries/tmx.rb 2012-04-26 13:53:24 +0900 (fb5120f) +++ lib/logaling/external_glossaries/tmx.rb 2012-04-26 13:57:06 +0900 (74f3d41) @@ -32,7 +32,7 @@ module Logaling tu.children.each do |child| if child.name == "tuv" lang = child["lang"].downcase.slice(0, 2) - if lang == self.class.source_language + if lang == glossary_info[:source_language] original = child.text.strip elsif lang == self.class.target_language translation = child.text.strip