فهرست منبع

wxGUI/wms: fix interpolation method names

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@56330 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 سال پیش
والد
کامیت
d3da4d6d3e
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      gui/wxpython/web_services/widgets.py

+ 3 - 2
gui/wxpython/web_services/widgets.py

@@ -226,9 +226,10 @@ class WSPanel(wx.Panel):
         labels['method'] = wx.StaticText(parent = adv_setts_panel, id = wx.ID_ANY,
                                          label = _("Reprojection method:"))
 
-        self.reproj_methods = ['near', 'bilinear', 'cubic', 'cubicspline']
+        self.reproj_methods = ['nearest', 'linear', 'cubic', 'cubicspline']
         self.params['method'] = wx.Choice(parent = adv_setts_panel, id = wx.ID_ANY,
-                                          choices = [_('near'), _('bilinear'), _('cubic'), _('cubicspline')])
+                                          choices = [_('Nearest neighbor'), _('Linear interpolation'),
+                                                     _('Cubic interpolation'), _('Cubic spline interpolation')])
 
         labels['maxcols'] = wx.StaticText(parent = adv_setts_panel, id = wx.ID_ANY,
                                           label = _("Maximum columns to request from server at time:"))