[GRASS-dev] Re: [GRASS-SVN] r40421 -
grass/branches/develbranch_6/gui/wxpython
Markus Neteler
neteler at osgeo.org
Thu Jan 14 18:10:40 EST 2010
Hi Martin,
as proven on Linux and Windows, they are not automatically
translated. I would be glad to not clutter the code and to revert
this. The shortcuts should work as before, see
http://trac.osgeo.org/grass/changeset/40442
In the translations, it will be in any case another shortcut since
the words are different.
Are you sure that the buttons are translated on your machine
without these changes?
Markus
On Thu, Jan 14, 2010 at 10:50 AM, Martin Landa <landa.martin at gmail.com> wrote:
> Hi,
>
> these buttons should be translated by the system's locales. I am not
> sure if it's good practice to translate them locally. At least you
> disabled standard shortcuts, e.g. &Help.
>
> Martin
>
> 2010/1/14 <svn_grass at osgeo.org>:
>> Author: neteler
>> Date: 2010-01-13 18:32:36 -0500 (Wed, 13 Jan 2010)
>> New Revision: 40421
>>
>> Modified:
>> grass/branches/develbranch_6/gui/wxpython/gis_set.py
>> Log:
>> enable i18N for 'Quit' and 'Help'
>>
>> Modified: grass/branches/develbranch_6/gui/wxpython/gis_set.py
>> ===================================================================
>> --- grass/branches/develbranch_6/gui/wxpython/gis_set.py 2010-01-13 23:32:27 UTC (rev 40420)
>> +++ grass/branches/develbranch_6/gui/wxpython/gis_set.py 2010-01-13 23:32:36 UTC (rev 40421)
>> @@ -121,9 +121,11 @@
>> self.bstart = wx.Button(parent=self.panel, id=wx.ID_ANY,
>> label=_("Start GRASS"))
>> self.bstart.SetDefault()
>> - self.bexit = wx.Button(parent=self.panel, id=wx.ID_EXIT)
>> + self.bexit = wx.Button(parent=self.panel, id=wx.ID_EXIT,
>> + label=_("Quit"))
>> self.bstart.SetMinSize((180, self.bexit.GetSize()[1]))
>> - self.bhelp = wx.Button(parent=self.panel, id=wx.ID_HELP)
>> + self.bhelp = wx.Button(parent=self.panel, id=wx.ID_HELP,
>> + label=_("Help"))
>> self.bbrowse = wx.Button(parent=self.panel, id=wx.ID_ANY,
>> label=_("Browse"))
>> self.bmapset = wx.Button(parent=self.panel, id=wx.ID_ANY,
>>
>> _______________________________________________
>> grass-commit mailing list
>> grass-commit at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-commit
>>
>
>
>
> --
> Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
>
More information about the grass-dev
mailing list