i18n/mki18n.py
changeset 1736 7e61baa047f0
parent 1734 750eeb7230a1
child 1738 d2e979738700
--- a/i18n/mki18n.py	Mon Aug 14 22:30:41 2017 +0300
+++ b/i18n/mki18n.py	Mon Aug 14 23:27:15 2017 +0300
@@ -93,6 +93,7 @@
 
 # -----------------------------------------------------------------------------
 
+
 def getlanguageDict():
     languageDict = {}
 
@@ -210,10 +211,7 @@
                 os.system(cmd)
     os.chdir(currentDir)
 
-# -----------------------------------------------------------------------------
-# c a t P O ( )         -- Concatenate one or several PO files with the application domain files. --
-# ^^^^^^^^^^^^^
-#
+
 def catPO(applicationDirectoryPath, listOf_extraPo, applicationDomain=None, targetDir=None, verbose=0) :
     """Concatenate one or several PO files with the application domain files.
     """
@@ -248,10 +246,7 @@
                     os.system(cmd)
     os.chdir(currentDir)
 
-# -----------------------------------------------------------------------------
-# m a k e M O ( )         -- Compile the Portable Object files into the Machine Object stored in the right location. --
-# ^^^^^^^^^^^^^^^
-#
+
 def makeMO(applicationDirectoryPath,targetDir='./locale',applicationDomain=None, verbose=0, forceEnglish=0) :
     """Compile the Portable Object files into the Machine Object stored in the right location.
 
@@ -297,10 +292,7 @@
                 os.system(cmd)
     os.chdir(currentDir)
 
-# -----------------------------------------------------------------------------
-# p r i n t U s a g e         -- Displays how to use this script from the command line --
-# ^^^^^^^^^^^^^^^^^^^
-#
+
 def printUsage(errorMsg=None) :
     """Displays how to use this script from the command line."""
     print """
@@ -337,10 +329,7 @@
     if errorMsg:
         print "\n   ERROR: %s" % errorMsg
 
-# -----------------------------------------------------------------------------
-# f i l e B a s e O f ( )         -- Return base name of filename --
-# ^^^^^^^^^^^^^^^^^^^^^^^
-#
+
 def fileBaseOf(filename,withPath=0) :
    """fileBaseOf(filename,withPath) ---> string
 
@@ -378,10 +367,8 @@
       return filename
    else:
       return os.path.basename(filename)
-# -----------------------------------------------------------------------------
-# m k d i r ( )         -- Create a directory (and possibly the entire tree) --
-# ^^^^^^^^^^^^^
-#
+
+
 def mkdir(directory) :
    """Create a directory (and possibly the entire tree).
 
@@ -420,10 +407,7 @@
          os.mkdir(theDir)
       theDir += '/'
 
-# -----------------------------------------------------------------------------
-# u n i x p a t h ( )         -- Return a path name that contains Unix separator. --
-# ^^^^^^^^^^^^^^^^^^^
-#
+
 def unixpath(thePath) :
    r"""Return a path name that contains Unix separator.