[GRASS-SVN] r50335 - in grass/trunk/gui/wxpython: core dbmgr vdigit
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jan 20 16:56:03 EST 2012
Author: neteler
Date: 2012-01-20 13:56:03 -0800 (Fri, 20 Jan 2012)
New Revision: 50335
Modified:
grass/trunk/gui/wxpython/core/render.py
grass/trunk/gui/wxpython/dbmgr/manager.py
grass/trunk/gui/wxpython/vdigit/dialogs.py
Log:
typos discovered by Vincent Bain fixed
Modified: grass/trunk/gui/wxpython/core/render.py
===================================================================
--- grass/trunk/gui/wxpython/core/render.py 2012-01-20 21:55:42 UTC (rev 50334)
+++ grass/trunk/gui/wxpython/core/render.py 2012-01-20 21:56:03 UTC (rev 50335)
@@ -1326,7 +1326,7 @@
self.overlays.append(overlay)
if l_render and command != '' and not overlay.Render():
- raise GException(_("Unable render overlay <%s>.") %
+ raise GException(_("Unable to render overlay <%s>.") %
name)
return self.overlays[-1]
@@ -1365,7 +1365,7 @@
overlay.SetOpacity(kargs['opacity'])
if render and overlay.GetCmd() != [] and not overlay.Render():
- raise GException(_("Unable render overlay <%s>") %
+ raise GException(_("Unable to render overlay <%s>.") %
name)
return overlay
Modified: grass/trunk/gui/wxpython/dbmgr/manager.py
===================================================================
--- grass/trunk/gui/wxpython/dbmgr/manager.py 2012-01-20 21:55:42 UTC (rev 50334)
+++ grass/trunk/gui/wxpython/dbmgr/manager.py 2012-01-20 21:56:03 UTC (rev 50335)
@@ -1178,7 +1178,7 @@
if UserSettings.Get(group = 'atm', key = 'askOnDeleteRec', subkey = 'enabled'):
deleteDialog = wx.MessageBox(parent = self,
- message = _("Selected data records (%d) will permanently deleted "
+ message = _("Selected data records (%d) will be permanently deleted "
"from table. Do you want to delete them?") % \
(len(self.listOfSQLStatements)),
caption = _("Delete records"),
@@ -1224,7 +1224,7 @@
dlist = self.FindWindowById(self.layerPage[self.layer]['data'])
if UserSettings.Get(group = 'atm', key = 'askOnDeleteRec', subkey = 'enabled'):
deleteDialog = wx.MessageBox(parent = self,
- message = _("All data records (%d) will permanently deleted "
+ message = _("All data records (%d) will be permanently deleted "
"from table. Do you want to delete them?") % \
(len(dlist.itemIndexMap)),
caption = _("Delete records"),
Modified: grass/trunk/gui/wxpython/vdigit/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/vdigit/dialogs.py 2012-01-20 21:55:42 UTC (rev 50334)
+++ grass/trunk/gui/wxpython/vdigit/dialogs.py 2012-01-20 21:56:03 UTC (rev 50335)
@@ -235,7 +235,7 @@
self.list.SetStringItem(itemIndex, 1, str(catNew))
dlg = wx.MessageDialog(self, _("Unable to add new layer/category <%(layer)s/%(category)s>.\n"
"Layer and category number must be integer.\n"
- "Layer number must be greater then zero.") %
+ "Layer number must be greater than zero.") %
{ 'layer': self.layerNew.GetStringSelection(),
'category' : str(self.catNew.GetValue()) },
_("Error"), wx.OK | wx.ICON_ERROR)
@@ -454,7 +454,7 @@
GError(parent = self,
message = _("Unable to add new layer/category <%(layer)s/%(category)s>.\n"
"Layer and category number must be integer.\n"
- "Layer number must be greater then zero.") %
+ "Layer number must be greater than zero.") %
{'layer' : str(self.layerNew.GetValue()),
'category' : str(self.catNew.GetValue())})
return False
More information about the grass-commit
mailing list