Browse Source

update localization files (closes #11)

Helmut Pozimski 6 years ago
parent
commit
b87717d10f
7 changed files with 757 additions and 449 deletions
  1. 2 2
      doc/conf.py
  2. 1 1
      lib_stov/main.py
  3. BIN
      locale/de/LC_MESSAGES/stov.mo
  4. 488 254
      locale/de/LC_MESSAGES/stov.po
  5. BIN
      locale/en/LC_MESSAGES/stov.mo
  6. 265 191
      locale/en/LC_MESSAGES/stov.po
  7. 1 1
      setup.py

+ 2 - 2
doc/conf.py

@@ -41,7 +41,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'stov'
-copyright = (u"2013, Helmut Pozimski License GPLv2, GNU GPL version 2 "
+copyright = (u"2017, Helmut Pozimski License GPLv2, GNU GPL version 2 "
 		"<http://www.gnu.org/licenses/old-licenses/gpl-2.0> \n"
 		"This is free software: you are free to change and redistribute it. "
 		"There is NO WARRANTY, to the extent permitted by law.")
@@ -54,7 +54,7 @@ copyright = (u"2013, Helmut Pozimski License GPLv2, GNU GPL version 2 "
 # The short X.Y version.
 version = '1.0'
 # The full version, including alpha/beta/rc tags.
-release = '1.0wip'
+release = '1.0rc1'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.

+ 1 - 1
lib_stov/main.py

@@ -71,7 +71,7 @@ def main():
     elif arguments.license:
         program.print_license()
     elif arguments.version:
-        logger.info("1.0wip")
+        logger.info("1.0rc1")
     else:
         parser.print_help()
     helpers.remove_lock()

BIN
locale/de/LC_MESSAGES/stov.mo


+ 488 - 254
locale/de/LC_MESSAGES/stov.po

@@ -1,402 +1,448 @@
 # GNU gettext file for stov, German language
-# Helmut Pozimski <helmut@pozimski.eu>, 2012-2014.
+# Helmut Pozimski <helmut@pozimski.eu>, 2012-2017.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: 0.9\n"
-"POT-Creation-Date: 2012-12-27 22:18+CET\n"
-"PO-Revision-Date: 2014-12-26 11:48+CET\n"
+"Project-Id-Version: 1.0\n"
+"POT-Creation-Date: 2017-09-14 19:32+CEST\n"
+"PO-Revision-Date: 2017-09-14 19:49+0200\n"
 "Last-Translator: Helmut Pozimski <helmut@pozimski.eu>\n"
 "Language-Team: None\n"
+"Language: de\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Generated-By: pygettext.py 1.5\n"
+"X-Generator: Poedit 2.0.3\n"
 
-
-#: lib_stov/configuration.py:59
+#: lib_stov/configuration.py:66
 msgid "the name of your database file"
 msgstr "den Namen deiner Datenbankdatei"
 
-#: lib_stov/configuration.py:60
+#: lib_stov/configuration.py:67
 msgid "the directory where downloaded videos are saved"
 msgstr "das Verzeichnis, in dem heruntergeladene Videos gespeichert werden"
 
-#: lib_stov/configuration.py:62
+#: lib_stov/configuration.py:69
 msgid "the maximum number of videos to retrieve for each subscription"
-msgstr "die maximale Anzahl an Videos, die für jedes Abonnement heruntergeladen werden"
+msgstr ""
+"die maximale Anzahl an Videos, die für jedes Abonnement heruntergeladen "
+"werden"
 
-#: lib_stov/configuration.py:64
+#: lib_stov/configuration.py:71
 msgid "the host name of your mail server"
 msgstr "die Adresse deiner Mailservers"
 
-#: lib_stov/configuration.py:65
+#: lib_stov/configuration.py:72
 msgid "the address used for notifications"
 msgstr "die Empfängeradresse für Benachrichtigungs-Emails"
 
-#: lib_stov/configuration.py:66
+#: lib_stov/configuration.py:73
 msgid "the sender address of notification e-mails"
 msgstr "die Absenderadresse für Benachrichtigungs-Emails"
 
-#: lib_stov/configuration.py:67
+#: lib_stov/configuration.py:74
 msgid "the port to use on your mail server"
 msgstr "den SMTP-Port deines Mailservers"
 
-#: lib_stov/configuration.py:68
+#: lib_stov/configuration.py:75
 msgid "if your mail server requires authentication"
 msgstr "ob dein Mailserver eine Authentifizierung voraussetzt"
 
-#: lib_stov/configuration.py:69
+#: lib_stov/configuration.py:76
 msgid "the user name used to authenticate to your mail server"
 msgstr "den Benutzernamen für die Authentifizierung am Mailserver"
 
-#: lib_stov/configuration.py:71
+#: lib_stov/configuration.py:78
 msgid "the password used to authenticate to your mail server"
 msgstr "das für die Authentifizierung am Mailserver zu nutzende Passwort"
 
-#: lib_stov/configuration.py:73
+#: lib_stov/configuration.py:80
 msgid "the path to your youtube-dl installation"
 msgstr "den Pfad zu deiner youtube-dl-Installation"
 
-#: lib_stov/configuration.py:74
+#: lib_stov/configuration.py:81
 msgid "if you want to be notified via e-mail about new videos"
 msgstr "ob du über neue Videos per E-Mail benachrichtigt werden möchtest"
 
-#: lib_stov/configuration.py:76
+#: lib_stov/configuration.py:83
 msgid "which video codec you prefer (h264, webm or flv)"
 msgstr "welchen Video-Codec du bevorzugst (h264, webm oder flv)"
 
-#: lib_stov/configuration.py:78
+#: lib_stov/configuration.py:85
 msgid "which resolution you prefer (360p, 480p, 720p or 1080p)"
 msgstr "welche Auflösung du bevorzugst (360p, 480p, 720p oder 1080p)"
 
-#: lib_stov/configuration.py:80
-msgid "if you want to compare the title of a video with the subscription search string"
-msgstr "ob der Titel jedes Videos mit dem Suchstring des entsprechenden Abonnements verglichen werden soll"
+#: lib_stov/configuration.py:87
+msgid ""
+"if you want to compare the title of a video with the subscription search "
+"string"
+msgstr ""
+"ob der Titel jedes Videos mit dem Suchstring des entsprechenden Abonnements "
+"verglichen werden soll"
+
+#: lib_stov/configuration.py:100
+msgid "Writing configuration file."
+msgstr "Schreibe Konfigurationsdatei."
+
+#: lib_stov/configuration.py:116
+msgid "Creating stov configuration directory"
+msgstr "Erstelle stov-Konfigurationsdatei"
+
+#: lib_stov/configuration.py:130
+msgid "Opening old configuration file to convert it to json"
+msgstr ""
+"Öffne die alte Konfigurationsdatei, um sie ins JSON-Format zu konvertieren"
 
-#: lib_stov/configuration.py:84
-msgid "if you want to use the youtube API"
-msgstr "ob die Youtube API verwendet werden soll"
+#: lib_stov/configuration.py:149
+msgid "Opening configuration file"
+msgstr "Öffne die Konfigurationsdatei"
 
-#: lib_stov/configuration.py:216
+#: lib_stov/configuration.py:235
+msgid "Could not determine an itag value from the configuration"
+msgstr "Der itag-Wert konnte nicht aus der Konfiguration ermittelt werden"
+
+#: lib_stov/configuration.py:242
 msgid ""
 "This assistant will help you to perform the initial configuration of stov. \n"
 "The default value will be displayed in brackets.\n"
 "Please specify now :\n"
 msgstr ""
-"Dieser Assistent wird dich dabei unterstützen, die initiale Konfiguration von stov vorzunehmen. \n"
+"Dieser Assistent wird dich dabei unterstützen, die initiale Konfiguration "
+"von stov vorzunehmen. \n"
 "Der jeweilige Standardwert wird in eckigen Klammern angegeben.\n"
 "Bitte spezifiziere jetzt :\n"
 
-#: lib_stov/noapi.py:70
-msgid " search %s"
-msgstr " Suche %s"
-
-#: lib_stov/stov_exceptions.py:28
-msgid "Could not access the database, please check path and permissions and try again!"
-msgstr "Konnte nicht auf die Datenbank zugreifen, überprüfe bitte den Pfad und die Dateiberechtigungen und versuche es erneut!"
-
-#: lib_stov/stov_exceptions.py:42
-msgid "Write access to the database failed, please check file permissions and the file system and try again!"
-msgstr "Der Schreibzugriff auf die Datenbank ist fehlgeschlagen, bitte überprüfe die Datei und Ihre Berechtigungen und versuche es erneut!"
-
-#: lib_stov/stov_exceptions.py:57
-msgid "The subscription you requested could not be found in the database, requested action aborted."
-msgstr "Das angeforderte Abonnement konnte nicht in der Datenbank gefunden werden, der Vorgang wurde abgebrochen."
-
-#: lib_stov/stov_exceptions.py:71
-msgid "The connection to the youtube API failed or no data was returned."
-msgstr "Der Zugriff auf die Youtube-API schlug fehl oder es wurden keine Daten zurückgegeben."
-
-#: lib_stov/stov_exceptions.py:82
-msgid "The API Request timed out for subscription %s,please try again later."
-msgstr "Die API-Abfrage für das Abonnement %s hat eine Zeitüberschreitung verursacht, bitte versuche es später erneut."
-
-#: lib_stov/stov_exceptions.py:95
-msgid "The configuration could not be written, please check that the configuration direcroty exists and is writable."
-msgstr "Die Konfigurationsdatei konnte nicht geschrieben werden. Bitte überprüfe, dass das Konfigurationsverzeichnis existiert und schreibbar ist."
-
-#: lib_stov/stov_exceptions.py:108
-msgid "The directory could not be created, please check that the parent directory exists and is writable"
-msgstr "Das Verzeichnis konnte nicht erstellt werden. Bitte überprüfe, ob das übergeordnete Verzeichnis existiert und schreibbar ist."
-
-#: lib_stov/stov_exceptions.py:122
-msgid "The configuration could not be read, please check that the configuration file exists and is readable."
-msgstr "Die Konfigurationsdatei konnte nicht gelesen werden. Bitte überprüfe, ob sie existiert und lesbar ist."
-
-#: lib_stov/stov_exceptions.py:136
-msgid "Invalid config version read."
-msgstr "Es wurde eine unültige Konfigurationsversion gefunden."
-
-#: lib_stov/stov_exceptions.py:148
-msgid "The subscription %s is disabled, videos will not be downloaded."
-msgstr "Das Abonnement %s ist deaktiviert, Videos werden nicht heruntergeladen."
-
-#: lib_stov/stov_exceptions.py:161
-msgid "The download directory does not exist and can't be created. Please check your configuration and try again."
-msgstr "Das Download-Verzeichnis existiert nicht und kann nicht erstellt werden. Bitte überprüfe die Konfiguration und versuche es erneut."
-
-#: lib_stov/stov_exceptions.py:174
-msgid "The migration of the configuration to the json format failed."
-msgstr "Die Migration der Konfiguration ins json-Format ist fehlgeschlagen."
-
-#: lib_stov/stov_exceptions.py:185
-msgid "Execution of youtube-dl failed."
-msgstr "Es ist ein Fehler bei der Ausführung von youtube-dl aufgetreten."
-
-#: lib_stov/subscription.py:122
-msgid "   (pending)"
-msgstr "    (wartet)"
+#: lib_stov/database.py:60
+msgid "Executing STATEMENT: %s"
+msgstr "Führe SQL-Statement %s aus"
 
-#: lib_stov/subscription.py:124
-msgid "   (downloaded)"
-msgstr "    (heruntergeladen)"
+#: lib_stov/database.py:63
+msgid "Executing STATEMENT: %s with arguments %s"
+msgstr "Führe SQL-Statement %s mit Argumenten %s aus"
 
-#: lib_stov/subscription.py:126
-msgid "   (failed)"
-msgstr "    (fehlgeschlagen)"
-
-#: stov:68
-msgid "The translation files could not be found, localization won't be available"
+#: lib_stov/helpers.py:58
+msgid ""
+"The translation files could not be found, localization won't be available"
 msgstr ""
+"Die Lokalisierungsdateien konnten nicht gefunden werden, es steht keine "
+"Übersetzung zur Verfügung"
 
-#: stov:81
+#: lib_stov/helpers.py:67
 msgid "STRG+C has been pressed, quitting..."
 msgstr "STRG+C wurde gedrückt, beende..."
 
-#: stov:83
+#: lib_stov/helpers.py:69
 msgid "Received SIGTERM, quitting..."
 msgstr "SIGTERM wurde empfangen, beende..."
 
-#: stov:100
-msgid "option %s requires an integer value"
-msgstr "die Option %s erfordert einen ganzzahligen Wert"
-
-#: stov:104
-msgid "option %s requires an argument"
-msgstr "die Option %s erfordert ein Argument"
-
-#: stov:108
-msgid "invalid option %s"
-msgstr "ungültige Option %s"
-
-#: stov:137
-msgid "Usage: %prog [options]"
-msgstr "%prog [Optionen]"
-
-#: stov:141
+#: lib_stov/helpers.py:92
 msgid "show this help message and exit"
 msgstr "zeigt diese Nachricht an und beendet das Programm"
 
-#: stov:143
-msgid "Add a new subscription (requires either                   --search, --channel or --playlist)"
-msgstr "fügt ein neues Abonnement hinzu (erfordert entweder --search, --channel oder --playlist)"
+#: lib_stov/helpers.py:94
+msgid ""
+"Add a new subscription (requires either                         --search, --"
+"channel or --playlist)"
+msgstr ""
+"fügt ein neues Abonnement hinzu (erfordert entweder \t--search, --channel "
+"oder --playlist)"
 
-#: stov:146
+#: lib_stov/helpers.py:97
 msgid "Add a new Playlist subscription (requires add)"
 msgstr "fügt ein neues Playlist-Abonnement hinzu"
 
-#: stov:148
+#: lib_stov/helpers.py:100
 msgid "List the currently available subscriptions"
 msgstr "listet die momentan verfügbaren Abonnements"
 
-#: stov:150
+#: lib_stov/helpers.py:102
 msgid "remove a subscription"
 msgstr "entfernt ein Abonnement"
 
-#: stov:152
+#: lib_stov/helpers.py:104
 msgid "update the information about the available videos"
 msgstr "aktualisiert die Informationen über verfügbare Videos"
 
-#: stov:154
+#: lib_stov/helpers.py:108
 msgid "download all available videos which haven't already been downloaded"
 msgstr "lädt alle nicht bereits zuvor heruntergaldenen Videos herunter"
 
-#: stov:157
-msgid "optionally add a search string to a new channel subscription or create a new search subscription (requires --add)"
-msgstr "erstellt ein neues Abonnement als Suche oder fügt einen Such-String zu einem neuen Kanal-Abonnement hinzu (setzt --add voraus)"
+#: lib_stov/helpers.py:112
+msgid ""
+"optionally add a search string to a new channel subscription or create a new "
+"search subscription (requires --add)"
+msgstr ""
+"erstellt ein neues Abonnement als Suche oder fügt einen Such-String zu einem "
+"neuen Kanal-Abonnement hinzu (setzt --add voraus)"
 
-#: stov:161
+#: lib_stov/helpers.py:116
 msgid "Print all videos from a subscription"
 msgstr "gibt alle Videos eines Abonnements aus"
 
-#: stov:163
-msgid "Mark all videos from one channel as read                   (requires subscription-id as argument)"
-msgstr "markiert alles Videos eines Abonnements als heruntergeladen (benötigt die ID des Abonnements als Argument)"
+#: lib_stov/helpers.py:118
+msgid ""
+"Mark all videos from one channel as read                         (requires "
+"subscription-id as argument)"
+msgstr ""
+"markiert alles Videos eines Abonnements als heruntergeladen (benötigt die ID "
+"des Abonnements als Argument)"
 
-#: stov:166
+#: lib_stov/helpers.py:121
 msgid "specify a channel for a new subscription (requires --add)"
 msgstr "gibt einen Kanal für ein neues Abonnement an (setzt --add voraus)"
 
-#: stov:169
+#: lib_stov/helpers.py:124
 msgid "show the license of the program"
 msgstr "zeigt die Lizenz dieses Programms an"
 
-#: stov:171
+#: lib_stov/helpers.py:126
 msgid "show the current running version number"
 msgstr "zeigt die aktuell laufende Version an"
 
-#: stov:173
+#: lib_stov/helpers.py:128
 msgid "Suppress all output"
 msgstr "unterdrückt jegliche Ausgabe"
 
-#: stov:175
-msgid "Be verbose and print also diagnostical messages"
+#: lib_stov/helpers.py:130
+msgid "Be verbose and print also diagnostic messages"
 msgstr "gibt zusätzliche Diagnoseinformationen aus"
 
-#: stov:177
-msgid "Clean the database of entries no longer listed in the current API response"
-msgstr "löscht alle Videos aus der Datenbank, die in einer aktuellen API-Abfrage nicht mehr vorkommen"
+#: lib_stov/helpers.py:134
+msgid ""
+"Clean the database of entries no longer listed in the current API response"
+msgstr ""
+"löscht alle Videos aus der Datenbank, die in einer aktuellen API-Abfrage "
+"nicht mehr vorkommen"
 
-#: stov:181
+#: lib_stov/helpers.py:137
 msgid "enables the subscription with the provided ID"
 msgstr "aktiviert das Abonnement mit der angegebenen ID"
 
-#: stov:183
+#: lib_stov/helpers.py:140
 msgid "disables the subscription with the provided ID"
 msgstr "deaktiviert das Abonnement mit der angegebenen ID"
 
-#: stov:207
-msgid "--quiet and --verbose can't be defined at the same time, exiting."
-msgstr "--quiet und --verbose können nicht gleichzeitig verwendet werden, Programm wird beendet."
+#: lib_stov/helpers.py:143
+msgid "specify the site to work with (for --add)"
+msgstr "legt die Seite fest mit der gearbeitet wird (für --add)"
+
+#: lib_stov/helpers.py:145
+msgid "list the supported sites"
+msgstr "listet die unerstützten Video-Seiten"
 
-#: stov:230
-msgid "The lock file could not be opened, please check that it exists and is readable, quitting now"
-msgstr "Die Lock-Datei konnte nicht geöffnet werden. Bitte überprüfe, dass sie existiert und lesbar ist, Programm wird beendet."
+#: lib_stov/helpers.py:158
+msgid ""
+"The lock file could not be opened, please check that it exists and is "
+"readable, quitting now"
+msgstr ""
+"Die Lock-Datei konnte nicht geöffnet werden. Bitte überprüfe, dass sie "
+"existiert und lesbar ist, Programm wird beendet."
 
-#: stov:235
+#: lib_stov/helpers.py:164
 msgid ""
-"The lock file already exists, probably another instance of this program is already running\n"
+"The lock file already exists, probably another instance of this program is "
+"already running\n"
 "if you are sure this is not the case, delete it manually and try again!"
 msgstr ""
-"Die Lock-Datei existiert bereits, wahrscheinlich läuft ein anderer Prozess bereits.\n"
-"Wenn du dir sicher bist, dass das nicht der Fall ist, lösche sie manuell und versuche es erneut!"
+"Die Lock-Datei existiert bereits, wahrscheinlich läuft ein anderer Prozess "
+"bereits.\n"
+"Wenn du dir sicher bist, dass das nicht der Fall ist, lösche sie manuell und "
+"versuche es erneut!"
 
-#: stov:245
+#: lib_stov/helpers.py:174
 msgid "The old lock file could not be deleted!"
 msgstr "Eine alte Lock-Datei konnte nicht gelöscht werden!"
 
-#: stov:251
-msgid "The lock file could not be created, please check that /tmp is writable and properly configured, quitting now."
-msgstr "Die Lock-Datei konnte nicht erstellt werden. Überprüfe, dass /tmp schreibbar und korrekt kondiguriert ist, Programm wird beendet."
+#: lib_stov/helpers.py:180
+msgid ""
+"The lock file could not be created, please check that /tmp is writable and "
+"properly configured, quitting now."
+msgstr ""
+"Die Lock-Datei konnte nicht erstellt werden. Überprüfe, dass /tmp schreibbar "
+"und korrekt kondiguriert ist, Programm wird beendet."
 
-#: stov:260
-msgid "This seems to be the first time you run the programm, do you want to run the interactive assistant? (yes/no)"
-msgstr "Dies scheint die erste Ausführung des Programms zu sein, möchtest du den Konfigurationsassistenten aufrufen? (yes/no)"
+#: lib_stov/helpers.py:190
+msgid "Removing lock file"
+msgstr "Entferne die Lock-Datei"
 
-#: stov:275
+#: lib_stov/helpers.py:195
+msgid ""
+"Could not delete the lock file. Please check what went wrong and clean up "
+"manually!"
+msgstr ""
+"Die Lock-Datei konnte nicht gelöscht werden. Bitte überprüfe, was "
+"schiefgelaufen ist und entferne sie manuell!"
+
+#: lib_stov/helpers.py:209
+msgid ""
+"This seems to be the first time you run the programm, do you want to run the "
+"interactive assistant? (yes/no)"
+msgstr ""
+"Dies scheint die erste Ausführung des Programms zu sein, möchtest du den "
+"Konfigurationsassistenten aufrufen? (yes/no)"
+
+#: lib_stov/helpers.py:221
 msgid "Writing initial configuration according to your input, have fun!"
-msgstr "Schreibe die initiale Konfiguration anhand der Standardwerte, viel Spaß damit!"
+msgstr ""
+"Schreibe die initiale Konfiguration anhand der Standardwerte, viel Spaß "
+"damit!"
 
-#: stov:278
+#: lib_stov/helpers.py:224
 msgid "Writing initial configuration according to default values."
 msgstr "Schreibe die initiale Konfiguration anhand der Standardwerte."
 
-#: stov:280
+#: lib_stov/helpers.py:226
 msgid "Creating hidden directory in home for configuration and database."
-msgstr "Erstelle das versteckte Verzeichnis im Home-Verzeichnis für die Konfiguration und die Datenbank."
-
-#: stov:291
-msgid "Comparing current and running configuration version."
-msgstr "Vergleiche die aktuelle und die laufende Version der Konfiguration."
+msgstr ""
+"Erstelle das versteckte Verzeichnis im Home-Verzeichnis für die "
+"Konfiguration und die Datenbank."
 
-#: stov:291
+#: lib_stov/helpers.py:238
 msgid "Migrating configuration from plain text to json."
 msgstr "Die Konfiguration wird nun ins json-Format konvertiert."
 
-#: stov:301
+#: lib_stov/helpers.py:242
+msgid "Comparing current and running configuration version."
+msgstr "Vergleiche die aktuelle und die laufende Version der Konfiguration."
+
+#: lib_stov/helpers.py:253
 msgid "Your configuration needs to be updated, performing update now."
-msgstr "Die Konfiguration muss aktualisiert werden, die Aktualisierung wird jetzt vorgenommen."
+msgstr ""
+"Die Konfiguration muss aktualisiert werden, die Aktualisierung wird jetzt "
+"vorgenommen."
+
+#: lib_stov/helpers.py:275
+msgid "Connecting to stov database"
+msgstr "Stelle die Verbindung zur stov-Datenbank her"
 
-#: stov:334
+#: lib_stov/helpers.py:297
 msgid "Created initial database tables."
 msgstr "Die Datenbank-Struktur wurde erstellt."
 
-#: stov:337
+#: lib_stov/helpers.py:301
 msgid "Comparing current and running database version."
 msgstr "Vergleiche die aktuelle mit der laufenden Version der Datenbank."
 
-#: stov:339
+#: lib_stov/helpers.py:304
 msgid "Your database needs to be updated, performing update now."
-msgstr "Die Datenbank muss aktualisiert werden, das Update wird nun durchgeführt."
+msgstr ""
+"Die Datenbank muss aktualisiert werden, das Update wird nun durchgeführt."
 
-#: stov:369
-msgid "Found youtube-dl, writing it's path to the configuration file."
-msgstr "youtube-dl gefunden, der Pfad wird in die Konfigurationsdatei geschrieben."
+#: lib_stov/helpers.py:329
+msgid "Found youtube-dl at %s, writing it's path to the configuration file."
+msgstr ""
+"youtube-dl gefunden in %s, der Pfad wird in die Konfigurationsdatei "
+"geschrieben."
 
-#: stov:378
-msgid "Could not find youtube-dl, it either does not exist, is not readable or not executable. Please note that youtube-dl is not needed for the program to run but is needed to use the download option which won't work otherwise. If youtube-dl isn't found automatically, you may also enter the path to it in the configuration file."
-msgstr "youtube-dl konnte nicht gefunden werden. Die Datei existiert entweder nicht oder ist nicht lesbar oder ausführbar. Bitte nehme zur Kenntnis, dass youtube-dl nicht zur Ausführung des Programms benötigt wird, aber für die Download-Funktion erforderlich ist, die sonst nicht funktioniert. Wenn youtube-dl nicht automatisch gefunden wird, kannst du auch den Pfad direkt in die Konfigurationsdatei eintragen."
+#: lib_stov/helpers.py:339
+msgid ""
+"Could not find youtube-dl, it either does not exist, is not readable or not "
+"executable. Please note that youtube-dl is not needed for the program to run "
+"but is needed to use the download option which won't work otherwise. If "
+"youtube-dl isn't found automatically, you may also enter the path to it in "
+"the configuration file."
+msgstr ""
+"youtube-dl konnte nicht gefunden werden. Die Datei existiert entweder nicht "
+"oder ist nicht lesbar oder ausführbar. Bitte nehme zur Kenntnis, dass "
+"youtube-dl nicht zur Ausführung des Programms benötigt wird, aber für die "
+"Download-Funktion erforderlich ist, die sonst nicht funktioniert. Wenn "
+"youtube-dl nicht automatisch gefunden wird, kannst du auch den Pfad direkt "
+"in die Konfigurationsdatei eintragen."
+
+#: lib_stov/program.py:54
+msgid ""
+"Creating new subscription with the following parameters:\n"
+"Channel: %s\n"
+"Search: %s\n"
+"Playlist: %s"
+msgstr ""
+"Erstelle neues Abonnement mit folgenden Parametern:\n"
+"Channel: %s\n"
+"Search: %s\n"
+"Playlist: %s"
 
-#: stov:404
+#: lib_stov/program.py:67
 msgid "Search_"
 msgstr "Suche_"
 
-#: stov:409
+#: lib_stov/program.py:72
 msgid "Playlists do not support searching, the search option will be ignored!"
-msgstr "In Playlists kann nicht gesucht werden, der Suchparameter wird ignoriert!"
+msgstr ""
+"In Playlists kann nicht gesucht werden, der Suchparameter wird ignoriert!"
 
-#: stov:415
-msgid "None or invalid subscription type given, please check the type option and try again."
-msgstr "Keine gültigen Optionen für das Abonnement angegeben, das Abonnement konnte nicht hinzugefügt werden!"
+#: lib_stov/program.py:78
+msgid ""
+"None or invalid subscription type given, please check the type option and "
+"try again."
+msgstr ""
+"Keine gültigen Optionen für das Abonnement angegeben, das Abonnement konnte "
+"nicht hinzugefügt werden!"
 
-#: stov:425
+#: lib_stov/program.py:97
 msgid "Subscription sucessfully inserted into database."
 msgstr "Das Abonnement wurde erfolgreich in die Datenbank eingefügt."
 
-#: stov:441 stov:507
+#: lib_stov/program.py:113 lib_stov/program.py:194
 msgid "Video %s successfully inserted into database."
 msgstr "Das Video %s wurde erfolgreich in die Datenbank eingefügt."
 
-#: stov:443
+#: lib_stov/program.py:115
 msgid "New subscription "
 msgstr "Neues Abonnement "
 
-#: stov:444
+#: lib_stov/program.py:116
 msgid " successfully added"
 msgstr " erfolgreich hinzugefügt"
 
-#: stov:450
-msgid "ID Title"
-msgstr "ID Titel"
+#: lib_stov/program.py:131
+msgid "ID Title Site"
+msgstr "ID Titel Seite"
 
-#: stov:453
+#: lib_stov/program.py:134
 msgid "enabled"
 msgstr "aktiviert"
 
-#: stov:455
+#: lib_stov/program.py:136
 msgid "disabled"
 msgstr "deaktiviert"
 
-#: stov:460
+#: lib_stov/program.py:140
 msgid "No subscriptions added yet, add one!"
 msgstr "Keine Abonnements vorhanden, füge doch eines hinzu!"
 
-#: stov:465
-msgid "Invalid option, please use the ID of the subscription you want to delete as parameter for the remove option."
-msgstr "ngültige Option. Bitte benutze die ID des Abonnements, das du löschen möchtest, als Paramater für die remove-Option."
-
-#: stov:478
+#: lib_stov/program.py:161
 msgid "Subscription deleted successfully!"
 msgstr "Das Abonnement wurde erfolgreich gelöscht!"
 
-#: stov:513
-msgid "Trying to determine the itag value for youtube-dl from your quality and codec settings."
-msgstr "Versuche, den itag-Wert aus den Einstellungen für Qualität und Codec zu ermitteln."
+#: lib_stov/program.py:175
+msgid "Updating subscription %s"
+msgstr "Aktualisiere Abonnement %s"
+
+#: lib_stov/program.py:212
+msgid ""
+"Trying to determine the itag value for youtube-dl from your quality and "
+"codec settings."
+msgstr ""
+"Versuche, den itag-Wert aus den Einstellungen für Qualität und Codec zu "
+"ermitteln."
 
-#: stov:516
+#: lib_stov/program.py:215
 msgid "Found value: %s."
 msgstr "Folgender Wert wurde ermittelt: %s"
 
-#: stov:518
-msgid "Codec and resolution could not be determined, using maximum possible value."
-msgstr "Codec und Auflösung konnten nicht ermittelt werden, der maximal mögliche Wert wird verwendet."
+#: lib_stov/program.py:217
+msgid ""
+"Codec and resolution could not be determined, using maximum possible value."
+msgstr ""
+"Codec und Auflösung konnten nicht ermittelt werden, der maximal mögliche "
+"Wert wird verwendet."
 
-#: stov:556
+#: lib_stov/program.py:261
 msgid "Downloaded %i new video"
 msgstr "%i neues Video heruntergeladen"
 
-#: stov:557
+#: lib_stov/program.py:262
 msgid ""
 "The following episode has been downloaded by stov: \n"
 "\n"
@@ -404,11 +450,11 @@ msgstr ""
 "Das folgende Video wurde von stov heruntergeladen: \n"
 "\n"
 
-#: stov:560
+#: lib_stov/program.py:265
 msgid "Downloaded %i new videos"
 msgstr "%i neue Videos heruntergeladen"
 
-#: stov:561
+#: lib_stov/program.py:266
 msgid ""
 "The following episodes have been downloaded by stov: \n"
 "\n"
@@ -416,76 +462,264 @@ msgstr ""
 "Die folgenden Videos wurden von stov heruntergeladen: \n"
 "\n"
 
-#: stov:579
+#: lib_stov/program.py:292
 msgid "Could not connect to the smtp server, please check your settings!"
-msgstr "Konnte keine Verbindung zum smtp-Server aufbauen, bitte überprüfe die Einstellungen!"
+msgstr ""
+"Konnte keine Verbindung zum smtp-Server aufbauen, bitte überprüfe die "
+"Einstellungen!"
 
-#: stov:586
+#: lib_stov/program.py:298
 msgid "TLS not available, proceeding unencrypted."
 msgstr "TLS ist nicht verfügbar, fahre ohne Verschlüsselung fort"
 
-#: stov:592
+#: lib_stov/program.py:304
 msgid "Authentication failed, please check user name and password!"
-msgstr "Die Authentifizierung ist fehlgeschlagen, bitte überprüfe Benutzername und Passwort!"
+msgstr ""
+"Die Authentifizierung ist fehlgeschlagen, bitte überprüfe Benutzername und "
+"Passwort!"
 
-#: stov:595
-msgid "Could not authenticate, server probably does not support authentication!"
-msgstr "Die Authentifizierung ist fehlgeschlagen, wahrscheinlich unterstützt der Server keine Authentifizierung!"
+#: lib_stov/program.py:307
+msgid ""
+"Could not authenticate, server probably does not support authentication!"
+msgstr ""
+"Die Authentifizierung ist fehlgeschlagen, wahrscheinlich unterstützt der "
+"Server keine Authentifizierung!"
 
-#: stov:602
+#: lib_stov/program.py:314
 msgid "The server refused the recipient address, please check your settings."
-msgstr "Der Server hat die Empfängeradresse zurückgewiesen, bitte überprüfe die Einstellungen."
+msgstr ""
+"Der Server hat die Empfängeradresse zurückgewiesen, bitte überprüfe die "
+"Einstellungen."
 
-#: stov:605
+#: lib_stov/program.py:317
 msgid "The server refused the sender address, please check your settings."
-msgstr "Der Server hat die Absenderadresse zurückgewiesen, bitte überprüfe die Einstellungen."
-
-#: stov:610
-msgid "There are no videos to be downloaded."
-msgstr "Keine neuen Videos zum Download verügbar."
-
-#: stov:613
-msgid ""
-"The following videos have been downloaded:\n"
-msgstr "Die folgenden Videos wurden heruntergeladen:\n"
-
-#: stov:618
-msgid "Could not determine how you want to be informed about new videos, please check the notify parameter in your configuration."
-msgstr "Es konnte nicht ermittelt werden, wie du über neue Videos informiert werden möchtest, bitte überprüfe den notify-Parameter der Konfiguration."
+msgstr ""
+"Der Server hat die Absenderadresse zurückgewiesen, bitte überprüfe die "
+"Einstellungen."
 
-#: stov:641
+#: lib_stov/program.py:354
 msgid "Invalid subscription, please check the list and try again."
-msgstr "Ungültiges Abonnement, bitte überprüfe die Liste und versuche es erneut."
+msgstr ""
+"Ungültiges Abonnement, bitte überprüfe die Liste und versuche es erneut."
 
-#: stov:656
-msgid "The subscription could not be updated, please check if the ID given is correct."
-msgstr "Das Abonnement konnte nicht aktualisiert werden, bitte überprüfe, ob die angegebene ID korrekt ist."
+#: lib_stov/program.py:379
+msgid ""
+"The subscription could not be updated, please check if the ID given is "
+"correct."
+msgstr ""
+"Das Abonnement konnte nicht aktualisiert werden, bitte überprüfe, ob die "
+"angegebene ID korrekt ist."
 
-#: stov:673
+#: lib_stov/program.py:398
 msgid "Deleting video %s from database"
 msgstr "Lösche das video %s aus der Datenbank"
 
-#: stov:689
+#: lib_stov/program.py:427
 msgid "The subscription ID %s is already enabled."
 msgstr "Das Abonnement mit ID %s ist bereits aktiviert."
 
-#: stov:698
+#: lib_stov/program.py:436
 msgid "Enabled subscription ID %s."
 msgstr "Abonnement mit ID %s aktiviert"
 
-#: stov:701 stov:719
-msgid "Could not find the subscription with ID %s, please check and try again."
-msgstr "Das Abonnement mit ID %s konnte nicht gefunden werden, bitte überprüfe die ID und versuche es erneut."
-
-#: stov:707
+#: lib_stov/program.py:439
 msgid "Subscription ID %s is already disabled."
 msgstr "Das Abonnement mit ID %s ist bereits deaktiviert."
 
-#: stov:716
+#: lib_stov/program.py:448
 msgid "Disabled subscription ID %s."
 msgstr "Abonnement mit ID %s deaktiviert."
 
-#: stov:748
-msgid "Could not delete the lock file. Please check what went wrong and clean up manually!"
-msgstr "Die Lock-Datei konnte nicht gelöscht werden. Bitte überprüfe, was schiefgelaufen ist und entferne sie manuell!"
+#: lib_stov/program.py:451
+msgid "Could not find the subscription with ID %s, please check and try again."
+msgstr ""
+"Das Abonnement mit ID %s konnte nicht gefunden werden, bitte überprüfe die "
+"ID und versuche es erneut."
+
+#: lib_stov/program.py:489
+msgid "There are no videos to be downloaded."
+msgstr "Keine neuen Videos zum Download verügbar."
+
+#: lib_stov/program.py:492
+msgid "The following videos have been downloaded:\n"
+msgstr "Die folgenden Videos wurden heruntergeladen:\n"
+
+#: lib_stov/program.py:497
+msgid ""
+"Could not determine how you want to be informed about new videos, please "
+"check the notify parameter in your configuration."
+msgstr ""
+"Es konnte nicht ermittelt werden, wie du über neue Videos informiert werden "
+"möchtest, bitte überprüfe den notify-Parameter der Konfiguration."
+
+#: lib_stov/program.py:528
+msgid "Sites currently supported by stov:"
+msgstr "Video-Portale, die aktuell von stov unterstützt werden:"
+
+#: lib_stov/stov_exceptions.py:29
+msgid ""
+"Could not access the database, please check path and permissions and try "
+"again!"
+msgstr ""
+"Konnte nicht auf die Datenbank zugreifen, überprüfe bitte den Pfad und die "
+"Dateiberechtigungen und versuche es erneut!"
+
+#: lib_stov/stov_exceptions.py:44
+msgid ""
+"Write access to the database failed, please check file permissions and the "
+"file system and try again!"
+msgstr ""
+"Der Schreibzugriff auf die Datenbank ist fehlgeschlagen, bitte überprüfe die "
+"Datei und Ihre Berechtigungen und versuche es erneut!"
+
+#: lib_stov/stov_exceptions.py:60
+msgid ""
+"The subscription you requested could not be found in the database, requested "
+"action aborted."
+msgstr ""
+"Das angeforderte Abonnement konnte nicht in der Datenbank gefunden werden, "
+"der Vorgang wurde abgebrochen."
+
+#: lib_stov/stov_exceptions.py:75
+msgid "The connection to the youtube API failed or no data was returned."
+msgstr ""
+"Der Zugriff auf die Youtube-API schlug fehl oder es wurden keine Daten "
+"zurückgegeben."
+
+#: lib_stov/stov_exceptions.py:87
+msgid "The API Request timed out for subscription %s,please try again later."
+msgstr ""
+"Die API-Abfrage für das Abonnement %s hat eine Zeitüberschreitung "
+"verursacht, bitte versuche es später erneut."
+
+#: lib_stov/stov_exceptions.py:101
+msgid ""
+"The configuration could not be written, please check that the configuration "
+"direcroty exists and is writable."
+msgstr ""
+"Die Konfigurationsdatei konnte nicht geschrieben werden. Bitte überprüfe, "
+"dass das Konfigurationsverzeichnis existiert und schreibbar ist."
+
+#: lib_stov/stov_exceptions.py:115
+msgid ""
+"The directory could not be created, please check that the parent directory "
+"exists and is writable"
+msgstr ""
+"Das Verzeichnis konnte nicht erstellt werden. Bitte überprüfe, ob das "
+"übergeordnete Verzeichnis existiert und schreibbar ist."
+
+#: lib_stov/stov_exceptions.py:130
+msgid ""
+"The configuration could not be read, please check that the configuration "
+"file exists and is readable."
+msgstr ""
+"Die Konfigurationsdatei konnte nicht gelesen werden. Bitte überprüfe, ob sie "
+"existiert und lesbar ist."
+
+#: lib_stov/stov_exceptions.py:145
+msgid "Invalid config version read."
+msgstr "Es wurde eine unültige Konfigurationsversion gefunden."
+
+#: lib_stov/stov_exceptions.py:158
+msgid "The subscription %s is disabled, videos will not be downloaded."
+msgstr ""
+"Das Abonnement %s ist deaktiviert, Videos werden nicht heruntergeladen."
+
+#: lib_stov/stov_exceptions.py:172
+msgid ""
+"The download directory does not exist and can't be created. Please check "
+"your configuration and try again."
+msgstr ""
+"Das Download-Verzeichnis existiert nicht und kann nicht erstellt werden. "
+"Bitte überprüfe die Konfiguration und versuche es erneut."
+
+#: lib_stov/stov_exceptions.py:186
+msgid "The migration of the configuration to the json format failed."
+msgstr "Die Migration der Konfiguration ins json-Format ist fehlgeschlagen."
+
+#: lib_stov/stov_exceptions.py:199
+msgid "Execution of youtube-dl failed."
+msgstr "Es ist ein Fehler bei der Ausführung von youtube-dl aufgetreten."
+
+#: lib_stov/stov_exceptions.py:211
+msgid "Channel not found on video site"
+msgstr "Der Kanal wurde auf dem Video-Portal nicht gefunden"
+
+#: lib_stov/stov_exceptions.py:222
+msgid "Error: This site is not (yet) supported by stov!"
+msgstr "Fehler: Dieses Portal wird von stov (noch) nicht unterstützt!"
+
+#: lib_stov/subscription.py:114
+msgid "   (pending)"
+msgstr "    (wartet)"
+
+#: lib_stov/subscription.py:116
+msgid "   (downloaded)"
+msgstr "    (heruntergeladen)"
+
+#: lib_stov/subscription.py:118
+msgid "   (failed)"
+msgstr "    (fehlgeschlagen)"
+
+#: lib_stov/youtube.py:48
+msgid "Creating directory %s"
+msgstr "Erstelle Verzeichnis %s"
+
+#: lib_stov/youtubedl_wrapper.py:48
+msgid "Executing command: %s %s %s %s %s %s %s"
+msgstr "Führe folgendes Kommando aus: %s %s %s %s %s %s %s"
+
+#: lib_stov/youtubedl_wrapper.py:60
+msgid "Executing command: %s %s %s %s %s"
+msgstr "Führe folgendes Kommando aus: %s %s %s %s %s"
+
+#: lib_stov/youtubedl_wrapper.py:89
+msgid "Executing command: %s %s %s"
+msgstr "Führe folgendes Kommando aus: %s %s %s"
+
+#: lib_stov/youtubedl_wrapper.py:107
+msgid "Executing command: %s -f %s/%s %s"
+msgstr "Führe folgendes Kommando aus: %s -f %s/%s %s"
+
+#: lib_stov/youtubedl_wrapper.py:127
+msgid "Error while calling youtube-dl: %s"
+msgstr "Fehler während der Ausführung von youtube-dl: %s"
+
+#: lib_stov/yt_noapi.py:80
+msgid "Constructed URL for subscription: %s"
+msgstr "Folgende URL wurde für das Abonnement konstruiert: %s"
+
+#: lib_stov/yt_noapi.py:86
+msgid "Opening URL: %s to fetch title"
+msgstr "Öffne URL: %s, um den Titel zu ermitteln"
+
+#: lib_stov/yt_noapi.py:116
+msgid " search %s"
+msgstr " Suche %s"
+
+#~ msgid "if you want to use the youtube API"
+#~ msgstr "ob die Youtube API verwendet werden soll"
+
+#~ msgid "option %s requires an integer value"
+#~ msgstr "die Option %s erfordert einen ganzzahligen Wert"
+
+#~ msgid "option %s requires an argument"
+#~ msgstr "die Option %s erfordert ein Argument"
+
+#~ msgid "invalid option %s"
+#~ msgstr "ungültige Option %s"
+
+#~ msgid "Usage: %prog [options]"
+#~ msgstr "%prog [Optionen]"
+
+#~ msgid "--quiet and --verbose can't be defined at the same time, exiting."
+#~ msgstr ""
+#~ "--quiet und --verbose können nicht gleichzeitig verwendet werden, "
+#~ "Programm wird beendet."
 
+#~ msgid ""
+#~ "Invalid option, please use the ID of the subscription you want to delete "
+#~ "as parameter for the remove option."
+#~ msgstr ""
+#~ "ngültige Option. Bitte benutze die ID des Abonnements, das du löschen "
+#~ "möchtest, als Paramater für die remove-Option."

BIN
locale/en/LC_MESSAGES/stov.mo


+ 265 - 191
locale/en/LC_MESSAGES/stov.po

@@ -1,482 +1,556 @@
 # GNU gettext file for stov, English language
-# Helmut Pozimski <helmut@pozimski.eu>, 2012-2014.
+# Helmut Pozimski <helmut@pozimski.eu>, 2012-2017.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: 0.9\n"
-"POT-Creation-Date: 2012-12-27 22:18+CET\n"
-"PO-Revision-Date: 2014-12-26 11:40+CET\n"
+"Project-Id-Version: 1.0\n"
+"POT-Creation-Date: 2017-09-14 19:32+CEST\n"
+"PO-Revision-Date: 2017-09-14 19:49+0200\n"
 "Last-Translator: Helmut Pozimski <helmut@pozimski.eu>\n"
 "Language-Team: None\n"
+"Language: en\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Generated-By: pygettext.py 1.5\n"
+"X-Generator: Poedit 2.0.3\n"
 
 
-#: lib_stov/configuration.py:61
+#: lib_stov/configuration.py:66
 msgid "the name of your database file"
 msgstr ""
 
-#: lib_stov/configuration.py:62
+#: lib_stov/configuration.py:67
 msgid "the directory where downloaded videos are saved"
 msgstr ""
 
-#: lib_stov/configuration.py:64
+#: lib_stov/configuration.py:69
 msgid "the maximum number of videos to retrieve for each subscription"
 msgstr ""
 
-#: lib_stov/configuration.py:66
+#: lib_stov/configuration.py:71
 msgid "the host name of your mail server"
 msgstr ""
 
-#: lib_stov/configuration.py:67
+#: lib_stov/configuration.py:72
 msgid "the address used for notifications"
 msgstr ""
 
-#: lib_stov/configuration.py:68
+#: lib_stov/configuration.py:73
 msgid "the sender address of notification e-mails"
 msgstr ""
 
-#: lib_stov/configuration.py:69
+#: lib_stov/configuration.py:74
 msgid "the port to use on your mail server"
 msgstr ""
 
-#: lib_stov/configuration.py:70
+#: lib_stov/configuration.py:75
 msgid "if your mail server requires authentication"
 msgstr ""
 
-#: lib_stov/configuration.py:71
+#: lib_stov/configuration.py:76
 msgid "the user name used to authenticate to your mail server"
 msgstr ""
 
-#: lib_stov/configuration.py:73
+#: lib_stov/configuration.py:78
 msgid "the password used to authenticate to your mail server"
 msgstr ""
 
-#: lib_stov/configuration.py:75
+#: lib_stov/configuration.py:80
 msgid "the path to your youtube-dl installation"
 msgstr ""
 
-#: lib_stov/configuration.py:76
+#: lib_stov/configuration.py:81
 msgid "if you want to be notified via e-mail about new videos"
 msgstr ""
 
-#: lib_stov/configuration.py:78
+#: lib_stov/configuration.py:83
 msgid "which video codec you prefer (h264, webm or flv)"
 msgstr ""
 
-#: lib_stov/configuration.py:80
+#: lib_stov/configuration.py:85
 msgid "which resolution you prefer (360p, 480p, 720p or 1080p)"
 msgstr ""
 
-#: lib_stov/configuration.py:82
+#: lib_stov/configuration.py:87
 msgid "if you want to compare the title of a video with the subscription search string"
 msgstr ""
 
-#: lib_stov/configuration.py:84
-msgid "if you want to use the youtube API"
-msgstr ""
-
-#: lib_stov/configuration.py:231
-msgid ""
-"This assistant will help you to perform the initial configuration of stov. \n"
-"The default value will be displayed in brackets.\n"
-"Please specify now :\n"
-msgstr ""
-
-#: lib_stov/noapi.py:70
-msgid " search %s"
-msgstr ""
-
-#: lib_stov/stov_exceptions.py:28
-msgid "Could not access the database, please check path and permissions and try again!"
+#: lib_stov/configuration.py:100
+msgid "Writing configuration file."
 msgstr ""
 
-#: lib_stov/stov_exceptions.py:42
-msgid "Write access to the database failed, please check file permissions and the file system and try again!"
+#: lib_stov/configuration.py:116
+msgid "Creating stov configuration directory"
 msgstr ""
 
-#: lib_stov/stov_exceptions.py:57
-msgid "The subscription you requested could not be found in the database, requested action aborted."
+#: lib_stov/configuration.py:130
+msgid "Opening old configuration file to convert it to json"
 msgstr ""
 
-#: lib_stov/stov_exceptions.py:71
-msgid "The connection to the youtube API failed or no data was returned."
+#: lib_stov/configuration.py:149
+msgid "Opening configuration file"
 msgstr ""
 
-#: lib_stov/stov_exceptions.py:82
-msgid "The API Request timed out for subscription %s,please try again later."
-msgstr ""
-
-#: lib_stov/stov_exceptions.py:95
-msgid "The configuration could not be written, please check that the configuration direcroty exists and is writable."
-msgstr ""
-
-#: lib_stov/stov_exceptions.py:108
-msgid "The directory could not be created, please check that the parent directory exists and is writable"
-msgstr ""
-
-#: lib_stov/stov_exceptions.py:122
-msgid "The configuration could not be read, please check that the configuration file exists and is readable."
-msgstr ""
-
-#: lib_stov/stov_exceptions.py:136
-msgid "Invalid config version read."
+#: lib_stov/configuration.py:235
+msgid "Could not determine an itag value from the configuration"
 msgstr ""
 
-#: lib_stov/stov_exceptions.py:148
-msgid "The subscription %s is disabled, videos will not be downloaded."
-msgstr ""
-
-#: lib_stov/stov_exceptions.py:161
-msgid "The download directory does not exist and can't be created. Please check your configuration and try again."
-msgstr ""
-
-#: lib_stov/stov_exceptions.py:174
-msgid "The migration of the configuration to the json format failed."
-msgstr ""
-
-#: lib_stov/stov_exceptions.py:185
-msgid "Execution of youtube-dl failed."
-msgstr ""
-
-#: lib_stov/subscription.py:114
-msgid "   (pending)"
+#: lib_stov/configuration.py:242
+msgid ""
+"This assistant will help you to perform the initial configuration of stov. \n"
+"The default value will be displayed in brackets.\n"
+"Please specify now :\n"
 msgstr ""
 
-#: lib_stov/subscription.py:116
-msgid "   (downloaded)"
+#: lib_stov/database.py:60
+msgid "Executing STATEMENT: %s"
 msgstr ""
 
-#: lib_stov/subscription.py:118
-msgid "   (failed)"
+#: lib_stov/database.py:63
+msgid "Executing STATEMENT: %s with arguments %s"
 msgstr ""
 
-#: stov:68
+#: lib_stov/helpers.py:58
 msgid "The translation files could not be found, localization won't be available"
 msgstr ""
 
-#: stov:81
+#: lib_stov/helpers.py:67
 msgid "STRG+C has been pressed, quitting..."
 msgstr ""
 
-#: stov:83
+#: lib_stov/helpers.py:69
 msgid "Received SIGTERM, quitting..."
 msgstr ""
 
-#: stov:100
-msgid "option %s requires an integer value"
-msgstr ""
-
-#: stov:104
-msgid "option %s requires an argument"
-msgstr ""
-
-#: stov:108
-msgid "invalid option %s"
-msgstr ""
-
-#: stov:137
-msgid "Usage: %prog [options]"
-msgstr ""
-
-#: stov:141
+#: lib_stov/helpers.py:92
 msgid "show this help message and exit"
 msgstr ""
 
-#: stov:143
-msgid "Add a new subscription (requires either                   --search, --channel or --playlist)"
+#: lib_stov/helpers.py:94
+msgid "Add a new subscription (requires either                         --search, --channel or --playlist)"
 msgstr ""
 
-#: stov:146
+#: lib_stov/helpers.py:97
 msgid "Add a new Playlist subscription (requires add)"
 msgstr ""
 
-#: stov:148
+#: lib_stov/helpers.py:100
 msgid "List the currently available subscriptions"
 msgstr ""
 
-#: stov:150
+#: lib_stov/helpers.py:102
 msgid "remove a subscription"
 msgstr ""
 
-#: stov:152
+#: lib_stov/helpers.py:104
 msgid "update the information about the available videos"
 msgstr ""
 
-#: stov:154
+#: lib_stov/helpers.py:108
 msgid "download all available videos which haven't already been downloaded"
 msgstr ""
 
-#: stov:157
+#: lib_stov/helpers.py:112
 msgid "optionally add a search string to a new channel subscription or create a new search subscription (requires --add)"
 msgstr ""
 
-#: stov:161
+#: lib_stov/helpers.py:116
 msgid "Print all videos from a subscription"
 msgstr ""
 
-#: stov:163
-msgid "Mark all videos from one channel as read                   (requires subscription-id as argument)"
+#: lib_stov/helpers.py:118
+msgid "Mark all videos from one channel as read                         (requires subscription-id as argument)"
 msgstr ""
 
-#: stov:166
+#: lib_stov/helpers.py:121
 msgid "specify a channel for a new subscription (requires --add)"
 msgstr ""
 
-#: stov:169
+#: lib_stov/helpers.py:124
 msgid "show the license of the program"
 msgstr ""
 
-#: stov:171
+#: lib_stov/helpers.py:126
 msgid "show the current running version number"
 msgstr ""
 
-#: stov:173
+#: lib_stov/helpers.py:128
 msgid "Suppress all output"
 msgstr ""
 
-#: stov:175
-msgid "Be verbose and print also diagnostical messages"
+#: lib_stov/helpers.py:130
+msgid "Be verbose and print also diagnostic messages"
 msgstr ""
 
-#: stov:177
+#: lib_stov/helpers.py:134
 msgid "Clean the database of entries no longer listed in the current API response"
 msgstr ""
 
-#: stov:181
+#: lib_stov/helpers.py:137
 msgid "enables the subscription with the provided ID"
 msgstr ""
 
-#: stov:183
+#: lib_stov/helpers.py:140
 msgid "disables the subscription with the provided ID"
 msgstr ""
 
-#: stov:207
-msgid "--quiet and --verbose can't be defined at the same time, exiting."
+#: lib_stov/helpers.py:143
+msgid "specify the site to work with (for --add)"
+msgstr ""
+
+#: lib_stov/helpers.py:145
+msgid "list the supported sites"
 msgstr ""
 
-#: stov:230
+#: lib_stov/helpers.py:158
 msgid "The lock file could not be opened, please check that it exists and is readable, quitting now"
 msgstr ""
 
-#: stov:235
+#: lib_stov/helpers.py:164
 msgid ""
 "The lock file already exists, probably another instance of this program is already running\n"
 "if you are sure this is not the case, delete it manually and try again!"
 msgstr ""
 
-#: stov:245
+#: lib_stov/helpers.py:174
 msgid "The old lock file could not be deleted!"
 msgstr ""
 
-#: stov:251
+#: lib_stov/helpers.py:180
 msgid "The lock file could not be created, please check that /tmp is writable and properly configured, quitting now."
 msgstr ""
 
-#: stov:260
+#: lib_stov/helpers.py:190
+msgid "Removing lock file"
+msgstr ""
+
+#: lib_stov/helpers.py:195
+msgid "Could not delete the lock file. Please check what went wrong and clean up manually!"
+msgstr ""
+
+#: lib_stov/helpers.py:209
 msgid "This seems to be the first time you run the programm, do you want to run the interactive assistant? (yes/no)"
 msgstr ""
 
-#: stov:275
+#: lib_stov/helpers.py:221
 msgid "Writing initial configuration according to your input, have fun!"
 msgstr ""
 
-#: stov:278
+#: lib_stov/helpers.py:224
 msgid "Writing initial configuration according to default values."
 msgstr ""
 
-#: stov:280
+#: lib_stov/helpers.py:226
 msgid "Creating hidden directory in home for configuration and database."
 msgstr ""
 
-#: stov:291
+#: lib_stov/helpers.py:238
 msgid "Migrating configuration from plain text to json."
 msgstr ""
 
-#: stov:294
+#: lib_stov/helpers.py:242
 msgid "Comparing current and running configuration version."
 msgstr ""
 
-#: stov:304
+#: lib_stov/helpers.py:253
 msgid "Your configuration needs to be updated, performing update now."
 msgstr ""
 
-#: stov:337
+#: lib_stov/helpers.py:275
+msgid "Connecting to stov database"
+msgstr ""
+
+#: lib_stov/helpers.py:297
 msgid "Created initial database tables."
 msgstr ""
 
-#: stov:340
+#: lib_stov/helpers.py:301
 msgid "Comparing current and running database version."
 msgstr ""
 
-#: stov:342
+#: lib_stov/helpers.py:304
 msgid "Your database needs to be updated, performing update now."
 msgstr ""
 
-#: stov:372
-msgid "Found youtube-dl, writing it's path to the configuration file."
+#: lib_stov/helpers.py:329
+msgid "Found youtube-dl at %s, writing it's path to the configuration file."
 msgstr ""
 
-#: stov:381
+#: lib_stov/helpers.py:339
 msgid "Could not find youtube-dl, it either does not exist, is not readable or not executable. Please note that youtube-dl is not needed for the program to run but is needed to use the download option which won't work otherwise. If youtube-dl isn't found automatically, you may also enter the path to it in the configuration file."
 msgstr ""
 
-#: stov:407
+#: lib_stov/program.py:54
+msgid ""
+"Creating new subscription with the following parameters:\n"
+"Channel: %s\n"
+"Search: %s\n"
+"Playlist: %s"
+msgstr ""
+
+#: lib_stov/program.py:67
 msgid "Search_"
 msgstr ""
 
-#: stov:412
+#: lib_stov/program.py:72
 msgid "Playlists do not support searching, the search option will be ignored!"
 msgstr ""
 
-#: stov:418
+#: lib_stov/program.py:78
 msgid "None or invalid subscription type given, please check the type option and try again."
 msgstr ""
 
-#: stov:428
+#: lib_stov/program.py:97
 msgid "Subscription sucessfully inserted into database."
 msgstr ""
 
-#: stov:444 stov:499
+#: lib_stov/program.py:113 lib_stov/program.py:194
 msgid "Video %s successfully inserted into database."
 msgstr ""
 
-#: stov:446
+#: lib_stov/program.py:115
 msgid "New subscription "
 msgstr ""
 
-#: stov:447
+#: lib_stov/program.py:116
 msgid " successfully added"
 msgstr ""
 
-#: stov:453
-msgid "ID Title"
+#: lib_stov/program.py:131
+msgid "ID Title Site"
 msgstr ""
 
-#: stov:456
+#: lib_stov/program.py:134
 msgid "enabled"
 msgstr ""
 
-#: stov:458
+#: lib_stov/program.py:136
 msgid "disabled"
 msgstr ""
 
-#: stov:462
+#: lib_stov/program.py:140
 msgid "No subscriptions added yet, add one!"
 msgstr ""
 
-#: stov:467
-msgid "Invalid option, please use the ID of the subscription you want to delete as parameter for the remove option."
+#: lib_stov/program.py:161
+msgid "Subscription deleted successfully!"
 msgstr ""
 
-#: stov:480
-msgid "Subscription deleted successfully!"
+#: lib_stov/program.py:175
+msgid "Updating subscription %s"
 msgstr ""
 
-#: stov:504
+#: lib_stov/program.py:212
 msgid "Trying to determine the itag value for youtube-dl from your quality and codec settings."
 msgstr ""
 
-#: stov:507
+#: lib_stov/program.py:215
 msgid "Found value: %s."
 msgstr ""
 
-#: stov:509
+#: lib_stov/program.py:217
 msgid "Codec and resolution could not be determined, using maximum possible value."
 msgstr ""
 
-#: stov:538
+#: lib_stov/program.py:261
 msgid "Downloaded %i new video"
 msgstr ""
 
-#: stov:539
+#: lib_stov/program.py:262
 msgid ""
 "The following episode has been downloaded by stov: \n"
 "\n"
 msgstr ""
 
-#: stov:542
+#: lib_stov/program.py:265
 msgid "Downloaded %i new videos"
 msgstr ""
 
-#: stov:543
+#: lib_stov/program.py:266
 msgid ""
 "The following episodes have been downloaded by stov: \n"
 "\n"
 msgstr ""
 
-#: stov:561
+#: lib_stov/program.py:292
 msgid "Could not connect to the smtp server, please check your settings!"
 msgstr ""
 
-#: stov:568
+#: lib_stov/program.py:298
 msgid "TLS not available, proceeding unencrypted."
 msgstr ""
 
-#: stov:574
+#: lib_stov/program.py:304
 msgid "Authentication failed, please check user name and password!"
 msgstr ""
 
-#: stov:577
+#: lib_stov/program.py:307
 msgid "Could not authenticate, server probably does not support authentication!"
 msgstr ""
 
-#: stov:584
+#: lib_stov/program.py:314
 msgid "The server refused the recipient address, please check your settings."
 msgstr ""
 
-#: stov:587
+#: lib_stov/program.py:317
 msgid "The server refused the sender address, please check your settings."
 msgstr ""
 
-#: stov:592
+#: lib_stov/program.py:354
+msgid "Invalid subscription, please check the list and try again."
+msgstr ""
+
+#: lib_stov/program.py:379
+msgid "The subscription could not be updated, please check if the ID given is correct."
+msgstr ""
+
+#: lib_stov/program.py:398
+msgid "Deleting video %s from database"
+msgstr ""
+
+#: lib_stov/program.py:427
+msgid "The subscription ID %s is already enabled."
+msgstr ""
+
+#: lib_stov/program.py:436
+msgid "Enabled subscription ID %s."
+msgstr ""
+
+#: lib_stov/program.py:439
+msgid "Subscription ID %s is already disabled."
+msgstr ""
+
+#: lib_stov/program.py:448
+msgid "Disabled subscription ID %s."
+msgstr ""
+
+#: lib_stov/program.py:451
+msgid "Could not find the subscription with ID %s, please check and try again."
+msgstr ""
+
+#: lib_stov/program.py:489
 msgid "There are no videos to be downloaded."
 msgstr ""
 
-#: stov:595
+#: lib_stov/program.py:492
 msgid ""
 "The following videos have been downloaded:\n"
 msgstr ""
 
-#: stov:600
+#: lib_stov/program.py:497
 msgid "Could not determine how you want to be informed about new videos, please check the notify parameter in your configuration."
 msgstr ""
 
-#: stov:623
-msgid "Invalid subscription, please check the list and try again."
+#: lib_stov/program.py:528
+msgid "Sites currently supported by stov:"
 msgstr ""
 
-#: stov:638
-msgid "The subscription could not be updated, please check if the ID given is correct."
+#: lib_stov/stov_exceptions.py:29
+msgid "Could not access the database, please check path and permissions and try again!"
 msgstr ""
 
-#: stov:648
-msgid "Deleting video %s from database"
+#: lib_stov/stov_exceptions.py:44
+msgid "Write access to the database failed, please check file permissions and the file system and try again!"
 msgstr ""
 
-#: stov:664
-msgid "The subscription ID %s is already enabled."
+#: lib_stov/stov_exceptions.py:60
+msgid "The subscription you requested could not be found in the database, requested action aborted."
 msgstr ""
 
-#: stov:673
-msgid "Enabled subscription ID %s."
+#: lib_stov/stov_exceptions.py:75
+msgid "The connection to the youtube API failed or no data was returned."
 msgstr ""
 
-#: stov:676 stov:694
-msgid "Could not find the subscription with ID %s, please check and try again."
+#: lib_stov/stov_exceptions.py:87
+msgid "The API Request timed out for subscription %s,please try again later."
 msgstr ""
 
-#: stov:682
-msgid "Subscription ID %s is already disabled."
+#: lib_stov/stov_exceptions.py:101
+msgid "The configuration could not be written, please check that the configuration direcroty exists and is writable."
 msgstr ""
 
-#: stov:691
-msgid "Disabled subscription ID %s."
+#: lib_stov/stov_exceptions.py:115
+msgid "The directory could not be created, please check that the parent directory exists and is writable"
 msgstr ""
 
-#: stov:723
-msgid "Could not delete the lock file. Please check what went wrong and clean up manually!"
+#: lib_stov/stov_exceptions.py:130
+msgid "The configuration could not be read, please check that the configuration file exists and is readable."
+msgstr ""
+
+#: lib_stov/stov_exceptions.py:145
+msgid "Invalid config version read."
+msgstr ""
+
+#: lib_stov/stov_exceptions.py:158
+msgid "The subscription %s is disabled, videos will not be downloaded."
+msgstr ""
+
+#: lib_stov/stov_exceptions.py:172
+msgid "The download directory does not exist and can't be created. Please check your configuration and try again."
+msgstr ""
+
+#: lib_stov/stov_exceptions.py:186
+msgid "The migration of the configuration to the json format failed."
+msgstr ""
+
+#: lib_stov/stov_exceptions.py:199
+msgid "Execution of youtube-dl failed."
+msgstr ""
+
+#: lib_stov/stov_exceptions.py:211
+msgid "Channel not found on video site"
+msgstr ""
+
+#: lib_stov/stov_exceptions.py:222
+msgid "Error: This site is not (yet) supported by stov!"
+msgstr ""
+
+#: lib_stov/subscription.py:114
+msgid "   (pending)"
+msgstr ""
+
+#: lib_stov/subscription.py:116
+msgid "   (downloaded)"
+msgstr ""
+
+#: lib_stov/subscription.py:118
+msgid "   (failed)"
+msgstr ""
+
+#: lib_stov/youtube.py:48
+msgid "Creating directory %s"
+msgstr ""
+
+#: lib_stov/youtubedl_wrapper.py:48
+msgid "Executing command: %s %s %s %s %s %s %s"
+msgstr ""
+
+#: lib_stov/youtubedl_wrapper.py:60
+msgid "Executing command: %s %s %s %s %s"
+msgstr ""
+
+#: lib_stov/youtubedl_wrapper.py:89
+msgid "Executing command: %s %s %s"
+msgstr ""
+
+#: lib_stov/youtubedl_wrapper.py:107
+msgid "Executing command: %s -f %s/%s %s"
+msgstr ""
+
+#: lib_stov/youtubedl_wrapper.py:127
+msgid "Error while calling youtube-dl: %s"
+msgstr ""
+
+#: lib_stov/yt_noapi.py:80
+msgid "Constructed URL for subscription: %s"
+msgstr ""
+
+#: lib_stov/yt_noapi.py:86
+msgid "Opening URL: %s to fetch title"
+msgstr ""
+
+#: lib_stov/yt_noapi.py:116
+msgid " search %s"
 msgstr ""
 

+ 1 - 1
setup.py

@@ -24,7 +24,7 @@ from distutils.core import setup
 
 setup(
     name="stov",
-    version="1.0wip",
+    version="1.0rc1",
     author="Helmut Pozimski",
     author_email="helmut@pozimski.eu",
     description=("a program to subscribe to channels and users from youtube and"