improved visual sort index

This commit is contained in:
Martin Wagner 2020-03-12 17:09:24 +01:00
parent 6196f83ffc
commit d059a1c9eb
4 changed files with 168 additions and 149 deletions

View File

@ -417,8 +417,8 @@ class ArtistView(Gtk.ScrolledWindow):
self.genre_select=genre_select self.genre_select=genre_select
#artistStore #artistStore
#(name, weight, font-scale, selectable) #(name, initial-letter, weight, font-scale)
self.store = Gtk.ListStore(str, Pango.Weight, float, bool) self.store = Gtk.ListStore(str, str, Pango.Weight, float)
#TreeView #TreeView
self.treeview = Gtk.TreeView(model=self.store) self.treeview = Gtk.TreeView(model=self.store)
@ -428,14 +428,17 @@ class ArtistView(Gtk.ScrolledWindow):
#artistSelection #artistSelection
self.selection = self.treeview.get_selection() self.selection = self.treeview.get_selection()
self.selection.set_mode(Gtk.SelectionMode.MULTIPLE) self.selection.set_mode(Gtk.SelectionMode.MULTIPLE)
def selection_function(selection, model, path, path_currently_selected, *data):
treeiter=model.get_iter(path)
return model.get_value(treeiter, 3)
self.selection.set_select_function(selection_function)
#Old Name Column #Columns
renderer_text_malign = Gtk.CellRendererText(xalign=0.5)
self.column_initials = Gtk.TreeViewColumn("", renderer_text_malign, text=1, weight=2, scale=3)
self.column_initials.set_sizing(Gtk.TreeViewColumnSizing.AUTOSIZE)
self.column_initials.set_property("resizable", False)
self.column_initials.set_visible(self.settings.get_boolean("show-initials"))
self.treeview.append_column(self.column_initials)
renderer_text = Gtk.CellRendererText() renderer_text = Gtk.CellRendererText()
self.column_name = Gtk.TreeViewColumn("", renderer_text, text=0, weight=1, scale=2) self.column_name = Gtk.TreeViewColumn("", renderer_text, text=0)
self.column_name.set_sizing(Gtk.TreeViewColumnSizing.AUTOSIZE) self.column_name.set_sizing(Gtk.TreeViewColumnSizing.AUTOSIZE)
self.column_name.set_property("resizable", False) self.column_name.set_property("resizable", False)
self.treeview.append_column(self.column_name) self.treeview.append_column(self.column_name)
@ -443,6 +446,7 @@ class ArtistView(Gtk.ScrolledWindow):
#connect #connect
self.treeview.connect("enter-notify-event", self.on_enter_event) self.treeview.connect("enter-notify-event", self.on_enter_event)
self.settings.connect("changed::show-all-artists", self.refresh) self.settings.connect("changed::show-all-artists", self.refresh)
self.settings.connect("changed::show-initials", self.on_show_initials_settings_changed)
self.update_signal=self.emitter.connect("update", self.refresh) self.update_signal=self.emitter.connect("update", self.refresh)
self.add(self.treeview) self.add(self.treeview)
@ -466,11 +470,12 @@ class ArtistView(Gtk.ScrolledWindow):
for artist in artists: for artist in artists:
try: try:
if current_char != artist[0]: if current_char != artist[0]:
self.store.append([artist[0], Pango.Weight.BOLD, 1.3, False]) self.store.append([artist, artist[0], Pango.Weight.BOLD, 1])
current_char=artist[0] current_char=artist[0]
else:
self.store.append([artist, "", Pango.Weight.BOOK, 1])
except: except:
pass self.store.append([artist, "", Pango.Weight.BOOK, 1])
self.store.append([artist, Pango.Weight.BOOK, 1, True])
self.selection.set_mode(Gtk.SelectionMode.MULTIPLE) self.selection.set_mode(Gtk.SelectionMode.MULTIPLE)
def get_selected_artists(self): def get_selected_artists(self):
@ -483,12 +488,12 @@ class ArtistView(Gtk.ScrolledWindow):
artists.append(selected_artist) artists.append(selected_artist)
return artists return artists
def is_iter_selectable(self, iter):
return self.store.get_value(iter, 3)
def on_enter_event(self, widget, event): def on_enter_event(self, widget, event):
self.treeview.grab_focus() self.treeview.grab_focus()
def on_show_initials_settings_changed(self, *args):
self.column_initials.set_visible(self.settings.get_boolean("show-initials"))
class AlbumIconView(Gtk.IconView): class AlbumIconView(Gtk.IconView):
def __init__(self, client, settings, genre_select, window): def __init__(self, client, settings, genre_select, window):
Gtk.IconView.__init__(self) Gtk.IconView.__init__(self)
@ -1091,7 +1096,7 @@ class Browser(Gtk.Box):
for i in range(0, row_num): for i in range(0, row_num):
path=Gtk.TreePath(i) path=Gtk.TreePath(i)
treeiter = self.artist_list.store.get_iter(path) treeiter = self.artist_list.store.get_iter(path)
if self.artist_list.store.get_value(treeiter, 0) == song[self.settings.get_artist_type()] and self.artist_list.is_iter_selectable(treeiter): if self.artist_list.store.get_value(treeiter, 0) == song[self.settings.get_artist_type()]:
if not self.artist_list.selection.iter_is_selected(treeiter): if not self.artist_list.selection.iter_is_selected(treeiter):
self.artist_list.selection.handler_block(self.artist_change) self.artist_list.selection.handler_block(self.artist_change)
self.artist_list.selection.unselect_all() self.artist_list.selection.unselect_all()
@ -1327,7 +1332,8 @@ class GeneralSettings(Gtk.Grid):
#fill store #fill store
settings_list=[(_("Use alternative layout"), "alt-layout"), (_("Show stop button"), "show-stop"), \ settings_list=[(_("Use alternative layout"), "alt-layout"), (_("Show stop button"), "show-stop"), \
(_("Show genre filter"), "show-genre-filter"), (_("Show tooltips in album view"), "show-album-view-tooltips"), \ (_("Show genre filter"), "show-genre-filter"), (_("Show initials in artist view"), "show-initials"), \
(_("Show tooltips in album view"), "show-album-view-tooltips"), \
(_("Sort albums by year"), "sort-albums-by-year"), (_("Show all artists"), "show-all-artists"), \ (_("Sort albums by year"), "sort-albums-by-year"), (_("Show all artists"), "show-all-artists"), \
(_("Send notification on title change"), "send-notify"), (_("Stop playback on quit"), "stop-on-quit"), \ (_("Send notification on title change"), "send-notify"), (_("Stop playback on quit"), "stop-on-quit"), \
(_("Play selected album after current title"), "add-album")] (_("Play selected album after current title"), "add-album")]

