added icon size setting

This commit is contained in:
Martin Wagner 2020-01-28 19:59:14 +01:00
parent 26ee51fb18
commit 7037628af9
4 changed files with 176 additions and 131 deletions

View File

@ -100,7 +100,7 @@ class Client(MPDClient):
class Settings(Gio.Settings): class Settings(Gio.Settings):
BASE_KEY = "org.mpdevil" BASE_KEY = "org.mpdevil"
def __init__(self): def __init__(self):
super().__init__(self.BASE_KEY) super().__init__(schema=self.BASE_KEY)
def array_append(self, vtype, key, value): #append to Gio.Settings (self.settings) array def array_append(self, vtype, key, value): #append to Gio.Settings (self.settings) array
array=self.get_value(key).unpack() array=self.get_value(key).unpack()
@ -117,6 +117,17 @@ class Settings(Gio.Settings):
array[pos]=value array[pos]=value
self.set_value(key, GLib.Variant(vtype, array)) self.set_value(key, GLib.Variant(vtype, array))
def get_gtk_icon_size(self, key):
icon_size=self.get_int(key)
if icon_size == 16:
return Gtk.IconSize.BUTTON
elif icon_size == 32:
return Gtk.IconSize.DND
elif icon_size == 48:
return Gtk.IconSize.DIALOG
else:
raise ValueError
class AlbumDialog(Gtk.Dialog): class AlbumDialog(Gtk.Dialog):
def __init__(self, parent, client, album, artist, year): def __init__(self, parent, client, album, artist, year):
Gtk.Dialog.__init__(self, title=(artist+" - "+album+" ("+year+")"), transient_for=parent) Gtk.Dialog.__init__(self, title=(artist+" - "+album+" ("+year+")"), transient_for=parent)
@ -840,6 +851,15 @@ class GeneralSettings(Gtk.Grid):
track_cover_size=IntEntry(self.settings.get_int("track-cover"), 100, 1200) track_cover_size=IntEntry(self.settings.get_int("track-cover"), 100, 1200)
album_cover_size=IntEntry(self.settings.get_int("album-cover"), 50, 600) album_cover_size=IntEntry(self.settings.get_int("album-cover"), 50, 600)
icon_size_label=Gtk.Label(label=_("Button icon size (restart required):"))
icon_size_label.set_xalign(1)
icon_size_combo=Gtk.ComboBoxText()
icon_size_combo.set_entry_text_column(0)
sizes=[16, 32, 48]
for i in sizes:
icon_size_combo.append_text(str(i))
icon_size_combo.set_active(sizes.index(self.settings.get_int("icon-size")))
show_stop=Gtk.CheckButton(label=_("Show stop button")) show_stop=Gtk.CheckButton(label=_("Show stop button"))
show_stop.set_active(self.settings.get_boolean("show-stop")) show_stop.set_active(self.settings.get_boolean("show-stop"))
@ -858,6 +878,7 @@ class GeneralSettings(Gtk.Grid):
#connect #connect
track_cover_size.connect("value-changed", self.on_int_changed, "track-cover") track_cover_size.connect("value-changed", self.on_int_changed, "track-cover")
album_cover_size.connect("value-changed", self.on_int_changed, "album-cover") album_cover_size.connect("value-changed", self.on_int_changed, "album-cover")
icon_size_combo.connect("changed", self.on_icon_size_changed)
show_stop.connect("toggled", self.on_toggled, "show-stop") show_stop.connect("toggled", self.on_toggled, "show-stop")
show_album_view_tooltips.connect("toggled", self.on_toggled, "show-album-view-tooltips") show_album_view_tooltips.connect("toggled", self.on_toggled, "show-album-view-tooltips")
send_notify.connect("toggled", self.on_toggled, "send-notify") send_notify.connect("toggled", self.on_toggled, "send-notify")
@ -867,9 +888,11 @@ class GeneralSettings(Gtk.Grid):
#packing #packing
self.add(track_cover_label) self.add(track_cover_label)
self.attach_next_to(album_cover_label, track_cover_label, Gtk.PositionType.BOTTOM, 1, 1) self.attach_next_to(album_cover_label, track_cover_label, Gtk.PositionType.BOTTOM, 1, 1)
self.attach_next_to(icon_size_label, album_cover_label, Gtk.PositionType.BOTTOM, 1, 1)
self.attach_next_to(track_cover_size, track_cover_label, Gtk.PositionType.RIGHT, 1, 1) self.attach_next_to(track_cover_size, track_cover_label, Gtk.PositionType.RIGHT, 1, 1)
self.attach_next_to(album_cover_size, album_cover_label, Gtk.PositionType.RIGHT, 1, 1) self.attach_next_to(album_cover_size, album_cover_label, Gtk.PositionType.RIGHT, 1, 1)
self.attach_next_to(show_stop, album_cover_label, Gtk.PositionType.BOTTOM, 2, 1) self.attach_next_to(icon_size_combo, icon_size_label, Gtk.PositionType.RIGHT, 1, 1)
self.attach_next_to(show_stop, icon_size_label, Gtk.PositionType.BOTTOM, 2, 1)
self.attach_next_to(show_album_view_tooltips, show_stop, Gtk.PositionType.BOTTOM, 2, 1) self.attach_next_to(show_album_view_tooltips, show_stop, Gtk.PositionType.BOTTOM, 2, 1)
self.attach_next_to(send_notify, show_album_view_tooltips, Gtk.PositionType.BOTTOM, 2, 1) self.attach_next_to(send_notify, show_album_view_tooltips, Gtk.PositionType.BOTTOM, 2, 1)
self.attach_next_to(add_album, send_notify, Gtk.PositionType.BOTTOM, 2, 1) self.attach_next_to(add_album, send_notify, Gtk.PositionType.BOTTOM, 2, 1)
@ -881,6 +904,10 @@ class GeneralSettings(Gtk.Grid):
def on_toggled(self, widget, key): def on_toggled(self, widget, key):
self.settings.set_boolean(key, widget.get_active()) self.settings.set_boolean(key, widget.get_active())
def on_icon_size_changed(self, box):
active_size=int(box.get_active_text())
self.settings.set_int("icon-size", active_size)
class SettingsDialog(Gtk.Dialog): class SettingsDialog(Gtk.Dialog):
def __init__(self, parent, settings): def __init__(self, parent, settings):
Gtk.Dialog.__init__(self, title=_("Settings"), transient_for=parent) Gtk.Dialog.__init__(self, title=_("Settings"), transient_for=parent)
@ -910,12 +937,13 @@ class ClientControl(Gtk.ButtonBox):
#adding vars #adding vars
self.client=client self.client=client
self.settings=settings self.settings=settings
self.icon_size=self.settings.get_gtk_icon_size("icon-size")
#widgets #widgets
self.play_button = Gtk.Button(image=Gtk.Image.new_from_icon_name("media-playback-start-symbolic", Gtk.IconSize.DND)) self.play_button = Gtk.Button(image=Gtk.Image.new_from_icon_name("media-playback-start-symbolic", self.icon_size))
self.stop_button = Gtk.Button(image=Gtk.Image.new_from_icon_name("media-playback-stop-symbolic", Gtk.IconSize.DND)) self.stop_button = Gtk.Button(image=Gtk.Image.new_from_icon_name("media-playback-stop-symbolic", self.icon_size))
self.prev_button = Gtk.Button(image=Gtk.Image.new_from_icon_name("media-skip-backward-symbolic", Gtk.IconSize.DND)) self.prev_button = Gtk.Button(image=Gtk.Image.new_from_icon_name("media-skip-backward-symbolic", self.icon_size))
self.next_button = Gtk.Button(image=Gtk.Image.new_from_icon_name("media-skip-forward-symbolic", Gtk.IconSize.DND)) self.next_button = Gtk.Button(image=Gtk.Image.new_from_icon_name("media-skip-forward-symbolic", self.icon_size))
#connect #connect
self.play_button.connect("clicked", self.on_play_clicked) self.play_button.connect("clicked", self.on_play_clicked)
@ -938,15 +966,15 @@ class ClientControl(Gtk.ButtonBox):
if self.client.connected(): if self.client.connected():
status=self.client.status() status=self.client.status()
if status["state"] == "play": if status["state"] == "play":
self.play_button.set_image(Gtk.Image.new_from_icon_name("media-playback-pause-symbolic", Gtk.IconSize.DND)) self.play_button.set_image(Gtk.Image.new_from_icon_name("media-playback-pause-symbolic", self.icon_size))
self.prev_button.set_sensitive(True) self.prev_button.set_sensitive(True)
self.next_button.set_sensitive(True) self.next_button.set_sensitive(True)
elif status["state"] == "pause": elif status["state"] == "pause":
self.play_button.set_image(Gtk.Image.new_from_icon_name("media-playback-start-symbolic", Gtk.IconSize.DND)) self.play_button.set_image(Gtk.Image.new_from_icon_name("media-playback-start-symbolic", self.icon_size))
self.prev_button.set_sensitive(True) self.prev_button.set_sensitive(True)
self.next_button.set_sensitive(True) self.next_button.set_sensitive(True)
else: else:
self.play_button.set_image(Gtk.Image.new_from_icon_name("media-playback-start-symbolic", Gtk.IconSize.DND)) self.play_button.set_image(Gtk.Image.new_from_icon_name("media-playback-start-symbolic", self.icon_size))
self.prev_button.set_sensitive(False) self.prev_button.set_sensitive(False)
self.next_button.set_sensitive(False) self.next_button.set_sensitive(False)
return True return True
@ -1040,22 +1068,25 @@ class SeekBar(Gtk.Box):
return True return True
class PlaybackOptions(Gtk.Box): class PlaybackOptions(Gtk.Box):
def __init__(self, client): def __init__(self, client, settings):
Gtk.Box.__init__(self) Gtk.Box.__init__(self)
#adding vars #adding vars
self.client=client self.client=client
self.settings=settings
self.icon_size=self.settings.get_gtk_icon_size("icon-size")
#widgets #widgets
self.random=Gtk.ToggleButton(image=Gtk.Image.new_from_icon_name("media-playlist-shuffle-symbolic", Gtk.IconSize.DND)) self.random=Gtk.ToggleButton(image=Gtk.Image.new_from_icon_name("media-playlist-shuffle-symbolic", self.icon_size))
self.random.set_tooltip_text(_("Random mode")) self.random.set_tooltip_text(_("Random mode"))
self.repeat=Gtk.ToggleButton(image=Gtk.Image.new_from_icon_name("media-playlist-repeat-symbolic", Gtk.IconSize.DND)) self.repeat=Gtk.ToggleButton(image=Gtk.Image.new_from_icon_name("media-playlist-repeat-symbolic", self.icon_size))
self.repeat.set_tooltip_text(_("Repeat mode")) self.repeat.set_tooltip_text(_("Repeat mode"))
self.single=Gtk.ToggleButton(image=Gtk.Image.new_from_icon_name("zoom-original-symbolic", Gtk.IconSize.DND)) self.single=Gtk.ToggleButton(image=Gtk.Image.new_from_icon_name("zoom-original-symbolic", self.icon_size))
self.single.set_tooltip_text(_("Single mode")) self.single.set_tooltip_text(_("Single mode"))
self.consume=Gtk.ToggleButton(image=Gtk.Image.new_from_icon_name("edit-cut-symbolic", Gtk.IconSize.DND)) self.consume=Gtk.ToggleButton(image=Gtk.Image.new_from_icon_name("edit-cut-symbolic", self.icon_size))
self.consume.set_tooltip_text(_("Consume mode")) self.consume.set_tooltip_text(_("Consume mode"))
self.volume=Gtk.VolumeButton() self.volume=Gtk.VolumeButton()
self.volume.set_property("size", self.icon_size)
#connect #connect
self.random_toggled=self.random.connect("toggled", self.set_random) self.random_toggled=self.random.connect("toggled", self.set_random)
@ -1520,6 +1551,7 @@ class MainWindow(Gtk.ApplicationWindow):
#adding vars #adding vars
self.client=client self.client=client
self.songid_playing=None self.songid_playing=None
self.icon_size=self.settings.get_gtk_icon_size("icon-size")
#actions #actions
save_action = Gio.SimpleAction.new("save", None) save_action = Gio.SimpleAction.new("save", None)
@ -1544,13 +1576,13 @@ class MainWindow(Gtk.ApplicationWindow):
self.profiles.set_tooltip_text(_("Select profile")) self.profiles.set_tooltip_text(_("Select profile"))
self.control=ClientControl(self.client, self.settings) self.control=ClientControl(self.client, self.settings)
self.progress=SeekBar(self.client) self.progress=SeekBar(self.client)
self.go_home_button=Gtk.Button(image=Gtk.Image.new_from_icon_name("go-home-symbolic", Gtk.IconSize.DND)) self.go_home_button=Gtk.Button(image=Gtk.Image.new_from_icon_name("go-home-symbolic", self.icon_size))
self.go_home_button.set_tooltip_text(_("Return to album of current title")) self.go_home_button.set_tooltip_text(_("Return to album of current title"))
self.search_button=Gtk.Button(image=Gtk.Image.new_from_icon_name("system-search-symbolic", Gtk.IconSize.DND)) self.search_button=Gtk.Button(image=Gtk.Image.new_from_icon_name("system-search-symbolic", self.icon_size))
self.search_button.set_tooltip_text(_("Title search")) self.search_button.set_tooltip_text(_("Title search"))
self.lyrics_button=Gtk.ToggleButton(image=Gtk.Image.new_from_icon_name("media-view-subtitles-symbolic", Gtk.IconSize.DND)) self.lyrics_button=Gtk.ToggleButton(image=Gtk.Image.new_from_icon_name("media-view-subtitles-symbolic", self.icon_size))
self.lyrics_button.set_tooltip_text(_("Show lyrics")) self.lyrics_button.set_tooltip_text(_("Show lyrics"))
self.play_opts=PlaybackOptions(self.client) self.play_opts=PlaybackOptions(self.client, self.settings)
#info bar #info bar
self.info_bar=Gtk.InfoBar.new() self.info_bar=Gtk.InfoBar.new()

