[GRASS-SVN] r67650 - in grass/branches/releasebranch_7_0: gui/wxpython/psmap lib/init lib/vector/diglib

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 24 11:24:24 PST 2016


Author: neteler
Date: 2016-01-24 11:24:24 -0800 (Sun, 24 Jan 2016)
New Revision: 67650

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/psmap/dialogs.py
   grass/branches/releasebranch_7_0/lib/init/grass.py
   grass/branches/releasebranch_7_0/lib/vector/diglib/struct_alloc.c
Log:
Add comments for translators and fix gettext usage (trunk, partial backport of r67648)

Modified: grass/branches/releasebranch_7_0/gui/wxpython/psmap/dialogs.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/psmap/dialogs.py	2016-01-24 09:36:43 UTC (rev 67649)
+++ grass/branches/releasebranch_7_0/gui/wxpython/psmap/dialogs.py	2016-01-24 19:24:24 UTC (rev 67650)
@@ -760,6 +760,7 @@
         border.Add(item = sizer, proportion = 0, flag = wx.ALL | wx.EXPAND, border = 5)
         
         # border
+        # GTC Line around legend or map frame
         box   = wx.StaticBox (parent = self, id = wx.ID_ANY, label = " %s " % _("Border"))        
         sizer = wx.StaticBoxSizer(box, wx.HORIZONTAL)
         gridBagSizer = wx.GridBagSizer(hgap = 5, vgap = 5)
@@ -2651,6 +2652,7 @@
         self.sizePositionFont(legendType = 'vector', parent = panel, mainSizer = border)
          
         # border
+        # GTC  Line around legend or map frame
         box   = wx.StaticBox (parent = panel, id = wx.ID_ANY, label = " %s " % _("Border"))
         sizer = wx.StaticBoxSizer(box, wx.VERTICAL)
         flexGridSizer = wx.FlexGridSizer(cols = 2, hgap = 5, vgap = 5)

Modified: grass/branches/releasebranch_7_0/lib/init/grass.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/init/grass.py	2016-01-24 09:36:43 UTC (rev 67649)
+++ grass/branches/releasebranch_7_0/lib/init/grass.py	2016-01-24 19:24:24 UTC (rev 67650)
@@ -873,7 +873,7 @@
     if not os.path.exists(location):
         fatal(_("Path '%s' doesn't exist") % location)
     if not os.access(location, os.W_OK):
-        error = "Path '%s' not accessible.\n" % location
+        error = "Path '%s' not accessible." % location
         stat_info = os.stat(location)
         mapset_uid = stat_info.st_uid
         if mapset_uid != os.getuid():
@@ -1040,6 +1040,7 @@
 %-41sg.manual -i
 %-41sg.version -c
 """ % (_("GRASS GIS homepage:"),
+        # GTC Running through: SHELL NAME
        _("This version running through:"),
        shellname, os.getenv('SHELL'),
        _("Help is available with the command:"),

Modified: grass/branches/releasebranch_7_0/lib/vector/diglib/struct_alloc.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/vector/diglib/struct_alloc.c	2016-01-24 09:36:43 UTC (rev 67649)
+++ grass/branches/releasebranch_7_0/lib/vector/diglib/struct_alloc.c	2016-01-24 19:24:24 UTC (rev 67650)
@@ -488,6 +488,6 @@
 */
 int dig_out_of_memory()
 {
-    G_warning(_("Out of memmory"));
+    G_warning(_("Out of memory"));
     return -1;
 }



More information about the grass-commit mailing list