[logaling-commit] logaling/logaling-command [import-tmx] change variable refer to target-language

Zurück zum Archiv-Index

null+****@clear***** null+****@clear*****
Thu Apr 26 14:09:29 JST 2012


SUZUKI Miho	2012-04-26 14:09:29 +0900 (Thu, 26 Apr 2012)

  New Revision: 47ac3ec09aa954f9230ea118cc959241e89f8228

  Log:
    change variable refer to target-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:57:06 +0900 (74f3d41)
+++ lib/logaling/external_glossaries/tmx.rb    2012-04-26 14:09:29 +0900 (8737998)
@@ -34,7 +34,7 @@ module Logaling
             lang = child["lang"].downcase.slice(0, 2)
             if lang == glossary_info[:source_language]
               original = child.text.strip
-            elsif lang == self.class.target_language
+            elsif lang == glossary_info[:target_language]
               translation = child.text.strip
             end
           end




More information about the logaling-commit mailing list
Zurück zum Archiv-Index