added menu entry for help

This commit is contained in:
Martin Wagner 2020-05-26 22:36:46 +02:00
parent ac150790fb
commit 369b01cded
3 changed files with 178 additions and 167 deletions

View File

@ -3183,6 +3183,7 @@ class MainWindow(Gtk.ApplicationWindow):
menu.append(_("Settings"), "win.settings")
menu.append(_("Update database"), "win.update")
menu.append(_("Server stats"), "win.stats")
menu.append(_("Help"), "app.help")
menu.append(_("About"), "app.about")
menu.append(_("Quit"), "app.quit")
@ -3360,6 +3361,10 @@ class mpdevil(Gtk.Application):
def do_startup(self):
Gtk.Application.do_startup(self)
action=Gio.SimpleAction.new("help", None)
action.connect("activate", self.on_help)
self.add_action(action)
action=Gio.SimpleAction.new("about", None)
action.connect("activate", self.on_about)
self.add_action(action)
@ -3373,6 +3378,9 @@ class mpdevil(Gtk.Application):
self.client.stop()
self.quit()
def on_help(self, action, param):
Gtk.show_uri_on_window(self.window, "https://github.com/SoongNoonien/mpdevil/wiki/Usage", Gdk.CURRENT_TIME)
def on_about(self, action, param):
dialog=Gtk.AboutDialog(transient_for=self.window, modal=True)
dialog.set_program_name(NAME)

