Fix l10n
Move .ui to share folder Fix makepot and translations
This commit is contained in:
parent
2a4267673d
commit
ca78764c13
33
makepot
33
makepot
@ -1,29 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
intltool-extract --type=gettext/glade usr/lib/linuxmint/mintMenu/mintMenu.glade
|
intltool-extract --type=gettext/glade usr/share/linuxmint/mintmenu/applications.ui
|
||||||
intltool-extract --type=gettext/glade usr/lib/linuxmint/mintMenu/mintMenuConfig.glade
|
intltool-extract --type=gettext/glade usr/share/linuxmint/mintmenu/main.ui
|
||||||
intltool-extract --type=gettext/glade usr/lib/linuxmint/mintMenu/plugins/applications.glade
|
intltool-extract --type=gettext/glade usr/share/linuxmint/mintmenu/places.ui
|
||||||
intltool-extract --type=gettext/glade usr/lib/linuxmint/mintMenu/plugins/places.glade
|
intltool-extract --type=gettext/glade usr/share/linuxmint/mintmenu/preferences.ui
|
||||||
intltool-extract --type=gettext/glade usr/lib/linuxmint/mintMenu/plugins/recent.glade
|
intltool-extract --type=gettext/glade usr/share/linuxmint/mintmenu/recent.ui
|
||||||
intltool-extract --type=gettext/glade usr/lib/linuxmint/mintMenu/plugins/system_management.glade
|
intltool-extract --type=gettext/glade usr/share/linuxmint/mintmenu/system.ui
|
||||||
|
|
||||||
xgettext --language=Python --keyword=_ --keyword=N_ --output=mintmenu.pot \
|
|
||||||
usr/lib/linuxmint/mintMenu/mintMenu.py \
|
|
||||||
usr/lib/linuxmint/mintMenu/mintMenu.glade.h \
|
|
||||||
usr/lib/linuxmint/mintMenu/mintMenuConfig.py \
|
|
||||||
usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h \
|
|
||||||
usr/lib/linuxmint/mintMenu/keybinding.py \
|
|
||||||
usr/lib/linuxmint/mintMenu/plugins/applications.py \
|
|
||||||
usr/lib/linuxmint/mintMenu/plugins/applications.glade.h \
|
|
||||||
usr/lib/linuxmint/mintMenu/plugins/recent.py \
|
|
||||||
usr/lib/linuxmint/mintMenu/plugins/recent.glade.h \
|
|
||||||
usr/lib/linuxmint/mintMenu/plugins/recentHelper.py \
|
|
||||||
usr/lib/linuxmint/mintMenu/plugins/places.py \
|
|
||||||
usr/lib/linuxmint/mintMenu/plugins/places.glade.h \
|
|
||||||
usr/lib/linuxmint/mintMenu/plugins/system_management.py \
|
|
||||||
usr/lib/linuxmint/mintMenu/plugins/system_management.glade.h
|
|
||||||
|
|
||||||
rm -rf usr/lib/linuxmint/mintMenu/*.glade.h
|
|
||||||
rm -rf usr/lib/linuxmint/mintMenu/plugins/*.glade.h
|
|
||||||
|
|
||||||
|
xgettext --language=Python --keyword=_ --keyword=N_ --output=mintmenu.pot usr/lib/linuxmint/mintMenu/*.py usr/share/linuxmint/mintmenu/*.ui.h
|
||||||
|
|
||||||
|
rm -rf usr/share/linuxmint/mintmenu/*.ui.h
|
||||||
|
730
mintmenu.pot
730
mintmenu.pot
@ -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: 2019-05-14 17:24+0100\n"
|
"POT-Creation-Date: 2019-05-20 14:46+0100\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"
|
||||||
@ -17,313 +17,6 @@ msgstr ""
|
|||||||
"Content-Type: text/plain; charset=CHARSET\n"
|
"Content-Type: text/plain; charset=CHARSET\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenu.py:31
|
|
||||||
msgid "Menu"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenu.py:175
|
|
||||||
msgid "Couldn't load plugin:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenu.py:249
|
|
||||||
msgid "Couldn't initialize plugin"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenu.py:662
|
|
||||||
msgid "Advanced MATE Menu"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenu.py:770
|
|
||||||
msgid "Preferences"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenu.py:773
|
|
||||||
msgid "Edit menu"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenu.py:776
|
|
||||||
msgid "Reload plugins"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenu.py:779
|
|
||||||
msgid "About"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:35
|
|
||||||
msgid "Menu preferences"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:38
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:1
|
|
||||||
msgid "Edit Place"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:39
|
|
||||||
msgid "New Place"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:40
|
|
||||||
msgid "Select a folder"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:78
|
|
||||||
msgid "Images"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:195
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:2
|
|
||||||
msgid "Name"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:196
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:3
|
|
||||||
msgid "Path"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:210
|
|
||||||
msgid "Desktop theme"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:346
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:377
|
|
||||||
msgid "Name:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:347
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:378
|
|
||||||
msgid "Path:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:4
|
|
||||||
msgid "Default"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:5
|
|
||||||
msgid "Show button icon"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:6
|
|
||||||
msgid "Button text:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:7
|
|
||||||
msgid "Button icon:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:8
|
|
||||||
msgid "Keyboard shortcut:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:9
|
|
||||||
msgid "Main button"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:10
|
|
||||||
msgid "Show applications plugin"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:11
|
|
||||||
msgid "Show system plugin"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:12
|
|
||||||
msgid "Show places plugin"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:13
|
|
||||||
msgid "Show recently used applications and documents plugin"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:14
|
|
||||||
msgid "Show tooltips"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:15
|
|
||||||
msgid "Plugins"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:16
|
|
||||||
msgid "Headings:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:17
|
|
||||||
msgid "Background:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:18
|
|
||||||
msgid "Theme:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:19
|
|
||||||
msgid "Use custom colors"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:20
|
|
||||||
msgid "Colors"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:21
|
|
||||||
msgid "Show application comments"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:22
|
|
||||||
msgid "Show category icons"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:23
|
|
||||||
msgid "Hover"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:24
|
|
||||||
msgid "Hover delay (seconds):"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:25
|
|
||||||
msgid "Icon size:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:26
|
|
||||||
msgid "Search command:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:27
|
|
||||||
msgid "Search for packages to install"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:28
|
|
||||||
msgid "Remember the last category or search"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:29
|
|
||||||
msgid "Enable Internet search"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:30
|
|
||||||
msgid "Show search bar on top"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:31
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.glade.h:3
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/recent.glade.h:1
|
|
||||||
msgid "Applications"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:32
|
|
||||||
msgid "Number of columns:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:33
|
|
||||||
msgid "Swap name and generic name"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:34
|
|
||||||
msgid "Always start with favorites pane"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:35
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.glade.h:1
|
|
||||||
msgid "Favorites"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:36
|
|
||||||
msgid "Height:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:37
|
|
||||||
msgid "0"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:38
|
|
||||||
msgid "Allow Scrollbar"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:39
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/places.py:140
|
|
||||||
msgid "Computer"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:40
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/places.py:147
|
|
||||||
msgid "Home Folder"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:41
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/places.py:157
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/places.py:159
|
|
||||||
msgid "Network"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:42
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/places.py:178
|
|
||||||
msgid "Desktop"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:43
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/places.py:185
|
|
||||||
msgid "Trash"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:44
|
|
||||||
msgid "Toggle Default Places:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:45
|
|
||||||
msgid "Show GTK bookmarks"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:46
|
|
||||||
msgid "Custom Places:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:47
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/places.py:43
|
|
||||||
msgid "Places"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:48
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:154
|
|
||||||
msgid "Software Manager"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:49
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:161
|
|
||||||
msgid "Package Manager"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:50
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:168
|
|
||||||
msgid "Control Center"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:51
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:175
|
|
||||||
msgid "Terminal"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:52
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:185
|
|
||||||
msgid "Lock Screen"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:53
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:192
|
|
||||||
msgid "Logout"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:54
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:199
|
|
||||||
msgid "Quit"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:55
|
|
||||||
msgid "Toggle Default Items:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h:56
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:38
|
|
||||||
msgid "System"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/keybinding.py:168
|
#: usr/lib/linuxmint/mintMenu/keybinding.py:168
|
||||||
msgid "Click to set a new accelerator key for opening and closing the menu. "
|
msgid "Click to set a new accelerator key for opening and closing the menu. "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -344,212 +37,355 @@ msgstr ""
|
|||||||
msgid "<not set>"
|
msgid "<not set>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:619
|
#: usr/lib/linuxmint/mintMenu/mintMenu.py:34
|
||||||
#, python-format
|
msgid "Menu"
|
||||||
msgid "Search DuckDuckGo for %s"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:621
|
#: usr/lib/linuxmint/mintMenu/mintMenu.py:178
|
||||||
#, python-format
|
msgid "Couldn't load plugin:"
|
||||||
msgid "Search Wikipedia for %s"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:624
|
#: usr/lib/linuxmint/mintMenu/mintMenu.py:253
|
||||||
#, python-format
|
msgid "Couldn't initialize plugin"
|
||||||
msgid "Lookup %s in Dictionary"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:626
|
#: usr/lib/linuxmint/mintMenu/mintMenu.py:661
|
||||||
#, python-format
|
msgid "Advanced MATE Menu"
|
||||||
msgid "Search Computer for %s"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:684
|
#: usr/lib/linuxmint/mintMenu/mintMenu.py:768
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:726
|
msgid "Preferences"
|
||||||
#, python-format
|
|
||||||
msgid "Install package '%s'"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:830
|
#: usr/lib/linuxmint/mintMenu/mintMenu.py:771
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:901
|
msgid "Edit menu"
|
||||||
msgid "Add to desktop"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:831
|
#: usr/lib/linuxmint/mintMenu/mintMenu.py:774
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:902
|
msgid "Reload plugins"
|
||||||
msgid "Add to panel"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:833
|
#: usr/lib/linuxmint/mintMenu/mintMenu.py:777
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:879
|
msgid "About"
|
||||||
msgid "Insert space"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:834
|
#: usr/lib/linuxmint/mintMenu/preferences.py:24
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:880
|
msgid "Custom Place"
|
||||||
msgid "Insert separator"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:836
|
#: usr/lib/linuxmint/mintMenu/preferences.py:35
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:905
|
msgid "Name:"
|
||||||
msgid "Launch when I log in"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:838
|
#: usr/lib/linuxmint/mintMenu/preferences.py:39
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:907
|
msgid "Select a folder"
|
||||||
msgid "Launch"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:839
|
#: usr/lib/linuxmint/mintMenu/preferences.py:41
|
||||||
msgid "Remove from favorites"
|
msgid "Folder:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:841
|
#: usr/lib/linuxmint/mintMenu/preferences.py:60
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:911
|
msgid "Menu preferences"
|
||||||
msgid "Edit properties"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:878
|
#: usr/lib/linuxmint/mintMenu/preferences.py:67
|
||||||
msgid "Remove"
|
msgid "Menu button"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:904
|
#: usr/lib/linuxmint/mintMenu/preferences.py:67
|
||||||
msgid "Show in my favorites"
|
msgid "Applet button in the panel"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:908
|
#: usr/lib/linuxmint/mintMenu/preferences.py:68
|
||||||
msgid "Uninstall"
|
msgid "Show button icon"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:909
|
#: usr/lib/linuxmint/mintMenu/preferences.py:69
|
||||||
msgid "Delete from menu"
|
msgid "Button text"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:974
|
#: usr/lib/linuxmint/mintMenu/preferences.py:70
|
||||||
msgid "Search DuckDuckGo"
|
msgid "Button icon"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:975
|
#: usr/lib/linuxmint/mintMenu/preferences.py:75
|
||||||
msgid "Search Wikipedia"
|
msgid "Keyboard shortcut"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:977
|
#: usr/lib/linuxmint/mintMenu/preferences.py:81
|
||||||
msgid "Search Dictionary"
|
msgid "Options"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:978
|
#: usr/lib/linuxmint/mintMenu/preferences.py:81
|
||||||
msgid "Search Computer"
|
msgid "General applet options"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:980
|
#: usr/lib/linuxmint/mintMenu/preferences.py:82
|
||||||
msgid "Find Software"
|
msgid "Show system management"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:981
|
#: usr/lib/linuxmint/mintMenu/preferences.py:85
|
||||||
msgid "Find Tutorials"
|
msgid "Show places"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:982
|
#: usr/lib/linuxmint/mintMenu/preferences.py:88
|
||||||
msgid "Find Hardware"
|
msgid "Show recently used documents and applications"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:983
|
#: usr/lib/linuxmint/mintMenu/preferences.py:92
|
||||||
msgid "Find Ideas"
|
msgid "Show tooltips"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:984
|
#: usr/lib/linuxmint/mintMenu/preferences.py:96
|
||||||
msgid "Find Users"
|
msgid "Colors"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1390
|
#: usr/lib/linuxmint/mintMenu/preferences.py:96
|
||||||
msgid ""
|
msgid "Custom colors and theme"
|
||||||
"Couldn't save favorites. Check if you have write access to ~/.linuxmint/"
|
|
||||||
"mintMenu"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1607
|
#: usr/lib/linuxmint/mintMenu/preferences.py:97
|
||||||
msgid "All"
|
msgid "Use custom colors"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1609
|
#: usr/lib/linuxmint/mintMenu/preferences.py:98
|
||||||
msgid "Show all applications"
|
msgid "Headings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.glade.h:2
|
#: usr/lib/linuxmint/mintMenu/preferences.py:99
|
||||||
|
msgid "Background"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:101
|
||||||
|
msgid "Desktop theme"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:111
|
||||||
|
msgid "Theme:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:113
|
||||||
|
msgid "Icon sizes"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:113
|
||||||
|
msgid "The size of the icons"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:114
|
||||||
|
#: usr/share/linuxmint/mintmenu/applications.ui.h:1
|
||||||
|
#: usr/share/linuxmint/mintmenu/preferences.ui.h:4
|
||||||
|
msgid "Favorites"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:115
|
||||||
|
#: usr/share/linuxmint/mintmenu/applications.ui.h:3
|
||||||
|
#: usr/share/linuxmint/mintmenu/preferences.ui.h:3
|
||||||
|
#: usr/share/linuxmint/mintmenu/recent.ui.h:1
|
||||||
|
msgid "Applications"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:116
|
||||||
|
#: usr/share/linuxmint/mintmenu/preferences.ui.h:5
|
||||||
|
msgid "System"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:117
|
||||||
|
#: usr/share/linuxmint/mintmenu/preferences.ui.h:6
|
||||||
|
msgid "Places"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:122
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:140
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:148
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:164
|
||||||
|
msgid "Layout"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:122
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:140
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:148
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:164
|
||||||
|
msgid "Section layout"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:123
|
||||||
|
msgid "Show search bar on top"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:124
|
||||||
|
msgid "Show applications comments"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:126
|
||||||
|
msgid "Categories"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:126
|
||||||
|
msgid "Applications categories"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:127
|
||||||
|
msgid "Show category icons"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:128
|
||||||
|
msgid "Switch categories on hover"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:129
|
||||||
|
msgid "Hover delay"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:129
|
||||||
|
msgid "milliseconds"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:131
|
||||||
|
msgid "Search"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:131
|
||||||
|
msgid "Search options"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:132
|
||||||
|
msgid "Search for packages to install"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:133
|
||||||
|
msgid "Remember the last category or search"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:134
|
||||||
|
msgid "Enable Internet search"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:135
|
||||||
|
msgid "Search command"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:141
|
||||||
|
msgid "Number of columns"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:142
|
||||||
|
msgid "Swap name and generic name"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:143
|
||||||
|
msgid "Show favorites when the menu is open"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:149
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:165
|
||||||
|
msgid "Custom height"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:150
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:166
|
||||||
|
msgid "Height"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:152
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:168
|
||||||
|
msgid "Items"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:152
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:168
|
||||||
|
msgid "Toggle default items"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:153
|
||||||
|
msgid "Software Manager"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:154
|
||||||
|
msgid "Package Manager"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:155
|
||||||
|
msgid "Control Center"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:156
|
||||||
|
msgid "Terminal"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:157
|
||||||
|
msgid "Lock Screen"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:158
|
||||||
|
msgid "Logout"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:159
|
||||||
|
msgid "Quit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:169
|
||||||
|
msgid "Computer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:170
|
||||||
|
msgid "Home Folder"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:171
|
||||||
|
msgid "Network"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:172
|
||||||
|
msgid "Desktop"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:173
|
||||||
|
msgid "Trash"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:174
|
||||||
|
msgid "GTK Bookmarks"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:176
|
||||||
|
msgid "Custom places"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:176
|
||||||
|
msgid "You can add your own places in the menu"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:191
|
||||||
|
msgid "Name"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/lib/linuxmint/mintMenu/preferences.py:192
|
||||||
|
msgid "Path"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/share/linuxmint/mintmenu/applications.ui.h:2
|
||||||
msgid "All applications"
|
msgid "All applications"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/applications.glade.h:4
|
#: usr/share/linuxmint/mintmenu/applications.ui.h:4
|
||||||
msgid "Show additional search options"
|
msgid "Show additional search options"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/recent.py:34
|
#: usr/share/linuxmint/mintmenu/preferences.ui.h:1
|
||||||
msgid "Recently used"
|
msgid "General"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/recent.py:179
|
#: usr/share/linuxmint/mintmenu/preferences.ui.h:2
|
||||||
msgid "The file or location could not be opened."
|
msgid "Appearance"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/recent.glade.h:2
|
#: usr/share/linuxmint/mintmenu/preferences.ui.h:7
|
||||||
|
msgid "Default"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: usr/share/linuxmint/mintmenu/recent.ui.h:2
|
||||||
msgid "Documents"
|
msgid "Documents"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/recentHelper.py:40
|
|
||||||
msgid ""
|
|
||||||
"Couldn't save recent apps. Check if you have write access to ~/.linuxmint/"
|
|
||||||
"mintMenu"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/places.py:144
|
|
||||||
msgid ""
|
|
||||||
"Browse all local and remote disks and folders accessible from this computer"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/places.py:151
|
|
||||||
msgid "Open your personal folder"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/places.py:163
|
|
||||||
msgid "Browse bookmarked and local network locations"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/places.py:182
|
|
||||||
msgid "Browse items placed on the desktop"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/places.py:192
|
|
||||||
msgid "Browse deleted files"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/places.py:241
|
|
||||||
msgid "Empty trash"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:158
|
|
||||||
msgid "Browse and install available software"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:165
|
|
||||||
msgid "Install, remove and upgrade software packages"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:172
|
|
||||||
msgid "Configure your system"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:182
|
|
||||||
msgid "Use the command line"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:189
|
|
||||||
msgid "Requires password to unlock"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:196
|
|
||||||
msgid "Log out or switch user"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:203
|
|
||||||
msgid "Shutdown, restart, suspend or hibernate"
|
|
||||||
msgstr ""
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#!/usr/bin/python2
|
#!/usr/bin/python2
|
||||||
|
|
||||||
|
import locale
|
||||||
import gc
|
import gc
|
||||||
import gettext
|
import gettext
|
||||||
import os
|
import os
|
||||||
@ -27,6 +28,8 @@ setproctitle.setproctitle('mintmenu')
|
|||||||
|
|
||||||
# i18n
|
# i18n
|
||||||
gettext.install("mintmenu", "/usr/share/linuxmint/locale")
|
gettext.install("mintmenu", "/usr/share/linuxmint/locale")
|
||||||
|
locale.bindtextdomain("mintmenu", "/usr/share/linuxmint/locale")
|
||||||
|
locale.textdomain("mintmenu")
|
||||||
|
|
||||||
NAME = _("Menu")
|
NAME = _("Menu")
|
||||||
PATH = os.path.abspath(os.path.dirname(sys.argv[0]))
|
PATH = os.path.abspath(os.path.dirname(sys.argv[0]))
|
||||||
@ -52,9 +55,9 @@ class MainWindow(object):
|
|||||||
self.icon = "/usr/lib/linuxmint/mintMenu/visualisation-logo.png"
|
self.icon = "/usr/lib/linuxmint/mintMenu/visualisation-logo.png"
|
||||||
|
|
||||||
self.toggle = toggleButton
|
self.toggle = toggleButton
|
||||||
# Load UI file and extract widgets
|
|
||||||
builder = Gtk.Builder()
|
builder = Gtk.Builder()
|
||||||
builder.add_from_file(os.path.join(self.path, "mintMenu.glade"))
|
builder.set_translation_domain("mintmenu")
|
||||||
|
builder.add_from_file("/usr/share/linuxmint/mintmenu/main.ui")
|
||||||
self.window = builder.get_object("mainWindow")
|
self.window = builder.get_object("mainWindow")
|
||||||
self.paneholder = builder.get_object("paneholder")
|
self.paneholder = builder.get_object("paneholder")
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
import cgi
|
import cgi
|
||||||
import filecmp
|
import filecmp
|
||||||
import gettext
|
import gettext
|
||||||
|
import locale
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import threading
|
import threading
|
||||||
@ -21,6 +22,9 @@ from plugins.easygsettings import EasyGSettings
|
|||||||
|
|
||||||
# i18n
|
# i18n
|
||||||
gettext.install("mintmenu", "/usr/share/linuxmint/locale")
|
gettext.install("mintmenu", "/usr/share/linuxmint/locale")
|
||||||
|
locale.bindtextdomain("mintmenu", "/usr/share/linuxmint/locale")
|
||||||
|
locale.textdomain("mintmenu")
|
||||||
|
|
||||||
home = os.path.expanduser("~")
|
home = os.path.expanduser("~")
|
||||||
|
|
||||||
class PackageDescriptor():
|
class PackageDescriptor():
|
||||||
@ -168,8 +172,8 @@ class pluginclass(object):
|
|||||||
self.lang = lang.split("_")[0]
|
self.lang = lang.split("_")[0]
|
||||||
|
|
||||||
self.builder = Gtk.Builder()
|
self.builder = Gtk.Builder()
|
||||||
# The Glade file for the plugin
|
self.builder.set_translation_domain("mintmenu")
|
||||||
self.builder.add_from_file (os.path.join(os.path.dirname(__file__), "applications.glade"))
|
self.builder.add_from_file("/usr/share/linuxmint/mintmenu/applications.ui")
|
||||||
|
|
||||||
# Read GLADE file
|
# Read GLADE file
|
||||||
self.main_box = self.builder.get_object("main_box")
|
self.main_box = self.builder.get_object("main_box")
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#!/usr/bin/python2
|
#!/usr/bin/python2
|
||||||
|
|
||||||
|
import locale
|
||||||
import gettext
|
import gettext
|
||||||
import os
|
import os
|
||||||
import string
|
import string
|
||||||
@ -17,6 +18,9 @@ from plugins.execute import Execute
|
|||||||
|
|
||||||
# i18n
|
# i18n
|
||||||
gettext.install("mintmenu", "/usr/share/linuxmint/locale")
|
gettext.install("mintmenu", "/usr/share/linuxmint/locale")
|
||||||
|
locale.bindtextdomain("mintmenu", "/usr/share/linuxmint/locale")
|
||||||
|
locale.textdomain("mintmenu")
|
||||||
|
|
||||||
home = os.path.expanduser("~")
|
home = os.path.expanduser("~")
|
||||||
|
|
||||||
class pluginclass(object):
|
class pluginclass(object):
|
||||||
@ -29,7 +33,8 @@ class pluginclass(object):
|
|||||||
|
|
||||||
# Read UI file
|
# Read UI file
|
||||||
builder = Gtk.Builder()
|
builder = Gtk.Builder()
|
||||||
builder.add_from_file(os.path.join(os.path.dirname(__file__), "places.glade"))
|
builder.set_translation_domain("mintmenu")
|
||||||
|
builder.add_from_file("/usr/share/linuxmint/mintmenu/places.ui")
|
||||||
|
|
||||||
self.placesBtnHolder = builder.get_object("places_button_holder")
|
self.placesBtnHolder = builder.get_object("places_button_holder")
|
||||||
self.editableBtnHolder = builder.get_object("editable_button_holder")
|
self.editableBtnHolder = builder.get_object("editable_button_holder")
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
import gettext
|
||||||
|
import locale
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
@ -11,6 +13,10 @@ import plugins.recentHelper as RecentHelper
|
|||||||
from plugins.easygsettings import EasyGSettings
|
from plugins.easygsettings import EasyGSettings
|
||||||
from plugins.execute import Execute
|
from plugins.execute import Execute
|
||||||
|
|
||||||
|
# i18n
|
||||||
|
gettext.install("mintmenu", "/usr/share/linuxmint/locale")
|
||||||
|
locale.bindtextdomain("mintmenu", "/usr/share/linuxmint/locale")
|
||||||
|
locale.textdomain("mintmenu")
|
||||||
|
|
||||||
class pluginclass:
|
class pluginclass:
|
||||||
""" This is the main class for the plugin.
|
""" This is the main class for the plugin.
|
||||||
@ -24,8 +30,8 @@ class pluginclass:
|
|||||||
self.de = de
|
self.de = de
|
||||||
|
|
||||||
self.builder = Gtk.Builder()
|
self.builder = Gtk.Builder()
|
||||||
#The Glade file for the plugin
|
self.builder.set_translation_domain("mintmenu")
|
||||||
self.builder.add_from_file(os.path.join(os.path.dirname(__file__), "recent.glade"))
|
self.builder.add_from_file("/usr/share/linuxmint/mintmenu/recent.ui")
|
||||||
|
|
||||||
#Set 'window' property for the plugin (Must be the root widget)
|
#Set 'window' property for the plugin (Must be the root widget)
|
||||||
self.window = self.builder.get_object("window1")
|
self.window = self.builder.get_object("window1")
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
import os
|
import os
|
||||||
|
import locale
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
@ -13,6 +14,8 @@ from plugins.execute import Execute
|
|||||||
|
|
||||||
# i18n
|
# i18n
|
||||||
gettext.install("mintmenu", "/usr/share/linuxmint/locale")
|
gettext.install("mintmenu", "/usr/share/linuxmint/locale")
|
||||||
|
locale.bindtextdomain("mintmenu", "/usr/share/linuxmint/locale")
|
||||||
|
locale.textdomain("mintmenu")
|
||||||
|
|
||||||
class pluginclass(object):
|
class pluginclass(object):
|
||||||
|
|
||||||
@ -23,7 +26,8 @@ class pluginclass(object):
|
|||||||
self.de = de
|
self.de = de
|
||||||
|
|
||||||
self.builder = Gtk.Builder()
|
self.builder = Gtk.Builder()
|
||||||
self.builder.add_from_file(os.path.join(os.path.dirname(__file__), "system_management.glade"))
|
self.builder.set_translation_domain("mintmenu")
|
||||||
|
self.builder.add_from_file("/usr/share/linuxmint/mintmenu/system.ui")
|
||||||
|
|
||||||
self.systemBtnHolder = self.builder.get_object("system_button_holder")
|
self.systemBtnHolder = self.builder.get_object("system_button_holder")
|
||||||
self.editableBtnHolder = self.builder.get_object("editable_button_holder")
|
self.editableBtnHolder = self.builder.get_object("editable_button_holder")
|
||||||
|
Loading…
Reference in New Issue
Block a user