View File

@ -31,6 +31,11 @@
<summary>Size of main cover</summary> <summary>Size of main cover</summary>
<description></description> <description></description>
</key> </key>
<key type="i" name="icon-size">
<default>16</default>
<summary>Size of button icons in control bar</summary>
<description></description>
</key>
<key type="b" name="show-stop"> <key type="b" name="show-stop">
<default>false</default> <default>false</default>
<summary>Show stop button</summary> <summary>Show stop button</summary>

118
po/de.po
View File

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-01-17 22:33+0100\n" "POT-Creation-Date: 2020-01-28 19:56+0100\n"
"PO-Revision-Date: 2020-01-17 22:34+0100\n" "PO-Revision-Date: 2020-01-28 19:58+0100\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: de\n" "Language: de\n"
@ -18,140 +18,144 @@ msgstr ""
"X-Generator: Poedit 2.2.4\n" "X-Generator: Poedit 2.2.4\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: mpdevil.py:120 mpdevil.py:328 mpdevil.py:1302 #: mpdevil.py:159 mpdevil.py:368 mpdevil.py:1366
msgid "No" msgid "No"
msgstr "Nr." msgstr "Nr."
#: mpdevil.py:125 mpdevil.py:333 mpdevil.py:1307 #: mpdevil.py:164 mpdevil.py:373 mpdevil.py:1372
msgid "Title" msgid "Title"
msgstr "Titel" msgstr "Titel"
#: mpdevil.py:130 mpdevil.py:338 mpdevil.py:1312 #: mpdevil.py:169 mpdevil.py:378 mpdevil.py:1378
msgid "Artist" msgid "Artist"
msgstr "Interpret" msgstr "Interpret"
#: mpdevil.py:135 mpdevil.py:343 mpdevil.py:1322 #: mpdevil.py:174 mpdevil.py:383 mpdevil.py:1390
msgid "Length" msgid "Length"
msgstr "Länge" msgstr "Länge"
#: mpdevil.py:174 mpdevil.py:431 mpdevil.py:1358 #: mpdevil.py:214 mpdevil.py:483 mpdevil.py:1427
msgid "Unknown Title" msgid "Unknown Title"
msgstr "Unbekannter Titel" msgstr "Unbekannter Titel"
#: mpdevil.py:178 mpdevil.py:439 mpdevil.py:1366 #: mpdevil.py:218 mpdevil.py:491 mpdevil.py:1435
msgid "Unknown Artist" msgid "Unknown Artist"
msgstr "Unbekannter Künstler" msgstr "Unbekannter Künstler"
#: mpdevil.py:214 #: mpdevil.py:254
msgid "Album Artist" msgid "Album Artist"
msgstr "Albuminterpret" msgstr "Albuminterpret"
#: mpdevil.py:273 #: mpdevil.py:313 mpdevil.py:504
#, python-format #, python-format
msgid "%(total_tracks)i titles (%(total_length)s)" msgid "%(total_tracks)i titles (%(total_length)s)"
msgstr "%(total_tracks)i Titel (%(total_length)s)" msgstr "%(total_tracks)i Titel (%(total_length)s)"
#: mpdevil.py:443 mpdevil.py:1370 #: mpdevil.py:495 mpdevil.py:1439
msgid "Unknown Album" msgid "Unknown Album"
msgstr "Unbekanntes Album" msgstr "Unbekanntes Album"
#: mpdevil.py:669 #: mpdevil.py:725
msgid "Select" msgid "Select"
msgstr "Auswählen" msgstr "Auswählen"
#: mpdevil.py:671 #: mpdevil.py:727
msgid "Profile:" msgid "Profile:"
msgstr "Profil:" msgstr "Profil:"
#: mpdevil.py:673 #: mpdevil.py:729
msgid "Name:" msgid "Name:"
msgstr "Name:" msgstr "Name:"
#: mpdevil.py:675 #: mpdevil.py:731
msgid "Host:" msgid "Host:"
msgstr "Host:" msgstr "Host:"
#: mpdevil.py:677 #: mpdevil.py:733
msgid "Port:" msgid "Port:"
msgstr "Port:" msgstr "Port:"
#: mpdevil.py:679 #: mpdevil.py:735
msgid "Music lib:" msgid "Music lib:"
msgstr "Musikverzeichnis:" msgstr "Musikverzeichnis:"
#: mpdevil.py:769 #: mpdevil.py:810
msgid "Choose directory" msgid "Choose directory"
msgstr "Verzeichnis Wählen" msgstr "Verzeichnis Wählen"
#: mpdevil.py:805 #: mpdevil.py:846
msgid "Main cover size:" msgid "Main cover size:"
msgstr "Größe des Haupt-Covers:" msgstr "Größe des Haupt-Covers:"
#: mpdevil.py:807 #: mpdevil.py:848
msgid "Album-view cover size:" msgid "Album-view cover size:"
msgstr "Covergröße in Albumansicht:" msgstr "Covergröße in Albumansicht:"
#: mpdevil.py:813 #: mpdevil.py:854
msgid "Button icon size (restart required):"
msgstr "Symbolgröße der Knöpfe (Neustart erforderlich):"
#: mpdevil.py:863
msgid "Show stop button" msgid "Show stop button"
msgstr "Zeige Stopp-Knopf" msgstr "Zeige Stopp-Knopf"
#: mpdevil.py:816 #: mpdevil.py:866
msgid "Show tooltips in album view" msgid "Show tooltips in album view"
msgstr "Zeige Tooltips in Albumansicht" msgstr "Zeige Tooltips in Albumansicht"
#: mpdevil.py:819 #: mpdevil.py:869
msgid "Send notification on title change" msgid "Send notification on title change"
msgstr "Sende Benachrichtigung bei Titelwechsel" msgstr "Sende Benachrichtigung bei Titelwechsel"
#: mpdevil.py:822 #: mpdevil.py:872
msgid "Stop playback on quit" msgid "Stop playback on quit"
msgstr "Wiedergabe beim Beenden stoppen" msgstr "Wiedergabe beim Beenden stoppen"
#: mpdevil.py:825 #: mpdevil.py:875
msgid "Play selected album after current title" msgid "Play selected album after current title"
msgstr "Ausgewähltes Album hinter aktuellem Titel einreihen" msgstr "Ausgewähltes Album hinter aktuellem Titel einreihen"
#: mpdevil.py:856 mpdevil.py:1534 #: mpdevil.py:913 mpdevil.py:1596
msgid "Settings" msgid "Settings"
msgstr "Einstellungen" msgstr "Einstellungen"
#: mpdevil.py:869 #: mpdevil.py:926
msgid "General" msgid "General"
msgstr "Allgemein" msgstr "Allgemein"
#: mpdevil.py:870 #: mpdevil.py:927
msgid "Profiles" msgid "Profiles"
msgstr "Profile" msgstr "Profile"
#: mpdevil.py:1018 #: mpdevil.py:1081
msgid "Random mode" msgid "Random mode"
msgstr "Zufallsmodus" msgstr "Zufallsmodus"
#: mpdevil.py:1020 #: mpdevil.py:1083
msgid "Repeat mode" msgid "Repeat mode"
msgstr "Dauerschleife" msgstr "Dauerschleife"
#: mpdevil.py:1022 #: mpdevil.py:1085
msgid "Single mode" msgid "Single mode"
msgstr "Einzelstückmodus" msgstr "Einzelstückmodus"
#: mpdevil.py:1024 #: mpdevil.py:1087
msgid "Consume mode" msgid "Consume mode"
msgstr "Playliste verbrauchen" msgstr "Playliste verbrauchen"
#: mpdevil.py:1118 #: mpdevil.py:1182
msgid "Right click to show additional information" msgid "Right click to show additional information"
msgstr "Rechtsclick für weitere Informationen" msgstr "Rechtsclick für weitere Informationen"
#: mpdevil.py:1141 #: mpdevil.py:1206
msgid "MPD-Tag" msgid "MPD-Tag"
msgstr "MPD-Tag" msgstr "MPD-Tag"
#: mpdevil.py:1144 mpdevil.py:1252 #: mpdevil.py:1209 mpdevil.py:1316
msgid "Value" msgid "Value"
msgstr "Wert" msgstr "Wert"
#: mpdevil.py:1165 #: mpdevil.py:1230
#, python-format #, python-format
msgid "" msgid ""
"%(bitrate)s kb/s, %(frequency)s kHz, %(resolution)s bit, %(channels)s " "%(bitrate)s kb/s, %(frequency)s kHz, %(resolution)s bit, %(channels)s "
@ -160,88 +164,88 @@ msgstr ""
"%(bitrate)s kb/s, %(frequency)s kHz, %(resolution)s bit, %(channels)s " "%(bitrate)s kb/s, %(frequency)s kHz, %(resolution)s bit, %(channels)s "
"Kanäle, %(file_type)s" "Kanäle, %(file_type)s"
#: mpdevil.py:1231 #: mpdevil.py:1295
msgid "Stats" msgid "Stats"
msgstr "Statistik" msgstr "Statistik"
#: mpdevil.py:1249 #: mpdevil.py:1313
msgid "Tag" msgid "Tag"
msgstr "Tag" msgstr "Tag"
#: mpdevil.py:1269 #: mpdevil.py:1333
msgid "Search" msgid "Search"
msgstr "Suche" msgstr "Suche"
#: mpdevil.py:1317 #: mpdevil.py:1384
msgid "Album" msgid "Album"
msgstr "Album" msgstr "Album"
#: mpdevil.py:1377 #: mpdevil.py:1446
#, python-format #, python-format
msgid "Hits: %i" msgid "Hits: %i"
msgstr "Treffer: %i" msgstr "Treffer: %i"
#: mpdevil.py:1381 #: mpdevil.py:1450
msgid "Lyrics" msgid "Lyrics"
msgstr "Liedtext" msgstr "Liedtext"
#: mpdevil.py:1425 #: mpdevil.py:1490
msgid "searching..." msgid "searching..."
msgstr "suche..." msgstr "suche..."
#: mpdevil.py:1429 #: mpdevil.py:1494
msgid "not found" msgid "not found"
msgstr "nicht gefunden" msgstr "nicht gefunden"
#: mpdevil.py:1434 #: mpdevil.py:1499
msgid "not connected" msgid "not connected"
msgstr "nicht verbunden" msgstr "nicht verbunden"
#: mpdevil.py:1514 #: mpdevil.py:1576
msgid "Select profile" msgid "Select profile"
msgstr "Profil auswählen" msgstr "Profil auswählen"
#: mpdevil.py:1518 #: mpdevil.py:1580
msgid "Return to album of current title" msgid "Return to album of current title"
msgstr "Zu Album des aktuellen Titels zurückkehren" msgstr "Zu Album des aktuellen Titels zurückkehren"
#: mpdevil.py:1520 #: mpdevil.py:1582
msgid "Title search" msgid "Title search"
msgstr "Titelsuche" msgstr "Titelsuche"
#: mpdevil.py:1522 #: mpdevil.py:1584
msgid "Show lyrics" msgid "Show lyrics"
msgstr "Zeige Liedtext" msgstr "Zeige Liedtext"
#: mpdevil.py:1529 #: mpdevil.py:1591
msgid "Not connected to MPD-server. Reconnect?" msgid "Not connected to MPD-server. Reconnect?"
msgstr "Nicht mit MPD-Server verbunden. Verbindung wiederherstellen?" msgstr "Nicht mit MPD-Server verbunden. Verbindung wiederherstellen?"
#: mpdevil.py:1533 #: mpdevil.py:1595
msgid "Save window size" msgid "Save window size"
msgstr "Fenstergröße speichern" msgstr "Fenstergröße speichern"
#: mpdevil.py:1535 #: mpdevil.py:1597
msgid "Update database" msgid "Update database"
msgstr "Datenbank aktualisieren" msgstr "Datenbank aktualisieren"
#: mpdevil.py:1536 #: mpdevil.py:1598
msgid "Server stats" msgid "Server stats"
msgstr "Serverstatistik" msgstr "Serverstatistik"
#: mpdevil.py:1537 #: mpdevil.py:1599
msgid "About" msgid "About"
msgstr "Über" msgstr "Über"
#: mpdevil.py:1538 #: mpdevil.py:1600
msgid "Quit" msgid "Quit"
msgstr "Beenden" msgstr "Beenden"
#: mpdevil.py:1543 #: mpdevil.py:1605
msgid "Main menu" msgid "Main menu"
msgstr "Hauptmenu" msgstr "Hauptmenu"
#: mpdevil.py:1696 #: mpdevil.py:1758
msgid "A small MPD client written in python" msgid "A small MPD client written in python"
msgstr "" msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-01-17 22:33+0100\n" "POT-Creation-Date: 2020-01-28 19:56+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,227 +17,231 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: mpdevil.py:120 mpdevil.py:328 mpdevil.py:1302 #: mpdevil.py:159 mpdevil.py:368 mpdevil.py:1366
msgid "No" msgid "No"
msgstr "" msgstr ""
#: mpdevil.py:125 mpdevil.py:333 mpdevil.py:1307 #: mpdevil.py:164 mpdevil.py:373 mpdevil.py:1372
msgid "Title" msgid "Title"
msgstr "" msgstr ""
#: mpdevil.py:130 mpdevil.py:338 mpdevil.py:1312 #: mpdevil.py:169 mpdevil.py:378 mpdevil.py:1378
msgid "Artist" msgid "Artist"
msgstr "" msgstr ""
#: mpdevil.py:135 mpdevil.py:343 mpdevil.py:1322 #: mpdevil.py:174 mpdevil.py:383 mpdevil.py:1390
msgid "Length" msgid "Length"
msgstr "" msgstr ""
#: mpdevil.py:174 mpdevil.py:431 mpdevil.py:1358 #: mpdevil.py:214 mpdevil.py:483 mpdevil.py:1427
msgid "Unknown Title" msgid "Unknown Title"
msgstr "" msgstr ""
#: mpdevil.py:178 mpdevil.py:439 mpdevil.py:1366 #: mpdevil.py:218 mpdevil.py:491 mpdevil.py:1435
msgid "Unknown Artist" msgid "Unknown Artist"
msgstr "" msgstr ""
#: mpdevil.py:214 #: mpdevil.py:254
msgid "Album Artist" msgid "Album Artist"
msgstr "" msgstr ""
#: mpdevil.py:273 #: mpdevil.py:313 mpdevil.py:504
#, python-format #, python-format
msgid "%(total_tracks)i titles (%(total_length)s)" msgid "%(total_tracks)i titles (%(total_length)s)"
msgstr "" msgstr ""
#: mpdevil.py:443 mpdevil.py:1370 #: mpdevil.py:495 mpdevil.py:1439
msgid "Unknown Album" msgid "Unknown Album"
msgstr "" msgstr ""
#: mpdevil.py:669 #: mpdevil.py:725
msgid "Select" msgid "Select"
msgstr "" msgstr ""
#: mpdevil.py:671 #: mpdevil.py:727
msgid "Profile:" msgid "Profile:"
msgstr "" msgstr ""
#: mpdevil.py:673 #: mpdevil.py:729
msgid "Name:" msgid "Name:"
msgstr "" msgstr ""
#: mpdevil.py:675 #: mpdevil.py:731
msgid "Host:" msgid "Host:"
msgstr "" msgstr ""
#: mpdevil.py:677 #: mpdevil.py:733
msgid "Port:" msgid "Port:"
msgstr "" msgstr ""
#: mpdevil.py:679 #: mpdevil.py:735
msgid "Music lib:" msgid "Music lib:"
msgstr "" msgstr ""
#: mpdevil.py:769 #: mpdevil.py:810
msgid "Choose directory" msgid "Choose directory"
msgstr "" msgstr ""
#: mpdevil.py:805 #: mpdevil.py:846
msgid "Main cover size:" msgid "Main cover size:"
msgstr "" msgstr ""
#: mpdevil.py:807 #: mpdevil.py:848
msgid "Album-view cover size:" msgid "Album-view cover size:"
msgstr "" msgstr ""
#: mpdevil.py:813 #: mpdevil.py:854
msgid "Button icon size (restart required):"
msgstr ""
#: mpdevil.py:863
msgid "Show stop button" msgid "Show stop button"
msgstr "" msgstr ""
#: mpdevil.py:816 #: mpdevil.py:866
msgid "Show tooltips in album view" msgid "Show tooltips in album view"
msgstr "" msgstr ""
#: mpdevil.py:819 #: mpdevil.py:869
msgid "Send notification on title change" msgid "Send notification on title change"
msgstr "" msgstr ""
#: mpdevil.py:822 #: mpdevil.py:872
msgid "Stop playback on quit" msgid "Stop playback on quit"
msgstr "" msgstr ""
#: mpdevil.py:825 #: mpdevil.py:875
msgid "Play selected album after current title" msgid "Play selected album after current title"
msgstr "" msgstr ""
#: mpdevil.py:856 mpdevil.py:1534 #: mpdevil.py:913 mpdevil.py:1596
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
#: mpdevil.py:869 #: mpdevil.py:926
msgid "General" msgid "General"
msgstr "" msgstr ""
#: mpdevil.py:870 #: mpdevil.py:927
msgid "Profiles" msgid "Profiles"
msgstr "" msgstr ""
#: mpdevil.py:1018 #: mpdevil.py:1081
msgid "Random mode" msgid "Random mode"
msgstr "" msgstr ""
#: mpdevil.py:1020 #: mpdevil.py:1083
msgid "Repeat mode" msgid "Repeat mode"
msgstr "" msgstr ""
#: mpdevil.py:1022 #: mpdevil.py:1085
msgid "Single mode" msgid "Single mode"
msgstr "" msgstr ""
#: mpdevil.py:1024 #: mpdevil.py:1087
msgid "Consume mode" msgid "Consume mode"
msgstr "" msgstr ""
#: mpdevil.py:1118 #: mpdevil.py:1182
msgid "Right click to show additional information" msgid "Right click to show additional information"
msgstr "" msgstr ""
#: mpdevil.py:1141 #: mpdevil.py:1206
msgid "MPD-Tag" msgid "MPD-Tag"
msgstr "" msgstr ""
#: mpdevil.py:1144 mpdevil.py:1252 #: mpdevil.py:1209 mpdevil.py:1316
msgid "Value" msgid "Value"
msgstr "" msgstr ""
#: mpdevil.py:1165 #: mpdevil.py:1230
#, python-format #, python-format
msgid "" msgid ""
"%(bitrate)s kb/s, %(frequency)s kHz, %(resolution)s bit, %(channels)s " "%(bitrate)s kb/s, %(frequency)s kHz, %(resolution)s bit, %(channels)s "
"channels, %(file_type)s" "channels, %(file_type)s"
msgstr "" msgstr ""
#: mpdevil.py:1231 #: mpdevil.py:1295
msgid "Stats" msgid "Stats"
msgstr "" msgstr ""
#: mpdevil.py:1249 #: mpdevil.py:1313
msgid "Tag" msgid "Tag"
msgstr "" msgstr ""
#: mpdevil.py:1269 #: mpdevil.py:1333
msgid "Search" msgid "Search"
msgstr "" msgstr ""
#: mpdevil.py:1317 #: mpdevil.py:1384
msgid "Album" msgid "Album"
msgstr "" msgstr ""
#: mpdevil.py:1377 #: mpdevil.py:1446
#, python-format #, python-format
msgid "Hits: %i" msgid "Hits: %i"
msgstr "" msgstr ""
#: mpdevil.py:1381 #: mpdevil.py:1450
msgid "Lyrics" msgid "Lyrics"
msgstr "" msgstr ""
#: mpdevil.py:1425 #: mpdevil.py:1490
msgid "searching..." msgid "searching..."
msgstr "" msgstr ""
#: mpdevil.py:1429 #: mpdevil.py:1494
msgid "not found" msgid "not found"
msgstr "" msgstr ""
#: mpdevil.py:1434 #: mpdevil.py:1499
msgid "not connected" msgid "not connected"
msgstr "" msgstr ""
#: mpdevil.py:1514 #: mpdevil.py:1576
msgid "Select profile" msgid "Select profile"
msgstr "" msgstr ""
#: mpdevil.py:1518 #: mpdevil.py:1580
msgid "Return to album of current title" msgid "Return to album of current title"
msgstr "" msgstr ""
#: mpdevil.py:1520 #: mpdevil.py:1582
msgid "Title search" msgid "Title search"
msgstr "" msgstr ""
#: mpdevil.py:1522 #: mpdevil.py:1584
msgid "Show lyrics" msgid "Show lyrics"
msgstr "" msgstr ""
#: mpdevil.py:1529 #: mpdevil.py:1591
msgid "Not connected to MPD-server. Reconnect?" msgid "Not connected to MPD-server. Reconnect?"
msgstr "" msgstr ""
#: mpdevil.py:1533 #: mpdevil.py:1595
msgid "Save window size" msgid "Save window size"
msgstr "" msgstr ""
#: mpdevil.py:1535 #: mpdevil.py:1597
msgid "Update database" msgid "Update database"
msgstr "" msgstr ""
#: mpdevil.py:1536 #: mpdevil.py:1598
msgid "Server stats" msgid "Server stats"
msgstr "" msgstr ""
#: mpdevil.py:1537 #: mpdevil.py:1599
msgid "About" msgid "About"
msgstr "" msgstr ""
#: mpdevil.py:1538 #: mpdevil.py:1600
msgid "Quit" msgid "Quit"
msgstr "" msgstr ""
#: mpdevil.py:1543 #: mpdevil.py:1605
msgid "Main menu" msgid "Main menu"
msgstr "" msgstr ""
#: mpdevil.py:1696 #: mpdevil.py:1758
msgid "A small MPD client written in python" msgid "A small MPD client written in python"
msgstr "" msgstr ""