1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-30 19:15:08 +01:00

Directory model, reset button, save and load settings

This commit is contained in:
David Sansome 2010-06-24 17:34:23 +00:00
parent 8fbc954279
commit e680c441c1
31 changed files with 343 additions and 92 deletions

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "" msgstr ""
@ -341,9 +348,6 @@ msgstr ""
msgid "Configure library..." msgid "Configure library..."
msgstr "" msgstr ""
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "" msgstr ""
@ -986,6 +990,9 @@ msgstr ""
msgid "Output plugin" msgid "Output plugin"
msgstr "" msgstr ""
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "" msgstr ""

View File

@ -83,6 +83,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -342,9 +349,6 @@ msgstr "Nastavit klávesové zkratky"
msgid "Configure library..." msgid "Configure library..."
msgstr "Nastavit knihovnu..." msgstr "Nastavit knihovnu..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Zkopírovat do knihovny..." msgstr "Zkopírovat do knihovny..."
@ -990,6 +994,9 @@ msgstr "Možnosti výstupu"
msgid "Output plugin" msgid "Output plugin"
msgstr "Výstupní modul:" msgstr "Výstupní modul:"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Párty" msgstr "Párty"

View File

@ -83,6 +83,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -342,9 +349,6 @@ msgstr ""
msgid "Configure library..." msgid "Configure library..."
msgstr "Indstil bibliotek..." msgstr "Indstil bibliotek..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Kopiér til bibliotek..." msgstr "Kopiér til bibliotek..."
@ -991,6 +995,9 @@ msgstr ""
msgid "Output plugin" msgid "Output plugin"
msgstr "Output-plugin" msgstr "Output-plugin"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Party" msgstr "Party"

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -341,9 +348,6 @@ msgstr "Tastenkürzel einrichten"
msgid "Configure library..." msgid "Configure library..."
msgstr "Musiksammlung einrichten..." msgstr "Musiksammlung einrichten..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "In die Musiksammlung kopieren..." msgstr "In die Musiksammlung kopieren..."
@ -994,6 +998,9 @@ msgstr "Optionen"
msgid "Output plugin" msgid "Output plugin"
msgstr "Ausgabemodul" msgstr "Ausgabemodul"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Party" msgstr "Party"

View File

@ -84,6 +84,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -343,9 +350,6 @@ msgstr "Ρύθμιση συντομεύσεων"
msgid "Configure library..." msgid "Configure library..."
msgstr "Παραμετροποίηση της βιβλιοθήκης" msgstr "Παραμετροποίηση της βιβλιοθήκης"
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Αντιγραφή στην βιβλιοθήκη..." msgstr "Αντιγραφή στην βιβλιοθήκη..."
@ -995,6 +999,9 @@ msgstr "Επιλογές εξόδου"
msgid "Output plugin" msgid "Output plugin"
msgstr "Επέκταση εξόδου" msgstr "Επέκταση εξόδου"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Πάρτι" msgstr "Πάρτι"

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -341,9 +348,6 @@ msgstr "Configure Shortcuts"
msgid "Configure library..." msgid "Configure library..."
msgstr "Configure library..." msgstr "Configure library..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Copy to library..." msgstr "Copy to library..."
@ -991,6 +995,9 @@ msgstr "Output options"
msgid "Output plugin" msgid "Output plugin"
msgstr "Output plugin" msgstr "Output plugin"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Party" msgstr "Party"

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -341,9 +348,6 @@ msgstr ""
msgid "Configure library..." msgid "Configure library..."
msgstr "Configure library..." msgstr "Configure library..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Copy to library..." msgstr "Copy to library..."
@ -988,6 +992,9 @@ msgstr ""
msgid "Output plugin" msgid "Output plugin"
msgstr "Output plugin" msgstr "Output plugin"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Party" msgstr "Party"

View File

@ -83,6 +83,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -343,9 +350,6 @@ msgstr "Configurar Accesos Rápidos"
msgid "Configure library..." msgid "Configure library..."
msgstr "Configurar colección..." msgstr "Configurar colección..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Copiar a la colección..." msgstr "Copiar a la colección..."
@ -999,6 +1003,9 @@ msgstr "Opciones de salida"
msgid "Output plugin" msgid "Output plugin"
msgstr "Extensión de salida" msgstr "Extensión de salida"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Fiesta" msgstr "Fiesta"

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "" msgstr ""
@ -341,9 +348,6 @@ msgstr ""
msgid "Configure library..." msgid "Configure library..."
msgstr "Kirjaston asetukset" msgstr "Kirjaston asetukset"
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Kopioi kirjastoon" msgstr "Kopioi kirjastoon"
@ -986,6 +990,9 @@ msgstr ""
msgid "Output plugin" msgid "Output plugin"
msgstr "" msgstr ""
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "" msgstr ""