171
po/de.po
View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-21 21:16+0200\n"
"PO-Revision-Date: 2020-05-21 21:17+0200\n"
"POT-Creation-Date: 2020-05-26 22:35+0200\n"
"PO-Revision-Date: 2020-05-26 22:36+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: de\n"
@ -18,239 +18,235 @@ msgstr ""
"X-Generator: Poedit 2.2.4\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: mpdevil.py:261
#: mpdevil.py:260
msgid "Unknown Title"
msgstr "Unbekannter Titel"
#: mpdevil.py:261
#: mpdevil.py:260
msgid "Unknown Artist"
msgstr "Unbekannter Interpret"
#: mpdevil.py:261
#: mpdevil.py:260
msgid "Unknown Album"
msgstr "Unbekanntes Album"
#: mpdevil.py:919 mpdevil.py:1549 mpdevil.py:2294
#: mpdevil.py:921
msgid "MPD-Tag"
msgstr "MPD-Tag"
#: mpdevil.py:925
msgid "Value"
msgstr "Wert"
#: mpdevil.py:968 mpdevil.py:1620 mpdevil.py:2385
msgid "No"
msgstr "Nr."
#: mpdevil.py:924 mpdevil.py:1555 mpdevil.py:2294
#: mpdevil.py:973 mpdevil.py:1626 mpdevil.py:2385
msgid "Title"
msgstr "Titel"
#: mpdevil.py:929 mpdevil.py:1152 mpdevil.py:1558 mpdevil.py:2294
#: mpdevil.py:979 mpdevil.py:1223 mpdevil.py:1629 mpdevil.py:2385
msgid "Artist"
msgstr "Interpret"
#: mpdevil.py:934 mpdevil.py:1561 mpdevil.py:2294
#: mpdevil.py:985 mpdevil.py:1632 mpdevil.py:2385
msgid "Album"
msgstr "Album"
#: mpdevil.py:940 mpdevil.py:1564 mpdevil.py:2294
#: mpdevil.py:992 mpdevil.py:1635 mpdevil.py:2385
msgid "Length"
msgstr "Länge"
#: mpdevil.py:1066
#: mpdevil.py:1137
msgid "all genres"
msgstr "Alle Genres"
#: mpdevil.py:1150
#: mpdevil.py:1221
msgid "Album Artist"
msgstr "Albuminterpret"
#: mpdevil.py:1153
#: mpdevil.py:1224
msgid "all artists"
msgstr "Alle Interpreten"
#: mpdevil.py:1295
#: mpdevil.py:1366
#, python-format
msgid "%(total_tracks)i titles on %(discs)i discs (%(total_length)s)"
msgstr "%(total_tracks)i Titel auf %(discs)i CDs (%(total_length)s)"
#: mpdevil.py:1297 mpdevil.py:1647
#: mpdevil.py:1368 mpdevil.py:1721
#, python-format
msgid "%(total_tracks)i titles (%(total_length)s)"
msgstr "%(total_tracks)i Titel (%(total_length)s)"
#: mpdevil.py:1552 mpdevil.py:2294
#: mpdevil.py:1623 mpdevil.py:2385
msgid "Disc"
msgstr "CD"
#: mpdevil.py:1567 mpdevil.py:2294
#: mpdevil.py:1638 mpdevil.py:2385
msgid "Year"
msgstr "Jahr"
#: mpdevil.py:1570 mpdevil.py:2294
#: mpdevil.py:1641 mpdevil.py:2385
msgid "Genre"
msgstr "Genre"
#: mpdevil.py:1742
#: mpdevil.py:1827
msgid "Show lyrics"
msgstr "Zeige Liedtext"
#: mpdevil.py:1826
#: mpdevil.py:1911
msgid "Back to current album"
msgstr "Zurück zu aktuellem Album"
#: mpdevil.py:1828
#: mpdevil.py:1913
msgid "Search"
msgstr "Suche"
#: mpdevil.py:2003
#: mpdevil.py:2088
msgid "Profile:"
msgstr "Profil:"
#: mpdevil.py:2005
#: mpdevil.py:2090
msgid "Name:"
msgstr "Name:"
#: mpdevil.py:2007
#: mpdevil.py:2092
msgid "Host:"
msgstr "Host:"
#: mpdevil.py:2009
#: mpdevil.py:2094
msgid "Password:"
msgstr "Passwort:"
#: mpdevil.py:2011
#: mpdevil.py:2096
msgid "Music lib:"
msgstr "Musikverzeichnis:"
#: mpdevil.py:2098
#: mpdevil.py:2183
msgid "Choose directory"
msgstr "Verzeichnis Wählen"
#: mpdevil.py:2136
#: mpdevil.py:2221
msgid "Main cover size:"
msgstr "Größe des Haupt-Covers:"
#: mpdevil.py:2140
#: mpdevil.py:2225
msgid "Album view cover size:"
msgstr "Covergröße in Albumliste:"
#: mpdevil.py:2144
#: mpdevil.py:2229
msgid "Button icon size:"
msgstr "Symbolgröße der Knöpfe:"
#: mpdevil.py:2146
#: mpdevil.py:2231 mpdevil.py:2311
msgid "(restart required)"
msgstr "(Neustart erforderlich)"
#: mpdevil.py:2157
#: mpdevil.py:2242
msgid "Sort albums by:"
msgstr "Sortiere Alben nach:"
#: mpdevil.py:2157
#: mpdevil.py:2242
msgid "name"
msgstr "Name"
#: mpdevil.py:2157
#: mpdevil.py:2242
msgid "year"
msgstr "Jahr"
#: mpdevil.py:2158
#: mpdevil.py:2243
msgid "Position of playlist:"
msgstr "Wiedergabelistenposition:"
#: mpdevil.py:2158
#: mpdevil.py:2243
msgid "bottom"
msgstr "unten"
#: mpdevil.py:2158
#: mpdevil.py:2243
msgid "right"
msgstr "rechts"
#: mpdevil.py:2174
#: mpdevil.py:2259
msgid "<b>View</b>"
msgstr "<b>Ansicht</b>"
#: mpdevil.py:2177
#: mpdevil.py:2262
msgid "<b>Behavior</b>"
msgstr "<b>Verhalten</b>"
#: mpdevil.py:2182
#: mpdevil.py:2267
msgid "Use Client-side decoration"
msgstr "Benutze \"Client-side decoration\""
#: mpdevil.py:2183
#: mpdevil.py:2268
msgid "Show stop button"
msgstr "Zeige Stopp-Knopf"
#: mpdevil.py:2184
#: mpdevil.py:2269
msgid "Show initials in artist view"
msgstr "Zeige Anfangsbuchstaben in Interpretenliste"
#: mpdevil.py:2185
#: mpdevil.py:2270
msgid "Show tooltips in album view"
msgstr "Zeige Tooltips in Albumliste"
#: mpdevil.py:2186
#: mpdevil.py:2271
msgid "Use 'Album Artist' tag"
msgstr "Benutze \"Album Artist\" Tag"
#: mpdevil.py:2187
#: mpdevil.py:2272
msgid "Send notification on title change"
msgstr "Sende Benachrichtigung bei Titelwechsel"
#: mpdevil.py:2188
#: mpdevil.py:2273
msgid "Stop playback on quit"
msgstr "Wiedergabe beim Beenden stoppen"
#: mpdevil.py:2189
#: mpdevil.py:2274
msgid "Play selected albums and titles immediately"
msgstr "Ausgewählte Alben und Titel sofort abspielen"
#: mpdevil.py:2266
#: mpdevil.py:2357
msgid "Choose the order of information to appear in the playlist:"
msgstr ""
"Lege die Reihenfolge fest, in der Informationen in der Wiedergabeliste "
"angezeigt werden sollen:"
#: mpdevil.py:2379 mpdevil.py:3144
#: mpdevil.py:2470 mpdevil.py:3183
msgid "Settings"
msgstr "Einstellungen"
#: mpdevil.py:2393
#: mpdevil.py:2484
msgid "General"
msgstr "Allgemein"
#: mpdevil.py:2394
#: mpdevil.py:2485
msgid "Profiles"
msgstr "Profile"
#: mpdevil.py:2395
#: mpdevil.py:2486
msgid "Playlist"
msgstr "Wiedergabeliste"
#: mpdevil.py:2646
#: mpdevil.py:2737
msgid "Random mode"
msgstr "Zufallsmodus"
#: mpdevil.py:2648
#: mpdevil.py:2739
msgid "Repeat mode"
msgstr "Dauerschleife"
#: mpdevil.py:2650
#: mpdevil.py:2741
msgid "Single mode"
msgstr "Einzelstückmodus"
#: mpdevil.py:2652
#: mpdevil.py:2743
msgid "Consume mode"
msgstr "Wiedergabeliste verbrauchen"
#: mpdevil.py:2742
msgid "Show additional information"
msgstr "Zeige weitere Informationen"
#: mpdevil.py:2768
msgid "MPD-Tag"
msgstr "MPD-Tag"
#: mpdevil.py:2772
msgid "Value"
msgstr "Wert"
#: mpdevil.py:2804
#: mpdevil.py:2851
#, python-format
msgid ""
"%(bitrate)s kb/s, %(frequency)s kHz, %(resolution)s bit, %(channels)s "
@ -259,67 +255,74 @@ msgstr ""
"%(bitrate)s kb/s, %(frequency)s kHz, %(resolution)s bit, %(channels)s "
"Kanäle, %(file_type)s"
#: mpdevil.py:2858
#: mpdevil.py:2893
msgid "Stats"
msgstr "Statistik"
#: mpdevil.py:2932
#: mpdevil.py:2967
msgid "Add"
msgstr "Hinzufügen"
#: mpdevil.py:2935
#: mpdevil.py:2970
msgid "Play"
msgstr "Wiedergabe"
#: mpdevil.py:2938
#: mpdevil.py:2973
msgid "Open"
msgstr "Öffnen"
#: mpdevil.py:2981
#: mpdevil.py:3016
#, python-format
msgid "hits: %i"
msgstr "Treffer: %i"
#: mpdevil.py:3054
#: mpdevil.py:3093
msgid "searching..."
msgstr "suche..."
#: mpdevil.py:3058
#: mpdevil.py:3097
msgid "lyrics not found"
msgstr "Liedtext nicht gefunden"
#: mpdevil.py:3136
#: mpdevil.py:3175
msgid "Select profile"
msgstr "Profil auswählen"
#: mpdevil.py:3143
#: mpdevil.py:3182
msgid "Save window layout"
msgstr "Fensterlayout speichern"
#: mpdevil.py:3145
#: mpdevil.py:3184
msgid "Update database"
msgstr "Datenbank aktualisieren"
#: mpdevil.py:3146
#: mpdevil.py:3185
msgid "Server stats"
msgstr "Serverstatistik"
#: mpdevil.py:3147
#: mpdevil.py:3186
msgid "Help"
msgstr "Hilfe"
#: mpdevil.py:3187
msgid "About"
msgstr "Über"
#: mpdevil.py:3148
#: mpdevil.py:3188
msgid "Quit"
msgstr "Beenden"
#: mpdevil.py:3153
#: mpdevil.py:3193
msgid "Menu"
msgstr "Menü"
#: mpdevil.py:3338
#: mpdevil.py:3388
msgid "A small MPD client written in python"
msgstr ""
#~ msgid "Show additional information"
#~ msgstr "Zeige weitere Informationen"
#~ msgid "Lyrics"
#~ msgstr "Liedtext"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-21 21:16+0200\n"
"POT-Creation-Date: 2020-05-26 22:35+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,300 +17,300 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: mpdevil.py:261
#: mpdevil.py:260
msgid "Unknown Title"
msgstr ""
#: mpdevil.py:261
#: mpdevil.py:260
msgid "Unknown Artist"
msgstr ""
#: mpdevil.py:261
#: mpdevil.py:260
msgid "Unknown Album"
msgstr ""
#: mpdevil.py:919 mpdevil.py:1549 mpdevil.py:2294
#: mpdevil.py:921
msgid "MPD-Tag"
msgstr ""
#: mpdevil.py:925
msgid "Value"
msgstr ""
#: mpdevil.py:968 mpdevil.py:1620 mpdevil.py:2385
msgid "No"
msgstr ""
#: mpdevil.py:924 mpdevil.py:1555 mpdevil.py:2294
#: mpdevil.py:973 mpdevil.py:1626 mpdevil.py:2385
msgid "Title"
msgstr ""
#: mpdevil.py:929 mpdevil.py:1152 mpdevil.py:1558 mpdevil.py:2294
#: mpdevil.py:979 mpdevil.py:1223 mpdevil.py:1629 mpdevil.py:2385
msgid "Artist"
msgstr ""
#: mpdevil.py:934 mpdevil.py:1561 mpdevil.py:2294
#: mpdevil.py:985 mpdevil.py:1632 mpdevil.py:2385
msgid "Album"
msgstr ""
#: mpdevil.py:940 mpdevil.py:1564 mpdevil.py:2294
#: mpdevil.py:992 mpdevil.py:1635 mpdevil.py:2385
msgid "Length"
msgstr ""
#: mpdevil.py:1066
#: mpdevil.py:1137
msgid "all genres"
msgstr ""
#: mpdevil.py:1150
#: mpdevil.py:1221
msgid "Album Artist"
msgstr ""
#: mpdevil.py:1153
#: mpdevil.py:1224
msgid "all artists"
msgstr ""
#: mpdevil.py:1295
#: mpdevil.py:1366
#, python-format
msgid "%(total_tracks)i titles on %(discs)i discs (%(total_length)s)"
msgstr ""
#: mpdevil.py:1297 mpdevil.py:1647
#: mpdevil.py:1368 mpdevil.py:1721
#, python-format
msgid "%(total_tracks)i titles (%(total_length)s)"
msgstr ""
#: mpdevil.py:1552 mpdevil.py:2294
#: mpdevil.py:1623 mpdevil.py:2385
msgid "Disc"
msgstr ""
#: mpdevil.py:1567 mpdevil.py:2294
#: mpdevil.py:1638 mpdevil.py:2385
msgid "Year"
msgstr ""
#: mpdevil.py:1570 mpdevil.py:2294
#: mpdevil.py:1641 mpdevil.py:2385
msgid "Genre"
msgstr ""
#: mpdevil.py:1742
#: mpdevil.py:1827
msgid "Show lyrics"
msgstr ""
#: mpdevil.py:1826
#: mpdevil.py:1911
msgid "Back to current album"
msgstr ""
#: mpdevil.py:1828
#: mpdevil.py:1913
msgid "Search"
msgstr ""
#: mpdevil.py:2003
#: mpdevil.py:2088
msgid "Profile:"
msgstr ""
#: mpdevil.py:2005
#: mpdevil.py:2090
msgid "Name:"
msgstr ""
#: mpdevil.py:2007
#: mpdevil.py:2092
msgid "Host:"
msgstr ""
#: mpdevil.py:2009
#: mpdevil.py:2094
msgid "Password:"
msgstr ""
#: mpdevil.py:2011
#: mpdevil.py:2096
msgid "Music lib:"
msgstr ""
#: mpdevil.py:2098
#: mpdevil.py:2183
msgid "Choose directory"
msgstr ""
#: mpdevil.py:2136
#: mpdevil.py:2221
msgid "Main cover size:"
msgstr ""
#: mpdevil.py:2140
#: mpdevil.py:2225
msgid "Album view cover size:"
msgstr ""
#: mpdevil.py:2144
#: mpdevil.py:2229
msgid "Button icon size:"
msgstr ""
#: mpdevil.py:2146
#: mpdevil.py:2231 mpdevil.py:2311
msgid "(restart required)"
msgstr ""
#: mpdevil.py:2157
#: mpdevil.py:2242
msgid "Sort albums by:"
msgstr ""
#: mpdevil.py:2157
#: mpdevil.py:2242
msgid "name"
msgstr ""
#: mpdevil.py:2157
#: mpdevil.py:2242
msgid "year"
msgstr ""
#: mpdevil.py:2158
#: mpdevil.py:2243
msgid "Position of playlist:"
msgstr ""
#: mpdevil.py:2158
#: mpdevil.py:2243
msgid "bottom"
msgstr ""
#: mpdevil.py:2158
#: mpdevil.py:2243
msgid "right"
msgstr ""
#: mpdevil.py:2174
#: mpdevil.py:2259
msgid "<b>View</b>"
msgstr ""
#: mpdevil.py:2177
#: mpdevil.py:2262
msgid "<b>Behavior</b>"
msgstr ""
#: mpdevil.py:2182
#: mpdevil.py:2267
msgid "Use Client-side decoration"
msgstr ""
#: mpdevil.py:2183
#: mpdevil.py:2268
msgid "Show stop button"
msgstr ""
#: mpdevil.py:2184
#: mpdevil.py:2269
msgid "Show initials in artist view"
msgstr ""
#: mpdevil.py:2185
#: mpdevil.py:2270
msgid "Show tooltips in album view"
msgstr ""
#: mpdevil.py:2186
#: mpdevil.py:2271
msgid "Use 'Album Artist' tag"
msgstr ""
#: mpdevil.py:2187
#: mpdevil.py:2272
msgid "Send notification on title change"
msgstr ""
#: mpdevil.py:2188
#: mpdevil.py:2273
msgid "Stop playback on quit"
msgstr ""
#: mpdevil.py:2189
#: mpdevil.py:2274
msgid "Play selected albums and titles immediately"
msgstr ""
#: mpdevil.py:2266
#: mpdevil.py:2357
msgid "Choose the order of information to appear in the playlist:"
msgstr ""
#: mpdevil.py:2379 mpdevil.py:3144
#: mpdevil.py:2470 mpdevil.py:3183
msgid "Settings"
msgstr ""
#: mpdevil.py:2393
#: mpdevil.py:2484
msgid "General"
msgstr ""
#: mpdevil.py:2394
#: mpdevil.py:2485
msgid "Profiles"
msgstr ""
#: mpdevil.py:2395
#: mpdevil.py:2486
msgid "Playlist"
msgstr ""
#: mpdevil.py:2646
#: mpdevil.py:2737
msgid "Random mode"
msgstr ""
#: mpdevil.py:2648
#: mpdevil.py:2739
msgid "Repeat mode"
msgstr ""
#: mpdevil.py:2650
#: mpdevil.py:2741
msgid "Single mode"
msgstr ""
#: mpdevil.py:2652
#: mpdevil.py:2743
msgid "Consume mode"
msgstr ""
#: mpdevil.py:2742
msgid "Show additional information"
msgstr ""
#: mpdevil.py:2768
msgid "MPD-Tag"
msgstr ""
#: mpdevil.py:2772
msgid "Value"
msgstr ""
#: mpdevil.py:2804
#: mpdevil.py:2851
#, python-format
msgid ""
"%(bitrate)s kb/s, %(frequency)s kHz, %(resolution)s bit, %(channels)s "
"channels, %(file_type)s"
msgstr ""
#: mpdevil.py:2858
#: mpdevil.py:2893
msgid "Stats"
msgstr ""
#: mpdevil.py:2932
#: mpdevil.py:2967
msgid "Add"
msgstr ""
#: mpdevil.py:2935
#: mpdevil.py:2970
msgid "Play"
msgstr ""
#: mpdevil.py:2938
#: mpdevil.py:2973
msgid "Open"
msgstr ""
#: mpdevil.py:2981
#: mpdevil.py:3016
#, python-format
msgid "hits: %i"
msgstr ""
#: mpdevil.py:3054
#: mpdevil.py:3093
msgid "searching..."
msgstr ""
#: mpdevil.py:3058
#: mpdevil.py:3097
msgid "lyrics not found"
msgstr ""
#: mpdevil.py:3136
#: mpdevil.py:3175
msgid "Select profile"
msgstr ""
#: mpdevil.py:3143
#: mpdevil.py:3182
msgid "Save window layout"
msgstr ""
#: mpdevil.py:3145
#: mpdevil.py:3184
msgid "Update database"
msgstr ""
#: mpdevil.py:3146
#: mpdevil.py:3185
msgid "Server stats"
msgstr ""
#: mpdevil.py:3147
#: mpdevil.py:3186
msgid "Help"
msgstr ""
#: mpdevil.py:3187
msgid "About"
msgstr ""
#: mpdevil.py:3148
#: mpdevil.py:3188
msgid "Quit"
msgstr ""
#: mpdevil.py:3153
#: mpdevil.py:3193
msgid "Menu"
msgstr ""
#: mpdevil.py:3338
#: mpdevil.py:3388
msgid "A small MPD client written in python"
msgstr ""