View File

@ -46,6 +46,11 @@
<summary>Show genre filter</summary> <summary>Show genre filter</summary>
<description></description> <description></description>
</key> </key>
<key type="b" name="show-initials">
<default>true</default>
<summary>Show initial letters in artist-view</summary>
<description></description>
</key>
<key type="b" name="show-album-view-tooltips"> <key type="b" name="show-album-view-tooltips">
<default>true</default> <default>true</default>
<summary>Show tooltips in album-view</summary> <summary>Show tooltips in album-view</summary>

138
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-03-06 11:33+0100\n" "POT-Creation-Date: 2020-03-12 17:05+0100\n"
"PO-Revision-Date: 2020-03-06 11:36+0100\n" "PO-Revision-Date: 2020-03-12 17:06+0100\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: de\n" "Language: de\n"
@ -18,27 +18,27 @@ 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:293 mpdevil.py:780 mpdevil.py:1383 mpdevil.py:1911 #: mpdevil.py:293 mpdevil.py:798 mpdevil.py:1402 mpdevil.py:1930
msgid "No" msgid "No"
msgstr "Nr." msgstr "Nr."
#: mpdevil.py:298 mpdevil.py:786 mpdevil.py:1383 mpdevil.py:1917 #: mpdevil.py:298 mpdevil.py:804 mpdevil.py:1402 mpdevil.py:1936
msgid "Title" msgid "Title"
msgstr "Titel" msgstr "Titel"
#: mpdevil.py:303 mpdevil.py:459 mpdevil.py:789 mpdevil.py:1383 mpdevil.py:1923 #: mpdevil.py:303 mpdevil.py:463 mpdevil.py:807 mpdevil.py:1402 mpdevil.py:1942
msgid "Artist" msgid "Artist"
msgstr "Interpret" msgstr "Interpret"
#: mpdevil.py:308 mpdevil.py:795 mpdevil.py:1383 mpdevil.py:1935 #: mpdevil.py:308 mpdevil.py:813 mpdevil.py:1402 mpdevil.py:1954
msgid "Length" msgid "Length"
msgstr "Länge" msgstr "Länge"
#: mpdevil.py:348 mpdevil.py:950 mpdevil.py:1975 #: mpdevil.py:348 mpdevil.py:968 mpdevil.py:1994
msgid "Unknown Title" msgid "Unknown Title"
msgstr "Unbekannter Titel" msgstr "Unbekannter Titel"
#: mpdevil.py:352 mpdevil.py:962 mpdevil.py:1983 #: mpdevil.py:352 mpdevil.py:980 mpdevil.py:2002
msgid "Unknown Artist" msgid "Unknown Artist"
msgstr "Unbekannter Interpret" msgstr "Unbekannter Interpret"
@ -46,168 +46,172 @@ msgstr "Unbekannter Interpret"
msgid "all genres" msgid "all genres"
msgstr "Alle Genres" msgstr "Alle Genres"
#: mpdevil.py:457 #: mpdevil.py:461
msgid "Album Artist" msgid "Album Artist"
msgstr "Albuminterpret" msgstr "Albuminterpret"
#: mpdevil.py:548 mpdevil.py:881 #: mpdevil.py:553 mpdevil.py:899
#, 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:783 mpdevil.py:1383 #: mpdevil.py:801 mpdevil.py:1402
msgid "Disc" msgid "Disc"
msgstr "CD" msgstr "CD"
#: mpdevil.py:792 mpdevil.py:1383 mpdevil.py:1929 #: mpdevil.py:810 mpdevil.py:1402 mpdevil.py:1948
msgid "Album" msgid "Album"
msgstr "Album" msgstr "Album"
#: mpdevil.py:798 mpdevil.py:1383 #: mpdevil.py:816 mpdevil.py:1402
msgid "Year" msgid "Year"
msgstr "Jahr" msgstr "Jahr"
#: mpdevil.py:801 mpdevil.py:1383 #: mpdevil.py:819 mpdevil.py:1402
msgid "Genre" msgid "Genre"
msgstr "Genre" msgstr "Genre"
#: mpdevil.py:966 mpdevil.py:1987 #: mpdevil.py:984 mpdevil.py:2006
msgid "Unknown Album" msgid "Unknown Album"
msgstr "Unbekanntes Album" msgstr "Unbekanntes Album"
#: mpdevil.py:1136 #: mpdevil.py:1154
msgid "Select" msgid "Select"
msgstr "Auswählen" msgstr "Auswählen"
#: mpdevil.py:1138 #: mpdevil.py:1156
msgid "Profile:" msgid "Profile:"
msgstr "Profil:" msgstr "Profil:"
#: mpdevil.py:1140 #: mpdevil.py:1158
msgid "Name:" msgid "Name:"
msgstr "Name:" msgstr "Name:"
#: mpdevil.py:1142 #: mpdevil.py:1160
msgid "Host:" msgid "Host:"
msgstr "Host:" msgstr "Host:"
#: mpdevil.py:1144 #: mpdevil.py:1162
msgid "Port:" msgid "Port:"
msgstr "Port:" msgstr "Port:"
#: mpdevil.py:1146 #: mpdevil.py:1164
msgid "Password:" msgid "Password:"
msgstr "Passwort:" msgstr "Passwort:"
#: mpdevil.py:1148 #: mpdevil.py:1166
msgid "Music lib:" msgid "Music lib:"
msgstr "Musikverzeichnis:" msgstr "Musikverzeichnis:"
#: mpdevil.py:1234 #: mpdevil.py:1252
msgid "Choose directory" msgid "Choose directory"
msgstr "Verzeichnis Wählen" msgstr "Verzeichnis Wählen"
#: mpdevil.py:1274 #: mpdevil.py:1292
msgid "Main cover size:" msgid "Main cover size:"
msgstr "Größe des Haupt-Covers:" msgstr "Größe des Haupt-Covers:"
#: mpdevil.py:1276 #: mpdevil.py:1294
msgid "Album-view cover size:" msgid "Album-view cover size:"
msgstr "Covergröße in Albumansicht:" msgstr "Covergröße in Albumansicht:"
#: mpdevil.py:1282 #: mpdevil.py:1300
msgid "Button icon size (restart required):" msgid "Button icon size (restart required):"
msgstr "Symbolgröße der Knöpfe (Neustart erforderlich):" msgstr "Symbolgröße der Knöpfe (Neustart erforderlich):"
#: mpdevil.py:1316 #: mpdevil.py:1334
msgid "Use alternative layout" msgid "Use alternative layout"
msgstr "Benutze alternatives Layout" msgstr "Benutze alternatives Layout"
#: mpdevil.py:1316 #: mpdevil.py:1334
msgid "Show stop button" msgid "Show stop button"
msgstr "Zeige Stopp-Knopf" msgstr "Zeige Stopp-Knopf"
#: mpdevil.py:1317 #: mpdevil.py:1335
msgid "Show genre filter" msgid "Show genre filter"
msgstr "Zeige Genre Filter" msgstr "Zeige Genre Filter"
#: mpdevil.py:1317 #: mpdevil.py:1335
msgid "Show initials in artist view"
msgstr "Zeige Anfangsbuchstaben in Interpretenspalte"
#: mpdevil.py:1336
msgid "Show tooltips in album view" msgid "Show tooltips in album view"
msgstr "Zeige Tooltips in Albumansicht" msgstr "Zeige Tooltips in Albumansicht"
#: mpdevil.py:1318 #: mpdevil.py:1337
msgid "Sort albums by year" msgid "Sort albums by year"
msgstr "Sortiere Alben nach Erscheinungsjahr" msgstr "Sortiere Alben nach Erscheinungsjahr"
#: mpdevil.py:1318 #: mpdevil.py:1337
msgid "Show all artists" msgid "Show all artists"
msgstr "Zeige alle Interpreten" msgstr "Zeige alle Interpreten"
#: mpdevil.py:1319 #: mpdevil.py:1338
msgid "Send notification on title change" msgid "Send notification on title change"
msgstr "Sende Benachrichtigung bei Titelwechsel" msgstr "Sende Benachrichtigung bei Titelwechsel"
#: mpdevil.py:1319 #: mpdevil.py:1338
msgid "Stop playback on quit" msgid "Stop playback on quit"
msgstr "Wiedergabe beim Beenden stoppen" msgstr "Wiedergabe beim Beenden stoppen"
#: mpdevil.py:1320 #: mpdevil.py:1339
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:1360 #: mpdevil.py:1379
msgid "Drag & Drop to rearange" msgid "Drag & Drop to rearange"
msgstr "Mit Drag & Drop sortieren" msgstr "Mit Drag & Drop sortieren"
#: mpdevil.py:1379 #: mpdevil.py:1398
msgid "Column" msgid "Column"
msgstr "Spalte" msgstr "Spalte"
#: mpdevil.py:1413 mpdevil.py:2130 #: mpdevil.py:1432 mpdevil.py:2149
msgid "Settings" msgid "Settings"
msgstr "Einstellungen" msgstr "Einstellungen"
#: mpdevil.py:1427 #: mpdevil.py:1446
msgid "General" msgid "General"
msgstr "Allgemein" msgstr "Allgemein"
#: mpdevil.py:1428 #: mpdevil.py:1447
msgid "Profiles" msgid "Profiles"
msgstr "Profile" msgstr "Profile"
#: mpdevil.py:1429 #: mpdevil.py:1448
msgid "Playlist" msgid "Playlist"
msgstr "Wiedergabeliste" msgstr "Wiedergabeliste"
#: mpdevil.py:1623 #: mpdevil.py:1642
msgid "Random mode" msgid "Random mode"
msgstr "Zufallsmodus" msgstr "Zufallsmodus"
#: mpdevil.py:1626 #: mpdevil.py:1645
msgid "Repeat mode" msgid "Repeat mode"
msgstr "Dauerschleife" msgstr "Dauerschleife"
#: mpdevil.py:1629 #: mpdevil.py:1648
msgid "Single mode" msgid "Single mode"
msgstr "Einzelstückmodus" msgstr "Einzelstückmodus"
#: mpdevil.py:1632 #: mpdevil.py:1651
msgid "Consume mode" msgid "Consume mode"
msgstr "Playliste verbrauchen" msgstr "Playliste verbrauchen"
#: mpdevil.py:1722 #: mpdevil.py:1741
msgid "Click to show additional information" msgid "Click to show additional information"
msgstr "Klicken für weitere Informationen" msgstr "Klicken für weitere Informationen"
#: mpdevil.py:1748 #: mpdevil.py:1767
msgid "MPD-Tag" msgid "MPD-Tag"
msgstr "MPD-Tag" msgstr "MPD-Tag"
#: mpdevil.py:1752 mpdevil.py:1856 #: mpdevil.py:1771 mpdevil.py:1875
msgid "Value" msgid "Value"
msgstr "Wert" msgstr "Wert"
#: mpdevil.py:1774 #: mpdevil.py:1793
#, 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 "
@ -216,76 +220,76 @@ 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:1834 #: mpdevil.py:1853
msgid "Stats" msgid "Stats"
msgstr "Statistik" msgstr "Statistik"
#: mpdevil.py:1853 #: mpdevil.py:1872
msgid "Tag" msgid "Tag"
msgstr "Tag" msgstr "Tag"
#: mpdevil.py:1873 #: mpdevil.py:1892
msgid "Search" msgid "Search"
msgstr "Suche" msgstr "Suche"
#: mpdevil.py:1994 #: mpdevil.py:2013
#, python-format #, python-format
msgid "Hits: %i" msgid "Hits: %i"
msgstr "Treffer: %i" msgstr "Treffer: %i"
#: mpdevil.py:1998 #: mpdevil.py:2017
msgid "Lyrics" msgid "Lyrics"
msgstr "Liedtext" msgstr "Liedtext"
#: mpdevil.py:2032 #: mpdevil.py:2051
msgid "searching..." msgid "searching..."
msgstr "suche..." msgstr "suche..."
#: mpdevil.py:2036 #: mpdevil.py:2055
msgid "not found" msgid "not found"
msgstr "nicht gefunden" msgstr "nicht gefunden"
#: mpdevil.py:2113 #: mpdevil.py:2132
msgid "Select profile" msgid "Select profile"
msgstr "Profil auswählen" msgstr "Profil auswählen"
#: mpdevil.py:2118 #: mpdevil.py:2137
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:2121 #: mpdevil.py:2140
msgid "Title search" msgid "Title search"
msgstr "Titelsuche" msgstr "Titelsuche"
#: mpdevil.py:2124 #: mpdevil.py:2143
msgid "Show lyrics" msgid "Show lyrics"
msgstr "Zeige Liedtext" msgstr "Zeige Liedtext"
#: mpdevil.py:2129 #: mpdevil.py:2148
msgid "Save window layout" msgid "Save window layout"
msgstr "Fensterlayout speichern" msgstr "Fensterlayout speichern"
#: mpdevil.py:2131 #: mpdevil.py:2150
msgid "Update database" msgid "Update database"
msgstr "Datenbank aktualisieren" msgstr "Datenbank aktualisieren"
#: mpdevil.py:2132 #: mpdevil.py:2151
msgid "Server stats" msgid "Server stats"
msgstr "Serverstatistik" msgstr "Serverstatistik"
#: mpdevil.py:2133 #: mpdevil.py:2152
msgid "About" msgid "About"
msgstr "Über" msgstr "Über"
#: mpdevil.py:2134 #: mpdevil.py:2153
msgid "Quit" msgid "Quit"
msgstr "Beenden" msgstr "Beenden"
#: mpdevil.py:2140 #: mpdevil.py:2159
msgid "Main menu" msgid "Main menu"
msgstr "Hauptmenu" msgstr "Hauptmenu"
#: mpdevil.py:2323 #: mpdevil.py:2342
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-03-06 11:33+0100\n" "POT-Creation-Date: 2020-03-12 17:05+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,27 +17,27 @@ 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:293 mpdevil.py:780 mpdevil.py:1383 mpdevil.py:1911 #: mpdevil.py:293 mpdevil.py:798 mpdevil.py:1402 mpdevil.py:1930
msgid "No" msgid "No"
msgstr "" msgstr ""
#: mpdevil.py:298 mpdevil.py:786 mpdevil.py:1383 mpdevil.py:1917 #: mpdevil.py:298 mpdevil.py:804 mpdevil.py:1402 mpdevil.py:1936
msgid "Title" msgid "Title"
msgstr "" msgstr ""
#: mpdevil.py:303 mpdevil.py:459 mpdevil.py:789 mpdevil.py:1383 mpdevil.py:1923 #: mpdevil.py:303 mpdevil.py:463 mpdevil.py:807 mpdevil.py:1402 mpdevil.py:1942
msgid "Artist" msgid "Artist"
msgstr "" msgstr ""
#: mpdevil.py:308 mpdevil.py:795 mpdevil.py:1383 mpdevil.py:1935 #: mpdevil.py:308 mpdevil.py:813 mpdevil.py:1402 mpdevil.py:1954
msgid "Length" msgid "Length"
msgstr "" msgstr ""
#: mpdevil.py:348 mpdevil.py:950 mpdevil.py:1975 #: mpdevil.py:348 mpdevil.py:968 mpdevil.py:1994
msgid "Unknown Title" msgid "Unknown Title"
msgstr "" msgstr ""
#: mpdevil.py:352 mpdevil.py:962 mpdevil.py:1983 #: mpdevil.py:352 mpdevil.py:980 mpdevil.py:2002
msgid "Unknown Artist" msgid "Unknown Artist"
msgstr "" msgstr ""
@ -45,243 +45,247 @@ msgstr ""
msgid "all genres" msgid "all genres"
msgstr "" msgstr ""
#: mpdevil.py:457 #: mpdevil.py:461
msgid "Album Artist" msgid "Album Artist"
msgstr "" msgstr ""
#: mpdevil.py:548 mpdevil.py:881 #: mpdevil.py:553 mpdevil.py:899
#, python-format #, python-format
msgid "%(total_tracks)i titles (%(total_length)s)" msgid "%(total_tracks)i titles (%(total_length)s)"
msgstr "" msgstr ""
#: mpdevil.py:783 mpdevil.py:1383 #: mpdevil.py:801 mpdevil.py:1402
msgid "Disc" msgid "Disc"
msgstr "" msgstr ""
#: mpdevil.py:792 mpdevil.py:1383 mpdevil.py:1929 #: mpdevil.py:810 mpdevil.py:1402 mpdevil.py:1948
msgid "Album" msgid "Album"
msgstr "" msgstr ""
#: mpdevil.py:798 mpdevil.py:1383 #: mpdevil.py:816 mpdevil.py:1402
msgid "Year" msgid "Year"
msgstr "" msgstr ""
#: mpdevil.py:801 mpdevil.py:1383 #: mpdevil.py:819 mpdevil.py:1402
msgid "Genre" msgid "Genre"
msgstr "" msgstr ""
#: mpdevil.py:966 mpdevil.py:1987 #: mpdevil.py:984 mpdevil.py:2006
msgid "Unknown Album" msgid "Unknown Album"
msgstr "" msgstr ""
#: mpdevil.py:1136 #: mpdevil.py:1154
msgid "Select" msgid "Select"
msgstr "" msgstr ""
#: mpdevil.py:1138 #: mpdevil.py:1156
msgid "Profile:" msgid "Profile:"
msgstr "" msgstr ""
#: mpdevil.py:1140 #: mpdevil.py:1158
msgid "Name:" msgid "Name:"
msgstr "" msgstr ""
#: mpdevil.py:1142 #: mpdevil.py:1160
msgid "Host:" msgid "Host:"
msgstr "" msgstr ""
#: mpdevil.py:1144 #: mpdevil.py:1162
msgid "Port:" msgid "Port:"
msgstr "" msgstr ""
#: mpdevil.py:1146 #: mpdevil.py:1164
msgid "Password:" msgid "Password:"
msgstr "" msgstr ""
#: mpdevil.py:1148 #: mpdevil.py:1166
msgid "Music lib:" msgid "Music lib:"
msgstr "" msgstr ""
#: mpdevil.py:1234 #: mpdevil.py:1252
msgid "Choose directory" msgid "Choose directory"
msgstr "" msgstr ""
#: mpdevil.py:1274 #: mpdevil.py:1292
msgid "Main cover size:" msgid "Main cover size:"
msgstr "" msgstr ""
#: mpdevil.py:1276 #: mpdevil.py:1294
msgid "Album-view cover size:" msgid "Album-view cover size:"
msgstr "" msgstr ""
#: mpdevil.py:1282 #: mpdevil.py:1300
msgid "Button icon size (restart required):" msgid "Button icon size (restart required):"
msgstr "" msgstr ""
#: mpdevil.py:1316 #: mpdevil.py:1334
msgid "Use alternative layout" msgid "Use alternative layout"
msgstr "" msgstr ""
#: mpdevil.py:1316 #: mpdevil.py:1334
msgid "Show stop button" msgid "Show stop button"
msgstr "" msgstr ""
#: mpdevil.py:1317 #: mpdevil.py:1335
msgid "Show genre filter" msgid "Show genre filter"
msgstr "" msgstr ""
#: mpdevil.py:1317 #: mpdevil.py:1335
msgid "Show initials in artist view"
msgstr ""
#: mpdevil.py:1336
msgid "Show tooltips in album view" msgid "Show tooltips in album view"
msgstr "" msgstr ""
#: mpdevil.py:1318 #: mpdevil.py:1337
msgid "Sort albums by year" msgid "Sort albums by year"
msgstr "" msgstr ""
#: mpdevil.py:1318 #: mpdevil.py:1337
msgid "Show all artists" msgid "Show all artists"
msgstr "" msgstr ""
#: mpdevil.py:1319 #: mpdevil.py:1338
msgid "Send notification on title change" msgid "Send notification on title change"
msgstr "" msgstr ""
#: mpdevil.py:1319 #: mpdevil.py:1338
msgid "Stop playback on quit" msgid "Stop playback on quit"
msgstr "" msgstr ""
#: mpdevil.py:1320 #: mpdevil.py:1339
msgid "Play selected album after current title" msgid "Play selected album after current title"
msgstr "" msgstr ""
#: mpdevil.py:1360 #: mpdevil.py:1379
msgid "Drag & Drop to rearange" msgid "Drag & Drop to rearange"
msgstr "" msgstr ""
#: mpdevil.py:1379 #: mpdevil.py:1398
msgid "Column" msgid "Column"
msgstr "" msgstr ""
#: mpdevil.py:1413 mpdevil.py:2130 #: mpdevil.py:1432 mpdevil.py:2149
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
#: mpdevil.py:1427 #: mpdevil.py:1446
msgid "General" msgid "General"
msgstr "" msgstr ""
#: mpdevil.py:1428 #: mpdevil.py:1447
msgid "Profiles" msgid "Profiles"
msgstr "" msgstr ""
#: mpdevil.py:1429 #: mpdevil.py:1448
msgid "Playlist" msgid "Playlist"
msgstr "" msgstr ""
#: mpdevil.py:1623 #: mpdevil.py:1642
msgid "Random mode" msgid "Random mode"
msgstr "" msgstr ""
#: mpdevil.py:1626 #: mpdevil.py:1645
msgid "Repeat mode" msgid "Repeat mode"
msgstr "" msgstr ""
#: mpdevil.py:1629 #: mpdevil.py:1648
msgid "Single mode" msgid "Single mode"
msgstr "" msgstr ""
#: mpdevil.py:1632 #: mpdevil.py:1651
msgid "Consume mode" msgid "Consume mode"
msgstr "" msgstr ""
#: mpdevil.py:1722 #: mpdevil.py:1741
msgid "Click to show additional information" msgid "Click to show additional information"
msgstr "" msgstr ""
#: mpdevil.py:1748 #: mpdevil.py:1767
msgid "MPD-Tag" msgid "MPD-Tag"
msgstr "" msgstr ""
#: mpdevil.py:1752 mpdevil.py:1856 #: mpdevil.py:1771 mpdevil.py:1875
msgid "Value" msgid "Value"
msgstr "" msgstr ""
#: mpdevil.py:1774 #: mpdevil.py:1793
#, 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:1834 #: mpdevil.py:1853
msgid "Stats" msgid "Stats"
msgstr "" msgstr ""
#: mpdevil.py:1853 #: mpdevil.py:1872
msgid "Tag" msgid "Tag"
msgstr "" msgstr ""
#: mpdevil.py:1873 #: mpdevil.py:1892
msgid "Search" msgid "Search"
msgstr "" msgstr ""
#: mpdevil.py:1994 #: mpdevil.py:2013
#, python-format #, python-format
msgid "Hits: %i" msgid "Hits: %i"
msgstr "" msgstr ""
#: mpdevil.py:1998 #: mpdevil.py:2017
msgid "Lyrics" msgid "Lyrics"
msgstr "" msgstr ""
#: mpdevil.py:2032 #: mpdevil.py:2051
msgid "searching..." msgid "searching..."
msgstr "" msgstr ""
#: mpdevil.py:2036 #: mpdevil.py:2055
msgid "not found" msgid "not found"
msgstr "" msgstr ""
#: mpdevil.py:2113 #: mpdevil.py:2132
msgid "Select profile" msgid "Select profile"
msgstr "" msgstr ""
#: mpdevil.py:2118 #: mpdevil.py:2137
msgid "Return to album of current title" msgid "Return to album of current title"
msgstr "" msgstr ""
#: mpdevil.py:2121 #: mpdevil.py:2140
msgid "Title search" msgid "Title search"
msgstr "" msgstr ""
#: mpdevil.py:2124 #: mpdevil.py:2143
msgid "Show lyrics" msgid "Show lyrics"
msgstr "" msgstr ""
#: mpdevil.py:2129 #: mpdevil.py:2148
msgid "Save window layout" msgid "Save window layout"
msgstr "" msgstr ""
#: mpdevil.py:2131 #: mpdevil.py:2150
msgid "Update database" msgid "Update database"
msgstr "" msgstr ""
#: mpdevil.py:2132 #: mpdevil.py:2151
msgid "Server stats" msgid "Server stats"
msgstr "" msgstr ""
#: mpdevil.py:2133 #: mpdevil.py:2152
msgid "About" msgid "About"
msgstr "" msgstr ""
#: mpdevil.py:2134 #: mpdevil.py:2153
msgid "Quit" msgid "Quit"
msgstr "" msgstr ""
#: mpdevil.py:2140 #: mpdevil.py:2159
msgid "Main menu" msgid "Main menu"
msgstr "" msgstr ""
#: mpdevil.py:2323 #: mpdevil.py:2342
msgid "A small MPD client written in python" msgid "A small MPD client written in python"
msgstr "" msgstr ""