[vlc-devel] [PATCH 2/3] i18n: All Files (*.*)

Michał Trzebiatowski michtrz at gmail.com
Wed Nov 29 03:01:53 CET 2017


Adapt "All Files (*.*)" as one global format for all the same strings

Signed-off-by: Michał Trzebiatowski <michtrz at gmail.com>
---
 modules/gui/qt/dialogs/messages.cpp | 2 +-
 modules/gui/qt/dialogs/vlm.cpp      | 4 ++--
 modules/gui/skins2/src/dialogs.cpp  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/gui/qt/dialogs/messages.cpp b/modules/gui/qt/dialogs/messages.cpp
index c015868..7e98d25 100644
--- a/modules/gui/qt/dialogs/messages.cpp
+++ b/modules/gui/qt/dialogs/messages.cpp
@@ -258,7 +258,7 @@ bool MessagesDialog::save()
     QString saveLogFileName = QFileDialog::getSaveFileName(
             this, qtr( "Save log file as..." ),
             QVLCUserDir( VLC_DOCUMENTS_DIR ),
-            qtr( "Texts/Logs (*.log *.txt);; All (*.*)") );
+            qtr( "Texts/Logs (*.log *.txt);;All Files (*.*)") );
 
     if( !saveLogFileName.isNull() )
     {
diff --git a/modules/gui/qt/dialogs/vlm.cpp b/modules/gui/qt/dialogs/vlm.cpp
index 383140c..dd02814 100644
--- a/modules/gui/qt/dialogs/vlm.cpp
+++ b/modules/gui/qt/dialogs/vlm.cpp
@@ -264,7 +264,7 @@ bool VLMDialog::exportVLMConf()
     QString saveVLMConfFileName = QFileDialog::getSaveFileName( this,
                                         qtr( "Save VLM configuration as..." ),
                                         QVLCUserDir( VLC_DOCUMENTS_DIR ),
-                                        qtr( "VLM conf (*.vlm);;All (*)" ) );
+                                        qtr( "VLM conf (*.vlm);;All Files (*.*)" ) );
 
     if( !saveVLMConfFileName.isEmpty() )
     {
@@ -333,7 +333,7 @@ bool VLMDialog::importVLMConf()
             QFileDialog::getOpenFileName(
             this, qtr( "Open VLM configuration..." ),
             QVLCUserDir( VLC_DOCUMENTS_DIR ),
-            qtr( "VLM conf (*.vlm);;All (*)" ) ) );
+            qtr( "VLM conf (*.vlm);;All Files (*.*)" ) ) );
 
     if( !openVLMConfFileName.isEmpty() )
     {
diff --git a/modules/gui/skins2/src/dialogs.cpp b/modules/gui/skins2/src/dialogs.cpp
index f59ea71..e8c0f69 100644
--- a/modules/gui/skins2/src/dialogs.cpp
+++ b/modules/gui/skins2/src/dialogs.cpp
@@ -212,7 +212,7 @@ void Dialogs::showChangeSkin()
 void Dialogs::showPlaylistLoad()
 {
     std::stringstream fileTypes;
-    fileTypes << _("Playlist Files |") << EXTENSIONS_PLAYLIST  << _("|All Files |*");
+    fileTypes << _("Playlist Files |") << EXTENSIONS_PLAYLIST  << _("|All Files |*.*");
     showFileGeneric( _("Open playlist"),
                      fileTypes.str(),
                      showPlaylistLoadCB, kOPEN );
-- 
2.10.0.windows.1



More information about the vlc-devel mailing list