浏览代码

g.gui.gcp: tell in msg which recification order is currently active

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@60459 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 11 年之前
父节点
当前提交
dab95a127b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      gui/wxpython/gcp/manager.py

+ 2 - 2
gui/wxpython/gcp/manager.py

@@ -1380,10 +1380,10 @@ class GCP(MapFrame, ColumnSorterMixin):
             if msg:
                 GWarning(parent = self,
                          message=_('Insufficient points defined and active (checked) '
-                                   'for selected rectification method.\n'
+                                   'for selected rectification method (order: %d).\n'
                                    '3+ points needed for 1st order,\n'
                                    '6+ points for 2nd order, and\n'
-                                   '10+ points for 3rd order.'))
+                                   '10+ points for 3rd order.') % self.gr_order)
                 return False
         else:
             return True