d: po4a, continue reorganization (translation request dev stopped)
[software/sisu] / lib / sisu / develop / se_file_op.rb
index 1555d11937fc8d2fbeff13b99fd911bc561fadc9..585a1c12e9a887fa7b57f94d3c4ae0e826cd0f23 100644 (file)
@@ -468,8 +468,8 @@ module SiSU_File_Op
         fn=base_filename.pot
         make_file(path,fn)
       end
-      def po
-        path=output_path.po.dir
+      def po(lng=@md.opt.lng)
+        path=output_path.po(lng).dir
         make_path(path)
         fn=base_filename.po
         make_file(path,fn)
@@ -1747,17 +1747,18 @@ module SiSU_File_Op
         end
         self
       end
-      def po
+      def po(lng=@md.opt.lng)
+        @lng=lng
         def dir
           output_path.base.dir + '/' \
             + Gt[:src] + '/' \
             + @md.opt.fng + '/po4a/po/' \
-            + @md.opt.lng
+            + @lng
         end
         def url
           output_path.base.url + '/po4a/' \
             + @md.fnb + '/po/' \
-            + @md.opt.lng
+            + @lng
         end
         self
       end