Fixed missing i18n

This commit is contained in:
Clement Lefebvre 2009-11-17 12:06:16 +00:00
parent bf80703bb8
commit c5effee231
3 changed files with 41 additions and 13 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
mintmenu (4.8.6) helena; urgency=low
* Fixed missing i18n
-- Clement Lefebvre <root@linuxmint.com> Tue, 17 Nov 2009 12:06:00 +0000
mintmenu (4.8.5) helena; urgency=low
* Mint logo by default

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-11-06 12:31+0000\n"
"POT-Creation-Date: 2009-11-17 12:05+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -20,35 +20,35 @@ msgstr ""
msgid "Menu"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:266
#: usr/lib/linuxmint/mintMenu/mintMenu.py:267
msgid "Couldn't load plugin:"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:340
#: usr/lib/linuxmint/mintMenu/mintMenu.py:341
msgid "Couldn't initialize plugin"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:585
#: usr/lib/linuxmint/mintMenu/mintMenu.py:588
msgid "Preferences"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:585
#: usr/lib/linuxmint/mintMenu/mintMenu.py:588
msgid "Edit menu"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:585
#: usr/lib/linuxmint/mintMenu/mintMenu.py:588
msgid "Reload plugins"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:585
#: usr/lib/linuxmint/mintMenu/mintMenu.py:588
msgid "About"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:763
#: usr/lib/linuxmint/mintMenu/mintMenu.py:777
msgid "Advanced Gnome Menu"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:766
#: usr/lib/linuxmint/mintMenu/mintMenu.py:780
msgid "Based on USP from S.Chanderbally"
msgstr ""
@ -293,6 +293,24 @@ msgstr ""
msgid "Keyboard shortcut:"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:228
msgid "Name"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:229
msgid "Path"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:328
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:362
msgid "Name:"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:329
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:363
msgid "Path:"
msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/recent.py:36
msgid "Recent documents"
msgstr ""

View File

@ -225,8 +225,8 @@ class mintMenuConfig( object ):
self.customplacestreemodel.connect("row-deleted", self.updatePlacesGconf)
self.customplacestreemodel.connect("rows-reordered", self.updatePlacesGconf)
self.customplacestree.set_model( self.customplacestreemodel )
self.namescolumn = gtk.TreeViewColumn( 'Name', self.cell, text = 0 )
self.placescolumn = gtk.TreeViewColumn( 'Path', self.cell, text = 1 )
self.namescolumn = gtk.TreeViewColumn( _("Name"), self.cell, text = 0 )
self.placescolumn = gtk.TreeViewColumn( _("Path"), self.cell, text = 1 )
self.customplacestree.append_column( self.namescolumn )
self.customplacestree.append_column( self.placescolumn )
wTree.get_widget("newButton").connect("clicked", self.newPlace)
@ -325,6 +325,8 @@ class mintMenuConfig( object ):
def newPlace(self, newButton):
gladefile = os.path.join( self.path, "mintMenuConfig.glade" )
wTree = gtk.glade.XML( gladefile, "editPlaceDialog" )
wTree.get_widget("label1").set_text(_("Name:"))
wTree.get_widget("label2").set_text(_("Path:"))
folderChooserTree = gtk.glade.XML( gladefile, "fileChooserDialog" )
newPlaceDialog = wTree.get_widget( "editPlaceDialog" )
folderChooserDialog = folderChooserTree.get_widget( "fileChooserDialog" )
@ -357,6 +359,8 @@ class mintMenuConfig( object ):
def editPlace(self, editButton):
gladefile = os.path.join( self.path, "mintMenuConfig.glade" )
wTree = gtk.glade.XML( gladefile, "editPlaceDialog" )
wTree.get_widget("label1").set_text(_("Name:"))
wTree.get_widget("label2").set_text(_("Path:"))
folderChooserTree = gtk.glade.XML( gladefile, "fileChooserDialog" )
editPlaceDialog = wTree.get_widget( "editPlaceDialog" )
folderChooserDialog = folderChooserTree.get_widget( "fileChooserDialog" )