<translation type="unfinished"></translation>
</message>
<message>
+ <source>Playlists</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<source>All files</source>
<translation>Alle Dateien</translation>
</message>
+ <message>
+ <source>Playlists</source>
+ <translation>Wiedergabelisten</translation>
+ </message>
</context>
<context>
<name>DropBox</name>
<source>All files</source>
<translation>Todos los archivos</translation>
</message>
+ <message>
+ <source>Playlists</source>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>DropBox</name>
<source>All files</source>
<translation>Tous les fichiers</translation>
</message>
+ <message>
+ <source>Playlists</source>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>DropBox</name>
<source>All files</source>
<translation>Tutti i files</translation>
</message>
+ <message>
+ <source>Playlists</source>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>DropBox</name>
#include <QStringList>
#include <QRegExp>
+static const char *g_playlistExt = "*.m3u *.m3u8 *.pls *.asx *.wpl";
+
#define PROBE_DECODER(DEC) if(DEC::isDecoderAvailable() && DEC::isFormatSupported(containerType, containerProfile, formatType, formatProfile, formatVersion)) { return new DEC(); }
#define GET_FILETYPES(DEC) (DEC::isDecoderAvailable() ? DEC::supportedTypes() : QStringList())
types << GET_FILETYPES(ADPCMDecoder);
QStringList extensions;
+ extensions << QString(g_playlistExt).split(" ", QString::SkipEmptyParts);
QRegExp regExp("\\((.+)\\)", Qt::CaseInsensitive);
for(int i = 0; i < types.count(); i++)
extensions << regExp.cap(1).split(" ", QString::SkipEmptyParts);
}
}
-
+
if(!extensions.empty())
{
extensions.removeDuplicates();
types.prepend(QString("%1 (%2)").arg(tr("All supported types"), extensions.join(" ")));
}
+ types << QString("%1 (%2)").arg(tr("Playlists"), g_playlistExt);
types << QString("%1 (*.*)").arg(tr("All files"));
+
return types;
}