View File

@ -83,6 +83,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -342,9 +349,6 @@ msgstr ""
msgid "Configure library..." msgid "Configure library..."
msgstr "Configurer votre bibliothèque..." msgstr "Configurer votre bibliothèque..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Copier dans la bilbiothèque..." msgstr "Copier dans la bilbiothèque..."
@ -994,6 +998,9 @@ msgstr ""
msgid "Output plugin" msgid "Output plugin"
msgstr "Module de sortie" msgstr "Module de sortie"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Soirée" msgstr "Soirée"

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -341,9 +348,6 @@ msgstr ""
msgid "Configure library..." msgid "Configure library..."
msgstr "Configurar a biblioteca..." msgstr "Configurar a biblioteca..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Copiar para a biblioteca" msgstr "Copiar para a biblioteca"
@ -988,6 +992,9 @@ msgstr ""
msgid "Output plugin" msgid "Output plugin"
msgstr "" msgstr ""
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Festa" msgstr "Festa"

View File

@ -83,6 +83,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -342,9 +349,6 @@ msgstr "Configura scorciatoie"
msgid "Configure library..." msgid "Configure library..."
msgstr "Configura raccolta..." msgstr "Configura raccolta..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Copia nella raccolta..." msgstr "Copia nella raccolta..."
@ -997,6 +1001,9 @@ msgstr "Opzioni di uscita"
msgid "Output plugin" msgid "Output plugin"
msgstr "Plugin di uscita" msgstr "Plugin di uscita"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Festa" msgstr "Festa"

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -341,9 +348,6 @@ msgstr ""
msgid "Configure library..." msgid "Configure library..."
msgstr "" msgstr ""
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "" msgstr ""
@ -988,6 +992,9 @@ msgstr ""
msgid "Output plugin" msgid "Output plugin"
msgstr "" msgstr ""
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "" msgstr ""

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -341,9 +348,6 @@ msgstr ""
msgid "Configure library..." msgid "Configure library..."
msgstr "Sett opp bibliotek..." msgstr "Sett opp bibliotek..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Kopier til bibliotek..." msgstr "Kopier til bibliotek..."
@ -989,6 +993,9 @@ msgstr ""
msgid "Output plugin" msgid "Output plugin"
msgstr "Lydavspillingstillegg" msgstr "Lydavspillingstillegg"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Fest" msgstr "Fest"

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -341,9 +348,6 @@ msgstr "Configurar los acorchis de clavièr"
msgid "Configure library..." msgid "Configure library..."
msgstr "" msgstr ""
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "" msgstr ""
@ -986,6 +990,9 @@ msgstr "Opcions de creacion"
msgid "Output plugin" msgid "Output plugin"
msgstr "Modul de sortida" msgstr "Modul de sortida"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Fèsta" msgstr "Fèsta"

View File

@ -83,6 +83,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "" msgstr ""
@ -342,9 +349,6 @@ msgstr ""
msgid "Configure library..." msgid "Configure library..."
msgstr "Konfiguruj bibliotekę..." msgstr "Konfiguruj bibliotekę..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Skopiuj do biblioteki..." msgstr "Skopiuj do biblioteki..."
@ -988,6 +992,9 @@ msgstr ""
msgid "Output plugin" msgid "Output plugin"
msgstr "Wtyczka wyjściowa" msgstr "Wtyczka wyjściowa"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "" msgstr ""

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -341,9 +348,6 @@ msgstr "Configurar Atalhos"
msgid "Configure library..." msgid "Configure library..."
msgstr "Configurar biblioteca..." msgstr "Configurar biblioteca..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Copiar para a biblioteca..." msgstr "Copiar para a biblioteca..."
@ -993,6 +997,9 @@ msgstr "Opções de saída"
msgid "Output plugin" msgid "Output plugin"
msgstr "Plugin de saída" msgstr "Plugin de saída"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Festa" msgstr "Festa"

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -341,9 +348,6 @@ msgstr "Configurar Atalhos"
msgid "Configure library..." msgid "Configure library..."
msgstr "Configurar biblioteca" msgstr "Configurar biblioteca"
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Copiar para biblioteca..." msgstr "Copiar para biblioteca..."
@ -995,6 +999,9 @@ msgstr "Opções de Saída"
msgid "Output plugin" msgid "Output plugin"
msgstr "Plugin de saída" msgstr "Plugin de saída"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Festa" msgstr "Festa"

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -341,9 +348,6 @@ msgstr ""
msgid "Configure library..." msgid "Configure library..."
msgstr "Configurează biblioteca..." msgstr "Configurează biblioteca..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Copiază în bibliotecă..." msgstr "Copiază în bibliotecă..."
@ -987,6 +991,9 @@ msgstr ""
msgid "Output plugin" msgid "Output plugin"
msgstr "" msgstr ""
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Petrecere" msgstr "Petrecere"

