Commit 39d49cef authored by Pierre Lamot's avatar Pierre Lamot Committed by Jean-Baptiste Kempf

skin2: fix string can't be parsed by gettext

fix: #19117
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent dbb5e3c3
......@@ -22,6 +22,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include <sstream>
#include "dialogs.hpp"
#include "../commands/async_queue.hpp"
#include "../commands/cmd_change_skin.hpp"
......@@ -210,9 +211,10 @@ void Dialogs::showChangeSkin()
void Dialogs::showPlaylistLoad()
{
std::stringstream fileTypes;
fileTypes << _("Playlist Files|") << EXTENSIONS_PLAYLIST << _("|All Files|*");
showFileGeneric( _("Open playlist"),
_("Playlist Files|" EXTENSIONS_PLAYLIST "|"
"All Files|*"),
fileTypes.str(),
showPlaylistLoadCB, kOPEN );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment