This file contains the SVN revision history for flatmenu, at revision 70699.
Available information include commit date, the name of the committer, the file size, the SVN log messages and a diff from the previous version (if available).
The following log message was entered by the committer:
FlatMenu: internationalize the various hard-coded strings.
Version SVN diff:
--- wxPython/3rdParty/AGW/agw/flatmenu.py 2011/08/25 16:40:17 68881
+++ wxPython/3rdParty/AGW/agw/flatmenu.py 2012/02/26 16:10:53 70699
@@ -2,7 +2,7 @@
# FLATMENU wxPython IMPLEMENTATION
#
# Andrea Gavana, @ 03 Nov 2006
-# Latest Revision: 17 Aug 2011, 15.00 GMT
+# Latest Revision: 26 Feb 2012, 15.00 GMT
#
# TODO List
#
@@ -185,7 +185,7 @@
L{FlatMenu} is distributed under the wxPython license.
-Latest Revision: Andrea Gavana @ 17 Aug 2011, 15.00 GMT
+Latest Revision: Andrea Gavana @ 26 Feb 2012, 15.00 GMT
Version 1.0
@@ -224,6 +224,9 @@
_libimported = None
_DELAY = 5000
+# Define a translation string
+_ = wx.GetTranslation
+
if wx.Platform == "__WXMSW__":
osVersion = wx.GetOsVersion()
# Shadows behind menus are supported only in XP
@@ -3555,7 +3558,7 @@
if self._showCustomize:
if invT + invM > 0:
self._moreMenu.AppendSeparator()
- item = FlatMenuItem(self._moreMenu, self._popupDlgCmdId, "Customize ...")
+ item = FlatMenuItem(self._moreMenu, self._popupDlgCmdId, _(u"Customize..."))
self._moreMenu.AppendItem(item)
SVN Revision 68881 For flatmenu
SVN Revision 70837 For flatmenu
Enter search terms or a module, class or function name.