View File

@ -81,6 +81,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -340,9 +347,6 @@ msgstr "Настройка горячих клавиш"
msgid "Configure library..." msgid "Configure library..."
msgstr "Настроить коллекцию..." msgstr "Настроить коллекцию..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Копировать в коллекцию..." msgstr "Копировать в коллекцию..."
@ -992,6 +996,9 @@ msgstr "Опции вывода"
msgid "Output plugin" msgid "Output plugin"
msgstr "Плагин вывода" msgstr "Плагин вывода"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Party" msgstr "Party"

View File

@ -83,6 +83,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -342,9 +349,6 @@ msgstr "Nastaviť skratky"
msgid "Configure library..." msgid "Configure library..."
msgstr "Nastaviť zbierku..." msgstr "Nastaviť zbierku..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Skopírovať do zbierky..." msgstr "Skopírovať do zbierky..."
@ -993,6 +997,9 @@ msgstr "Možnosti výstupu"
msgid "Output plugin" msgid "Output plugin"
msgstr "plugin výstupu" msgstr "plugin výstupu"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Party" msgstr "Party"

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -341,9 +348,6 @@ msgstr "Anpassa genvägar"
msgid "Configure library..." msgid "Configure library..."
msgstr "Ställ in bibliotek..." msgstr "Ställ in bibliotek..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Kopiera till bibliotek..." msgstr "Kopiera till bibliotek..."
@ -991,6 +995,9 @@ msgstr "Utdataalternativ"
msgid "Output plugin" msgid "Output plugin"
msgstr "Insticksprogram för utmatning" msgstr "Insticksprogram för utmatning"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Fest" msgstr "Fest"

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -341,9 +348,6 @@ msgstr "Kısayolları Yapılandır"
msgid "Configure library..." msgid "Configure library..."
msgstr "Kütüphaneyi düzenle..." msgstr "Kütüphaneyi düzenle..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "" msgstr ""
@ -988,6 +992,9 @@ msgstr "Çıktı seçenekleri"
msgid "Output plugin" msgid "Output plugin"
msgstr "Çıktı eklentisi" msgstr "Çıktı eklentisi"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Parti" msgstr "Parti"

View File

@ -73,6 +73,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "" msgstr ""
@ -332,9 +339,6 @@ msgstr ""
msgid "Configure library..." msgid "Configure library..."
msgstr "" msgstr ""
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "" msgstr ""
@ -977,6 +981,9 @@ msgstr ""
msgid "Output plugin" msgid "Output plugin"
msgstr "" msgstr ""
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "" msgstr ""

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "AIFF" msgstr "AIFF"
@ -341,9 +348,6 @@ msgstr "Налаштування комбінацій клавіш"
msgid "Configure library..." msgid "Configure library..."
msgstr "Налаштувати фонотеку" msgstr "Налаштувати фонотеку"
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "Скопіювати до фонотеки..." msgstr "Скопіювати до фонотеки..."
@ -993,6 +997,9 @@ msgstr "Параметри виведення"
msgid "Output plugin" msgid "Output plugin"
msgstr "Модуль виводу" msgstr "Модуль виводу"
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "Вечірка" msgstr "Вечірка"

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "" msgstr ""
@ -341,9 +348,6 @@ msgstr ""
msgid "Configure library..." msgid "Configure library..."
msgstr "配置乐库..." msgstr "配置乐库..."
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "" msgstr ""
@ -986,6 +990,9 @@ msgstr ""
msgid "Output plugin" msgid "Output plugin"
msgstr "" msgstr ""
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "" msgstr ""

