summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/Howto_Write_Plugins73
-rw-r--r--i18n/de.po1101
-rw-r--r--i18n/messages.pot918
-rw-r--r--plugin.xsd89
-rw-r--r--plugins/etc_proposals.py41
-rw-r--r--plugins/etc_proposals.xml19
-rw-r--r--plugins/exception.py (renamed from portato/plugins/gpytage.py)12
-rw-r--r--plugins/exception.xml13
-rw-r--r--plugins/gpytage.py26
-rw-r--r--plugins/gpytage.xml13
-rw-r--r--plugins/new_version.py80
-rw-r--r--plugins/new_version.xml16
-rw-r--r--plugins/notify.py49
-rw-r--r--plugins/notify.xml14
-rw-r--r--plugins/reload_portage.py27
-rwxr-xr-xportato.py21
-rw-r--r--portato/backend/__init__.py11
-rw-r--r--portato/backend/catapult/__init__.py19
-rw-r--r--portato/backend/catapult/package.py156
-rw-r--r--portato/backend/catapult/system.py252
-rw-r--r--portato/backend/portage/system.py32
-rw-r--r--portato/config_parser.py24
-rw-r--r--portato/constants.py7
-rw-r--r--portato/gui/dialogs.py14
-rw-r--r--portato/gui/exception_handling.py5
-rw-r--r--portato/gui/queue.py2
-rw-r--r--portato/gui/templates/PluginWindow.glade180
-rw-r--r--portato/gui/utils.py10
-rw-r--r--portato/gui/windows/main.py22
-rw-r--r--portato/gui/windows/plugin.py162
-rw-r--r--portato/plugin.py825
-rw-r--r--portato/plugins/__init__.py7
-rw-r--r--portato/plugins/etc_proposals.py31
-rw-r--r--portato/plugins/exception.py2
-rw-r--r--portato/plugins/new_version.py58
-rw-r--r--portato/plugins/notify.py22
-rw-r--r--setup.py5
37 files changed, 2052 insertions, 2306 deletions
diff --git a/doc/Howto_Write_Plugins b/doc/Howto_Write_Plugins
index 6f58de5..bb63120 100644
--- a/doc/Howto_Write_Plugins
+++ b/doc/Howto_Write_Plugins
@@ -1,67 +1,26 @@
HowTo Write A Plugin For Portato
=================================
-(NOTE: The XML schema is likely to change in the future.)
+Writing plugins for Portato is quite easy: (Nearly) all you have to do is to write a plain Python module :).
-Writing a plugin is (quite) simple. You have to provide a XML file which tells portato how to communicate with the plugin and in most cases a Python module doing the actual work. This howto is not going to cover the writing of the plugin, but only the XML.
+A plugin has two more builtins than a normal Python module:
-General
--------
+ ``Plugin``
+ This is a class representing a plugin.
-So - how is a plugin is working in general? Portato defines a set of hooks (see the Hooks file for a complete list) to which your plugin can connect. For each hook you have three choices: To connect before, after or instead of the function being hooked. (Of course you can connect several times to one hook ...) The latter one should be used only if you really know what you are doing as it is likely that Portato won't work any longer after this. Also have in mind, that only one plugin can override. Thus: if several plugins want to override one hook, a randomly chosen one will get the allowance.
+ ``register``
+ A function which you have to call to get the your plugin added to Portato.
-For each of the "before" and "after" mode a queue exists, holding the plugins to execute. A plugin is allowed to state another plugin which should be executed after (in "before" mode) or before (in "after" mode) your plugin. The star * exists to note that this should be applied to ALL other plugins. (And "-*" does exactly the opposite.) Portato TRIES to satisfy your request...
+In this module you need to have at least one class, which inherits from ``Plugin``. This class does all the handling you want your plugin to do. If you want, you can implement more classes - from Portato's view they are handled as different plugins. Thus: It is not the module hierarchy, but the classes that count.
+Add the end you only call ``register`` once for each class and are done :).
-When you now have chosen the connect(s) to chose you write an appropriate function (or better: a Python callable) which will be given in the XML-definition to be called by Portato with the hook's arguments. (Hint: All arguments will be passed as keyword parameters. So you can easily pick the ones you need and add a "**kwargs" argument, which will take the rest. As a nice side effect you do not have to reflect any API changes which will come with additional parameters :)).
+Of course there are some things you should bare in mind:
+
+ 1. Do not use the ``__init__`` method, but ``init``.
+ 2. Do not use a member which shadows one from the original class:
+ ``description``, ``author``, ``status``, ``menus``, ``name``, ``calls``, ``deps``, ``enabled``, ``add_menu``, ``add_call``
+ 3. Of course you can *use* the members mentioned under point 2.
-Finally: Add an import tag stating the module to import to execute the function(s) given - and you are done.
+For the details, please see the source code at the moment or write your question to portato@necoro.net
-If you are finished with your plugin, you can check if it complies with the XML Schema by doing: "portato -x $PLUGIN_FILE".
-
-Sample XML
-----------
-
-<?xml version="1.0" encoding="UTF-8" ?>
-<plugin xmlns="http://portato.sourceforge.net/plugin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://portato.sourceforge.net/plugin http://portato.sourceforge.net/plugin.xsd">
- <author>Joe Smith</author>
- <name>Some small sample plugin</name>
-
- <import>plugins.sample.small</import>
-
- <hooks>
- <hook type = "a_hook" call = "the_calling_function">
- <connect type="after" />
- </hook
- </hooks>
-
- <options>
- <option>disabled</option>
- </options
-</plugin>
-
-Notes:
-
-- If you want to specify a dependency plugin the connect tag has to be like: <connect type = "after"> The other plugin we depend on </connect>.
-- The "connect"-tag can be omitted. It then defaults to "<connect type='before' />".
-- It is possible of course to have more than one "hook" tag.
-- The options tag is optional. For a complete list of options, see below.
-
-Additional Tags
----------------
-
-Menu:
- It is possible, that your plugin gets an entry in the "Plugin"-menu. Therefore you have to provide a "menu" tag and one or more "item" tags:
-
- <menu>
- <item call = "the_calling_menu_function">
- A small _Plugin
- </item>
- </menu>
-
- Note, that the underscore in front of a character will make it be underlined in the menu and thus accessible by a shortcut.
-
-Options
---------
-
-disabled:
- Disable the plugin by default, i.e. the user has to enable it, if he wants to use it.
+.. vim: ft=rst
diff --git a/i18n/de.po b/i18n/de.po
index 90b6139..d652250 100644
--- a/i18n/de.po
+++ b/i18n/de.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Portato\n"
"POT-Creation-Date: \n"
-"PO-Revision-Date: 2008-06-23 23:48+0100\n"
+"PO-Revision-Date: 2008-07-08 16:43+0100\n"
"Last-Translator: René 'Necoro' Neumann <necoro@necoro.net>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -12,39 +12,6 @@ msgstr ""
"X-Poedit-Country: GERMANY\n"
"X-Poedit-SourceCharset: utf-8\n"
-#: portato/gui/templates/popups.glade:12
-#: portato/gui/templates/MainWindow.glade:192
-#: portato/gui/templates/MainWindow.glade:284
-msgid "Emerge _Paused"
-msgstr "Emerge _angehalten"
-
-#: portato/gui/templates/popups.glade:19
-#: portato/gui/templates/MainWindow.glade:200
-#: portato/gui/templates/MainWindow.glade:266
-msgid "_Kill Emerge"
-msgstr "_Kill Emerge"
-
-#: portato/gui/templates/popups.glade:37
-#: portato/gui/templates/MainWindow.glade:70
-msgid "gtk-quit"
-msgstr ""
-
-#: portato/gui/templates/UpdateWindow.glade:7
-msgid "Updatable Packages"
-msgstr "Pakete mit Updates"
-
-#: portato/gui/templates/UpdateWindow.glade:49
-msgid "_Close"
-msgstr "_Schließen"
-
-#: portato/gui/templates/UpdateWindow.glade:61
-msgid "Select _All"
-msgstr "_Alles auswählen"
-
-#: portato/gui/templates/UpdateWindow.glade:76
-msgid "_Install Selected"
-msgstr "_Installiere ausgewählte"
-
#: portato/gui/templates/AboutWindow.glade:8
msgid "About Portato"
msgstr "Portato"
@@ -57,236 +24,6 @@ msgstr ""
"This software is licensed under the terms of the GPLv2.\n"
"Copyright (C) 2006-2008 René 'Necoro' Neumann <necoro@necoro.net>"
-#: portato/gui/templates/PreferenceWindow.glade:7
-msgid "Preferences"
-msgstr "Einstellungen"
-
-#: portato/gui/templates/PreferenceWindow.glade:42
-msgid "Debug"
-msgstr "Debug"
-
-#: portato/gui/templates/PreferenceWindow.glade:55
-msgid "Browser command: "
-msgstr "Browser-Befehl: "
-
-#: portato/gui/templates/PreferenceWindow.glade:81
-#: portato/gui/templates/PreferenceWindow.glade:539
-msgid "<b>General Options</b>"
-msgstr "<b>Allgemeine Optionen</b>"
-
-#: portato/gui/templates/PreferenceWindow.glade:131
-msgid "<b>Update World Options</b>"
-msgstr "<b>Optionen für \"update world\"</b>"
-
-#: portato/gui/templates/PreferenceWindow.glade:159
-msgid "Sync command: "
-msgstr "Sync-Befehl: "
-
-#: portato/gui/templates/PreferenceWindow.glade:180
-msgid "<b>Sync Options</b>"
-msgstr "<b>Sync Optionen</b>"
-
-#: portato/gui/templates/PreferenceWindow.glade:231
-msgid "File name to use, if package.use is a directory: "
-msgstr "Zu benutzender Dateiname, wenn package.use ein Verzeichnis ist:"
-
-#: portato/gui/templates/PreferenceWindow.glade:242
-msgid "Add only exact version to package.use"
-msgstr "Füge nur die exakte Paketversion zu package.keywords hinzu"
-
-#: portato/gui/templates/PreferenceWindow.glade:255
-msgid "Add only exact version to package.keywords"
-msgstr "Füge nur die exakte Paketversion zu package.keywords hinzu"
-
-#: portato/gui/templates/PreferenceWindow.glade:269
-msgid "File name to use, if package.keywords is a directory: "
-msgstr "Zu benutzender Dateiname, wenn package.keywords ein Verzeichnis ist:"
-
-#: portato/gui/templates/PreferenceWindow.glade:303
-msgid "File name to use, if package.mask/package.unmask is a directory: "
-msgstr "Zu benutzender Dateiname, wenn package.mask/package.unmask ein Verzeichnis ist:"
-
-#: portato/gui/templates/PreferenceWindow.glade:314
-msgid "Add only exact version to package.mask/package.unmask"
-msgstr "Füge nur die exakte Paketversion zu package.mask/package.unmask hinzu"
-
-#: portato/gui/templates/PreferenceWindow.glade:336
-msgid ""
-"<u>You may use the following placeholders:</u>\n"
-"\n"
-"<i>$(cat)</i>: category\n"
-"<i>$(pkg)</i>: package name\n"
-"<i>$(cat-1)/$(cat-2)</i>: first/second part of the category"
-msgstr ""
-"<u>Die folgenden Platzhalter stehen zur Verfügung:</u>\n"
-"\n"
-"<i>$(cat)</i>: Kategorie\n"
-"<i>$(pkg)</i>: Paketname\n"
-"<i>$(cat-1)/$(cat-2)</i>: erster/zweiter Teil der Kategorie"
-
-#: portato/gui/templates/PreferenceWindow.glade:362
-msgid "<u><i>Use-Flags</i></u>"
-msgstr "<u><i>Use-Flags</i></u>"
-
-#: portato/gui/templates/PreferenceWindow.glade:377
-msgid "<u><i>Testing Keywords</i></u>"
-msgstr "<u><i>Testing Keywords</i></u>"
-
-#: portato/gui/templates/PreferenceWindow.glade:392
-msgid "<u><i>Masking Keywords</i></u>"
-msgstr "<u><i>Masking Keywords</i></u>"
-
-#: portato/gui/templates/PreferenceWindow.glade:409
-msgid "<b>Use Flag and Keyword Options</b>"
-msgstr "<b>Use-Flag- und Keyword-Optionen</b>"
-
-#: portato/gui/templates/PreferenceWindow.glade:427
-#: portato/gui/templates/MainWindow.glade:895
-msgid "General"
-msgstr "Allgemein"
-
-#: portato/gui/templates/PreferenceWindow.glade:464
-msgid "Enable systray"
-msgstr "Aktiviere Systray"
-
-#: portato/gui/templates/PreferenceWindow.glade:477
-msgid "Show emerge progress in window title"
-msgstr "Zeige den Emerge Prozess im Fenstertitel"
-
-#: portato/gui/templates/PreferenceWindow.glade:491
-msgid "Show emerge progress in console title"
-msgstr "Zeige den Emerge Prozess im Konsolentitel"
-
-#: portato/gui/templates/PreferenceWindow.glade:505
-msgid "Hide on minimization (only if systray is enabled)"
-msgstr "Minimiere zu Systray"
-
-#: portato/gui/templates/PreferenceWindow.glade:520
-msgid ""
-"Update the package list with the current search results while you are typing.\n"
-"<b>Note</b>: Will slow down the typing process."
-msgstr ""
-"Aktualisiert die Paketliste mit den Suchergebnissen während du tippst.\n"
-"<b>Achtung</b>: Dies verlangsamt die Reaktion auf das Tippen."
-
-#: portato/gui/templates/PreferenceWindow.glade:522
-msgid "Search while typing"
-msgstr "Suche währen des Tippens"
-
-#: portato/gui/templates/PreferenceWindow.glade:576
-msgid "Console Font"
-msgstr "Schriftart in Konsole"
-
-#: portato/gui/templates/PreferenceWindow.glade:587
-msgid "Chose a console font"
-msgstr "Wähle eine Schriftart"
-
-#: portato/gui/templates/PreferenceWindow.glade:605
-msgid "Maximum length of the console title"
-msgstr "Maximale Länge des Konsolentitels"
-
-#: portato/gui/templates/PreferenceWindow.glade:635
-msgid "<b>Console Options</b>"
-msgstr "<b>Konsolen Optionen</b>"
-
-#: portato/gui/templates/PreferenceWindow.glade:675
-msgid "Package Tabs"
-msgstr "Pakettabs"
-
-#: portato/gui/templates/PreferenceWindow.glade:700
-msgid "System Tabs"
-msgstr "Systemtabs"
-
-#: portato/gui/templates/PreferenceWindow.glade:726
-msgid "<b>Tab Options</b>"
-msgstr "<b>Tab Optionen</b>"
-
-#: portato/gui/templates/PreferenceWindow.glade:759
-msgid "Show slots in the version list"
-msgstr "Zeige die Slots in der Versionsliste"
-
-#: portato/gui/templates/PreferenceWindow.glade:769
-msgid ""
-"Organize the categories in a tree. Thereby collapse categories with the same prefix:\n"
-"As an example: <i>app-admin</i>, <i>app-emacs</i>, and <i>app-vim</i> would be collapsed into <i><b>app</b></i> as root and <i>admin</i>, <i>emacs</i>, and <i>vim</i> as children."
-msgstr ""
-"Verwalte die Kategorien in einem Baum. Dabei werden Kategorien mit einem gleich Präfix zusammengefasst:\n"
-"Als Beispiel: <i>app-admin</i>, <i>app-emacs</i> und <i>app-vim</i> würden zusammengefasst in <i><b>app</b></i> als Wurzel and <i>admin</i>, <i>emacs</i> und <i>vim</i> als Kindelemente."
-
-#: portato/gui/templates/PreferenceWindow.glade:771
-msgid "Collapse categories with same prefix"
-msgstr "Fasse Kategorien mit gleichem Präfix zusammen"
-
-#: portato/gui/templates/PreferenceWindow.glade:787
-msgid "<b>Package Options</b>"
-msgstr "<b>Paket Optionen</b>"
-
-#: portato/gui/templates/PreferenceWindow.glade:811
-msgid "Visual"
-msgstr "Oberfläche"
-
-#: portato/gui/templates/PreferenceWindow.glade:829
-#: portato/gui/templates/PluginWindow.glade:47
-#: portato/gui/templates/SearchWindow.glade:48
-#: portato/gui/templates/MailInfoWindow.glade:148
-msgid "gtk-cancel"
-msgstr ""
-
-#: portato/gui/templates/PreferenceWindow.glade:838
-#: portato/gui/templates/PluginWindow.glade:59
-msgid "gtk-apply"
-msgstr ""
-
-#: portato/gui/templates/PluginWindow.glade:8
-msgid "Plugins"
-msgstr "Plugins"
-
-#: portato/gui/templates/SearchWindow.glade:8
-msgid "Search Results"
-msgstr "Ergebnisse"
-
-#: portato/gui/templates/SearchWindow.glade:60
-msgid "gtk-jump-to"
-msgstr ""
-
-#: portato/gui/templates/SearchWindow.glade:75
-msgid "gtk-ok"
-msgstr ""
-
-#: portato/gui/templates/MailInfoWindow.glade:6
-msgid "Send Bug Mail ..."
-msgstr "Sende Bug-Email ..."
-
-#: portato/gui/templates/MailInfoWindow.glade:50
-msgid ""
-"Comments /\n"
-"what did you do to hit the bug?"
-msgstr ""
-"Kommentare /\n"
-"Vorgehensweise um den Bug zu erzeugen?"
-
-#: portato/gui/templates/MailInfoWindow.glade:64
-msgid "Name:"
-msgstr "Name:"
-
-#: portato/gui/templates/MailInfoWindow.glade:79
-msgid "Email address:"
-msgstr "Email-Adresse:"
-
-#: portato/gui/templates/MailInfoWindow.glade:122
-msgid ""
-"<b><u>Additional Information</u></b>\n"
-"\n"
-"(all optional)"
-msgstr ""
-"<b><u>Zusätzliche Informationen</u></b>\n"
-"\n"
-"(alle optional)"
-
-#: portato/gui/templates/MailInfoWindow.glade:176
-msgid "_Send"
-msgstr "_Send"
-
#: portato/gui/templates/MainWindow.glade:20
msgid "_File"
msgstr "_Datei"
@@ -299,6 +36,11 @@ msgstr "_Einstellungen"
msgid "Re_load Portage"
msgstr "Aktua_lisiere Portage-Cache"
+#: portato/gui/templates/MainWindow.glade:70
+#: portato/gui/templates/popups.glade:37
+msgid "gtk-quit"
+msgstr ""
+
#: portato/gui/templates/MainWindow.glade:83
msgid "_Emerge"
msgstr "_Emerge"
@@ -332,6 +74,18 @@ msgstr "_Sync"
msgid "Save _Flags"
msgstr "Speichere _Flags"
+#: portato/gui/templates/MainWindow.glade:192
+#: portato/gui/templates/MainWindow.glade:284
+#: portato/gui/templates/popups.glade:12
+msgid "Emerge _Paused"
+msgstr "Emerge _angehalten"
+
+#: portato/gui/templates/MainWindow.glade:200
+#: portato/gui/templates/MainWindow.glade:266
+#: portato/gui/templates/popups.glade:19
+msgid "_Kill Emerge"
+msgstr "_Kill Emerge"
+
#: portato/gui/templates/MainWindow.glade:223
#: portato/gui/templates/MainWindow.glade:1170
#: portato/gui/windows/main.py:763
@@ -344,8 +98,8 @@ msgstr "Oneshot"
#: portato/gui/templates/MainWindow.glade:242
#: portato/gui/templates/MainWindow.glade:1195
+#: portato/gui/windows/main.py:1206
#: portato/gui/windows/main.py:1208
-#: portato/gui/windows/main.py:1210
msgid "Console"
msgstr "Konsole"
@@ -381,6 +135,8 @@ msgstr ""
#: portato/gui/templates/MainWindow.glade:623
#: portato/gui/templates/MainWindow.glade:736
#: portato/gui/templates/MainWindow.glade:751
+#: portato/gui/templates/PluginWindow.glade:98
+#: portato/gui/templates/PluginWindow.glade:123
msgid "label"
msgstr ""
@@ -444,6 +200,11 @@ msgstr "Testing"
msgid "<b>Use Flags:</b>"
msgstr "<b>Use Flags:</b>"
+#: portato/gui/templates/MainWindow.glade:895
+#: portato/gui/templates/PreferenceWindow.glade:427
+msgid "General"
+msgstr "Allgemein"
+
#: portato/gui/templates/MainWindow.glade:926
msgid "Use List"
msgstr "Use-Flag-Liste"
@@ -488,262 +249,338 @@ msgstr "_Löschen"
msgid "Log"
msgstr "Log"
-#: portato.py:40
-msgid "validates the given plugin xml instead of launching Portato"
-msgstr "Validiert die gegebene Plugin-XML. Startet nicht Portato."
-
-#: portato.py:43
-msgid "do not fork off as root"
-msgstr "erzeuge keinen Root-Prozess"
-
-#: portato.py:43
-msgid "-L is deprecated"
-msgstr "-L ist veraltet"
+#: portato/gui/templates/PluginWindow.glade:8
+msgid "Plugins"
+msgstr "Plugins"
-#: portato.py:53
-#, python-format
-msgid "Validation failed. XML syntax error: %s."
-msgstr "Validierung fehlgeschlagen. XML Syntax Fehler: %s."
+#: portato/gui/templates/PluginWindow.glade:52
+msgid "_Install dependencies"
+msgstr "_Installiere Abhängigkeiten"
-#: portato.py:56
-msgid "Validation failed. Does not comply with schema."
-msgstr "Validierung gegen das Schema fehlgeschlagen."
+#: portato/gui/templates/PluginWindow.glade:81
+msgid "Needed dependencies"
+msgstr "Abhängigkeiten"
-#: portato.py:59
-msgid "Validation succeeded."
-msgstr "Validierung erfolgreich."
+#: portato/gui/templates/PluginWindow.glade:109
+msgid "<b>Author:</b>"
+msgstr "<b>Autor:</b>"
-#: portato.py:65
-msgid "Starting Portato"
-msgstr "Starte Portato"
+#: portato/gui/templates/PluginWindow.glade:144
+#: portato/gui/windows/main.py:325
+#: portato/gui/windows/plugin.py:27
+#: portato/gui/windows/update.py:47
+msgid "Enabled"
+msgstr "Aktiviert"
-#: portato/gui/wrapper.py:59
-msgid "oneshot"
-msgstr "oneshot"
+#: portato/gui/templates/PluginWindow.glade:154
+#: portato/gui/windows/plugin.py:27
+msgid "Temporarily enabled"
+msgstr "Aktiviert (temporär)"
-#: portato/gui/wrapper.py:64
-#, python-format
-msgid "updating from version %s"
-msgstr "Update von Version %s"
+#: portato/gui/templates/PluginWindow.glade:166
+#: portato/gui/windows/plugin.py:27
+msgid "Temporarily disabled"
+msgstr "Deaktiviert (temporär)"
-#: portato/gui/wrapper.py:66
-msgid "updating"
-msgstr "Update"
+#: portato/gui/templates/PluginWindow.glade:179
+#: portato/gui/windows/plugin.py:27
+msgid "Disabled"
+msgstr "Deaktiviert"
-#: portato/gui/wrapper.py:71
-#, python-format
-msgid "downgrading from version %s"
-msgstr "Downgrade von Version %s"
+#: portato/gui/templates/PluginWindow.glade:223
+#: portato/gui/templates/SearchWindow.glade:48
+#: portato/gui/templates/MailInfoWindow.glade:148
+#: portato/gui/templates/PreferenceWindow.glade:829
+msgid "gtk-cancel"
+msgstr ""
-#: portato/gui/wrapper.py:73
-msgid "downgrading"
-msgstr "Downgrade"
+#: portato/gui/templates/PluginWindow.glade:235
+#: portato/gui/templates/PreferenceWindow.glade:838
+msgid "gtk-apply"
+msgstr ""
-#: portato/gui/wrapper.py:77
-msgid "IUSE changes:"
-msgstr "IUSE Änderungen:"
+#: portato/gui/templates/UpdateWindow.glade:7
+msgid "Updatable Packages"
+msgstr "Pakete mit Updates"
-#: portato/gui/wrapper.py:95
-msgid "(In Progress)"
-msgstr "(In Bearbeitung)"
+#: portato/gui/templates/UpdateWindow.glade:49
+msgid "_Close"
+msgstr "_Schließen"
-#: portato/gui/wrapper.py:120
-msgid "Install"
-msgstr "Installieren"
+#: portato/gui/templates/UpdateWindow.glade:61
+msgid "Select _All"
+msgstr "_Alles auswählen"
-#: portato/gui/wrapper.py:131
-msgid "Uninstall"
-msgstr "Deinstallieren"
+#: portato/gui/templates/UpdateWindow.glade:76
+msgid "_Install Selected"
+msgstr "_Installiere ausgewählte"
-#: portato/gui/wrapper.py:143
-msgid "Update"
-msgstr "Update"
+#: portato/gui/templates/SearchWindow.glade:8
+msgid "Search Results"
+msgstr "Ergebnisse"
-#: portato/gui/dialogs.py:17
-msgid ""
-"There are some packages in the emerge queue and/or an emerge process is running.\n"
-"Do you really want to quit?"
+#: portato/gui/templates/SearchWindow.glade:60
+msgid "gtk-jump-to"
msgstr ""
-"Es sind noch Pakete in der Emerge-Queue und/oder emerge läuft noch.\n"
-"Wirklich beenden?"
-#: portato/gui/dialogs.py:36
-#, python-format
-msgid ""
-"%(blocked)s is blocked by %(blocks)s.\n"
-"Please unmerge the blocking package."
+#: portato/gui/templates/SearchWindow.glade:75
+msgid "gtk-ok"
msgstr ""
-"%(blocks)s blockiert %(blocked)s.\n"
-"Bitte deinstalliere das blockierende Paket."
-#: portato/gui/dialogs.py:42
-msgid "You are not root."
-msgstr "Du bist nicht root."
+#: portato/gui/templates/MailInfoWindow.glade:6
+msgid "Send Bug Mail ..."
+msgstr "Sende Bug-Email ..."
-#: portato/gui/dialogs.py:48
-#, python-format
+#: portato/gui/templates/MailInfoWindow.glade:50
msgid ""
-"%s seems to be masked.\n"
-"Do you want to unmask it and its dependencies?"
+"Comments /\n"
+"what did you do to hit the bug?"
msgstr ""
-"%s scheint maskiert zu sein.\n"
-"Soll das Paket und seine Abhängigkeiten demaskiert werden?"
+"Kommentare /\n"
+"Vorgehensweise um den Bug zu erzeugen?"
-#: portato/gui/dialogs.py:54
-msgid "Package not found!"
-msgstr "Paket nicht gefunden!"
+#: portato/gui/templates/MailInfoWindow.glade:64
+msgid "Name:"
+msgstr "Name:"
-#: portato/gui/dialogs.py:60
-msgid "Do not show this dialog again."
-msgstr "Diesen Dialog nicht wieder anzeigen."
+#: portato/gui/templates/MailInfoWindow.glade:79
+msgid "Email address:"
+msgstr "Email-Adresse:"
-#: portato/gui/dialogs.py:62
-#, python-format
+#: portato/gui/templates/MailInfoWindow.glade:122
msgid ""
-"You have changed %s.\n"
-"Portato will write these changes into the appropriate files.\n"
-"Please backup them if you think it is necessairy."
+"<b><u>Additional Information</u></b>\n"
+"\n"
+"(all optional)"
msgstr ""
-"Du hast die %s geändert.\n"
-"Portato wird diese Änderungen speichern.\n"
-"Bitte sichere die entsprechenden Dateien, wenn du es als notwendig erachtest."
+"<b><u>Zusätzliche Informationen</u></b>\n"
+"\n"
+"(alle optional)"
-#: portato/gui/dialogs.py:71
-msgid "You cannot remove dependencies. :)"
-msgstr "Du kannst keine Abhängigkeiten löschen ;)."
+#: portato/gui/templates/MailInfoWindow.glade:176
+msgid "_Send"
+msgstr "_Send"
-#: portato/gui/dialogs.py:77
-msgid ""
-"This is the updates queue. You cannot remove single elements.\n"
-"Do you want to clear the whole queue instead?"
-msgstr ""
-"Das ist die Update-Queue. Aus dieser können keine einzelnen Pakete entfernt werden.\n"
-"Soll stattdessen die komplette Queue entfernt werden?"
+#: portato/gui/templates/PreferenceWindow.glade:7
+msgid "Preferences"
+msgstr "Einstellungen"
-#: portato/gui/dialogs.py:83
-msgid "Do you really want to clear the whole queue?"
-msgstr "Wirklich die gesamte Queue löschen?"
+#: portato/gui/templates/PreferenceWindow.glade:42
+msgid "Debug"
+msgstr "Debug"
-#: portato/gui/views.py:70
-msgid "Package is not installed"
-msgstr "Paket ist nicht installiert"
+#: portato/gui/templates/PreferenceWindow.glade:55
+msgid "Browser command: "
+msgstr "Browser-Befehl: "
-#: portato/gui/views.py:87
-#, python-format
-msgid "No %(old)s language file installed. Falling back to %(new)s."
-msgstr "Keine \"%(old)s\" Syntaxdatei gefunden. Benutze \"%(new)s\"-Syntax."
+#: portato/gui/templates/PreferenceWindow.glade:81
+#: portato/gui/templates/PreferenceWindow.glade:539
+msgid "<b>General Options</b>"
+msgstr "<b>Allgemeine Optionen</b>"
-#: portato/gui/views.py:96
-#, python-format
-msgid "No %(old)s language file installed. Disable highlighting."
-msgstr "Keine \"%(old)s\" Syntaxdatei gefunden. Deaktiviere Hervorhebung."
+#: portato/gui/templates/PreferenceWindow.glade:131
+msgid "<b>Update World Options</b>"
+msgstr "<b>Optionen für \"update world\"</b>"
-#: portato/gui/views.py:115
-#: portato/gui/windows/main.py:669
-#, python-format
-msgid "Error: %s"
-msgstr "Fehler: %s"
+#: portato/gui/templates/PreferenceWindow.glade:159
+msgid "Sync command: "
+msgstr "Sync-Befehl: "
-#: portato/gui/updater.py:96
-#, python-format
-msgid "No unmasked version of package '%s' found. Trying masked ones. This normally should not happen..."
-msgstr "Keine demaskierte Version vom Paket '%s' gefunden. Versuche die maskierten. Eigentlich sollte das nicht passieren..."
+#: portato/gui/templates/PreferenceWindow.glade:180
+msgid "<b>Sync Options</b>"
+msgstr "<b>Sync Optionen</b>"
-#: portato/gui/updater.py:100
-#, python-format
-msgid "Trying to remove package '%s' from queue which does not exist in system."
-msgstr "Das Paket '%s' sollte aus der Queue entfernt werden, aber es befindet sich nicht im System."
+#: portato/gui/templates/PreferenceWindow.glade:231
+msgid "File name to use, if package.use is a directory: "
+msgstr "Zu benutzender Dateiname, wenn package.use ein Verzeichnis ist:"
-#: portato/gui/exception_handling.py:31
-msgid "A programming error has been detected during the execution of this program."
-msgstr "Ein Fehler ist aufgetreten."
+#: portato/gui/templates/PreferenceWindow.glade:242
+msgid "Add only exact version to package.use"
+msgstr "Füge nur die exakte Paketversion zu package.keywords hinzu"
-#: portato/gui/exception_handling.py:32
-msgid "Bug Detected"
-msgstr "Fehler aufgetreten"
+#: portato/gui/templates/PreferenceWindow.glade:255
+msgid "Add only exact version to package.keywords"
+msgstr "Füge nur die exakte Paketversion zu package.keywords hinzu"
-#: portato/gui/exception_handling.py:33
-msgid "It probably isn't fatal, but should be reported to the developers nonetheless."
-msgstr "Dies ist möglicherweise nicht kritisch, sollte aber trotzdem an die Entwickler weitergeleitet werden."
+#: portato/gui/templates/PreferenceWindow.glade:269
+msgid "File name to use, if package.keywords is a directory: "
+msgstr "Zu benutzender Dateiname, wenn package.keywords ein Verzeichnis ist:"
-#: portato/gui/exception_handling.py:35
-msgid "Show Details"
-msgstr "Details"
+#: portato/gui/templates/PreferenceWindow.glade:303
+msgid "File name to use, if package.mask/package.unmask is a directory: "
+msgstr "Zu benutzender Dateiname, wenn package.mask/package.unmask ein Verzeichnis ist:"
-#: portato/gui/exception_handling.py:36
-msgid "Send..."
-msgstr "Sende..."
+#: portato/gui/templates/PreferenceWindow.glade:314
+msgid