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 mintmenu (4.8.5) helena; urgency=low
* Mint logo by default * Mint logo by default

View File

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

View File

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