View File

@ -82,6 +82,13 @@ msgstr ""
msgid "128k MP3" msgid "128k MP3"
msgstr "" msgstr ""
msgid ""
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
"\n"
"<p>If you surround sections of text that contain a token with curly-braces, "
"that section will be hidden if the token is empty.</p>"
msgstr ""
msgid "AIFF" msgid "AIFF"
msgstr "" msgstr ""
@ -341,9 +348,6 @@ msgstr ""
msgid "Configure library..." msgid "Configure library..."
msgstr "" msgstr ""
msgid "Copy to"
msgstr ""
msgid "Copy to library..." msgid "Copy to library..."
msgstr "" msgstr ""
@ -986,6 +990,9 @@ msgstr ""
msgid "Output plugin" msgid "Output plugin"
msgstr "" msgstr ""
msgid "Overwrite files"
msgstr ""
msgid "Party" msgid "Party"
msgstr "" msgstr ""

View File

@ -28,6 +28,7 @@
#include "engines/enginebase.h" #include "engines/enginebase.h"
#include "library/groupbydialog.h" #include "library/groupbydialog.h"
#include "library/libraryconfig.h" #include "library/libraryconfig.h"
#include "library/librarydirectorymodel.h"
#include "library/library.h" #include "library/library.h"
#include "playlist/playlistbackend.h" #include "playlist/playlistbackend.h"
#include "playlist/playlist.h" #include "playlist/playlist.h"
@ -185,6 +186,8 @@ MainWindow::MainWindow(NetworkAccessManager* network, Engine::Type engine, QWidg
ui_->radio_view->SetModel(radio_model_); ui_->radio_view->SetModel(radio_model_);
organise_dialog_->AddDirectoryModel(library_->model()->directory_model());
cover_manager_->Init(); cover_manager_->Init();
// Icons // Icons

View File

@ -19,17 +19,21 @@
#include <QDir> #include <QDir>
#include <QMenu> #include <QMenu>
#include <QPushButton>
#include <QSettings>
#include <QSignalMapper> #include <QSignalMapper>
const int OrganiseDialog::kNumberOfPreviews = 5; const int OrganiseDialog::kNumberOfPreviews = 5;
const char* OrganiseDialog::kDefaultFormat = const char* OrganiseDialog::kDefaultFormat =
"%artist/%album{ (Disc %disc)}/{%track - }%title.%extension"; "%artist/%album{ (Disc %disc)}/{%track - }%title.%extension";
const char* OrganiseDialog::kSettingsGroup = "OrganiseDialog";
OrganiseDialog::OrganiseDialog(QWidget *parent) OrganiseDialog::OrganiseDialog(QWidget *parent)
: QDialog(parent), : QDialog(parent),
ui_(new Ui_OrganiseDialog) ui_(new Ui_OrganiseDialog)
{ {
ui_->setupUi(this); ui_->setupUi(this);
connect(ui_->buttonBox->button(QDialogButtonBox::Reset), SIGNAL(clicked()), SLOT(Reset()));
// Valid tags // Valid tags
QMap<QString, QString> tags; QMap<QString, QString> tags;
@ -72,15 +76,18 @@ OrganiseDialog::OrganiseDialog(QWidget *parent)
connect(tag_mapper, SIGNAL(mapped(QString)), SLOT(InsertTag(QString))); connect(tag_mapper, SIGNAL(mapped(QString)), SLOT(InsertTag(QString)));
ui_->insert->setMenu(tag_menu); ui_->insert->setMenu(tag_menu);
// Load settings
ui_->naming->setPlainText(kDefaultFormat);
} }
OrganiseDialog::~OrganiseDialog() { OrganiseDialog::~OrganiseDialog() {
delete ui_; delete ui_;
} }
void OrganiseDialog::AddDirectoryModel(QAbstractItemModel *model) {
// TODO: Add this model to a proxy model that merges different models
// together, eg. from the local library and also removable devices.
ui_->destination->setModel(model);
}
void OrganiseDialog::SetUrls(const QList<QUrl> &urls) { void OrganiseDialog::SetUrls(const QList<QUrl> &urls) {
QStringList filenames; QStringList filenames;
foreach (const QUrl& url, urls) { foreach (const QUrl& url, urls) {
@ -117,7 +124,10 @@ void OrganiseDialog::UpdatePreviews() {
format_.set_replace_spaces(ui_->replace_spaces->isChecked()); format_.set_replace_spaces(ui_->replace_spaces->isChecked());
format_.set_replace_the(ui_->replace_the->isChecked()); format_.set_replace_the(ui_->replace_the->isChecked());
if (!format_.IsValid()) const bool format_valid = format_.IsValid();
ui_->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(
format_valid && !ui_->destination->currentText().isEmpty());
if (!format_valid)
return; return;
ui_->preview->clear(); ui_->preview->clear();
@ -126,3 +136,33 @@ void OrganiseDialog::UpdatePreviews() {
ui_->preview->addItem(QDir::toNativeSeparators(filename)); ui_->preview->addItem(QDir::toNativeSeparators(filename));
} }
} }
void OrganiseDialog::Reset() {
ui_->naming->setPlainText(kDefaultFormat);
ui_->replace_ascii->setChecked(false);
ui_->replace_spaces->setChecked(false);
ui_->replace_the->setChecked(false);
ui_->overwrite->setChecked(true);
}
void OrganiseDialog::showEvent(QShowEvent *) {
QSettings s;
s.beginGroup(kSettingsGroup);
ui_->naming->setPlainText(s.value("format", kDefaultFormat).toString());
ui_->replace_ascii->setChecked(s.value("replace_ascii", false).toBool());
ui_->replace_spaces->setChecked(s.value("replace_spaces", false).toBool());
ui_->replace_the->setChecked(s.value("replace_the", false).toBool());
ui_->overwrite->setChecked(s.value("overwrite", true).toBool());
}
void OrganiseDialog::accept() {
QSettings s;
s.beginGroup(kSettingsGroup);
s.setValue("format", ui_->naming->toPlainText());
s.setValue("replace_ascii", ui_->replace_ascii->isChecked());
s.setValue("replace_spaces", ui_->replace_spaces->isChecked());
s.setValue("replace_the", ui_->replace_the->isChecked());
s.setValue("overwrite", ui_->overwrite->isChecked());
QDialog::accept();
}

View File

@ -26,6 +26,8 @@
class Ui_OrganiseDialog; class Ui_OrganiseDialog;
class QAbstractItemModel;
class OrganiseDialog : public QDialog { class OrganiseDialog : public QDialog {
Q_OBJECT Q_OBJECT
@ -35,13 +37,24 @@ public:
static const int kNumberOfPreviews; static const int kNumberOfPreviews;
static const char* kDefaultFormat; static const char* kDefaultFormat;
static const char* kSettingsGroup;
void AddDirectoryModel(QAbstractItemModel* model);
void SetUrls(const QList<QUrl>& urls); void SetUrls(const QList<QUrl>& urls);
void SetFilenames(const QStringList& filenames); void SetFilenames(const QStringList& filenames);
bool IsFormatValid() const; bool IsFormatValid() const;
public slots:
void accept();
protected:
void showEvent(QShowEvent *);
private slots: private slots:
void Reset();
void InsertTag(const QString& tag); void InsertTag(const QString& tag);
void UpdatePreviews(); void UpdatePreviews();

View File

@ -22,7 +22,7 @@
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
<string>Copy to</string> <string>Destination</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -40,11 +40,10 @@
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
<widget class="LineTextEdit" name="naming"> <widget class="LineTextEdit" name="naming">
<property name="sizePolicy"> <property name="toolTip">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <string>&lt;p&gt;Tokens start with %, for example: %artist %album %title &lt;/p&gt;
<horstretch>0</horstretch>
<verstretch>0</verstretch> &lt;p&gt;If you surround sections of text that contain a token with curly-braces, that section will be hidden if the token is empty.&lt;/p&gt;</string>
</sizepolicy>
</property> </property>
<property name="lineWrapMode"> <property name="lineWrapMode">
<enum>QTextEdit::NoWrap</enum> <enum>QTextEdit::NoWrap</enum>
@ -93,6 +92,13 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QCheckBox" name="overwrite">
<property name="text">
<string>Overwrite files</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
@ -116,7 +122,7 @@
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="standardButtons"> <property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset</set>
</property> </property>
</widget> </widget>
</item> </item>