[vlc-devel] [PATCH] some string corrections in source messages

Michał Trzebiatowski michtrz at gmail.com
Mon Nov 27 02:08:49 CET 2017


- missing spaces at new line
- All Files (*.*) for All (*)
- last.fm as global name

Signed-off-by: Michał Trzebiatowski <michtrz at gmail.com>
---
 modules/codec/kate.c                          | 2 +-
 modules/codec/x264.c                          | 4 ++--
 modules/demux/mpeg/ts.c                       | 2 +-
 modules/gui/macosx/VLCSimplePrefsController.m | 6 +++---
 modules/gui/qt/dialogs/messages.cpp           | 2 +-
 modules/gui/qt/dialogs/vlm.cpp                | 2 +-
 modules/gui/qt/ui/sprefs_audio.ui             | 2 +-
 modules/gui/skins2/src/dialogs.cpp            | 8 ++++----
 modules/misc/audioscrobbler.c                 | 4 ++--
 modules/spu/logo.c                            | 2 +-
 modules/spu/mosaic.c                          | 2 +-
 modules/stream_out/transcode/transcode.c      | 4 ++--
 src/misc/update.c                             | 4 ++--
 13 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/modules/codec/kate.c b/modules/codec/kate.c
index cdff514..b50d94c 100644
--- a/modules/codec/kate.c
+++ b/modules/codec/kate.c
@@ -190,7 +190,7 @@ static void UpdateTigerFontDesc( decoder_t *p_dec );
 
 #define FORMAT_TEXT N_("Formatted Subtitles")
 #define FORMAT_LONGTEXT N_("Kate streams allow for text formatting. " \
- "VLC partly implements this, but you can choose to disable all formatting." \
+ "VLC partly implements this, but you can choose to disable all formatting. " \
  "Note that this has no effect is rendering via Tiger is enabled.")
 
 #ifdef HAVE_TIGER
diff --git a/modules/codec/x264.c b/modules/codec/x264.c
index 0f34d9c..56b0af3 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -69,7 +69,7 @@ static void x264_log( void *, int i_level, const char *psz, va_list );
 /* Frame-type options */
 
 #define KEYINT_TEXT N_("Maximum GOP size")
-#define KEYINT_LONGTEXT N_( "Sets maximum interval between IDR-frames." \
+#define KEYINT_LONGTEXT N_( "Sets maximum interval between IDR-frames. " \
     "Larger values save bits, thus improving quality for a given bitrate at " \
     "the cost of seeking precision. Use -1 for infinite." )
 
@@ -359,7 +359,7 @@ static void x264_log( void *, int i_level, const char *psz, va_list );
 #define FAST_PSKIP_LONGTEXT N_( "Early SKIP detection on P-frames.")
 
 #define DCT_DECIMATE_TEXT N_("Coefficient thresholding on P-frames")
-#define DCT_DECIMATE_LONGTEXT N_( "Coefficient thresholding on P-frames." \
+#define DCT_DECIMATE_LONGTEXT N_( "Coefficient thresholding on P-frames. " \
     "Eliminate dct blocks containing only a small single coefficient.")
 
 #define PSY_TEXT N_("Use Psy-optimizations")
diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index 0b24ffd..d045189 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -120,7 +120,7 @@ static const char *const ts_standards_list_text[] =
   { N_("Auto"), "MPEG", "DVB", "ARIB", "ATSC", "T-DMB" };
 
 #define STANDARD_TEXT N_("Digital TV Standard")
-#define STANDARD_LONGTEXT N_( "Selects mode for digital TV standard." \
+#define STANDARD_LONGTEXT N_( "Selects mode for digital TV standard. " \
                               "This feature affects EPG information and subtitles." )
 
 vlc_module_begin ()
diff --git a/modules/gui/macosx/VLCSimplePrefsController.m b/modules/gui/macosx/VLCSimplePrefsController.m
index 59d2372..4174d4f 100644
--- a/modules/gui/macosx/VLCSimplePrefsController.m
+++ b/modules/gui/macosx/VLCSimplePrefsController.m
@@ -261,7 +261,7 @@ create_toolbar_item(NSString *itemIdent, NSString *name, NSString *desc, NSStrin
     [_audio_enableCheckbox setTitle: _NS("Enable audio")];
     [_audio_generalBox setTitle: _NS("General Audio")];
     [_audio_langLabel setStringValue: _NS("Preferred Audio language")];
-    [_audio_lastCheckbox setTitle: _NS("Enable Last.fm submissions")];
+    [_audio_lastCheckbox setTitle: _NS("Enable last.fm submissions")];
     [_audio_lastpwdLabel setStringValue: _NS("Password")];
     [_audio_lastuserLabel setStringValue: _NS("Username")];
     [_audio_visualLabel setStringValue: _NS("Visualization")];
@@ -616,7 +616,7 @@ static inline const char * __config_GetLabel(vlc_object_t *p_this, const char *p
 
     [self setupButton:_audio_visualPopup forModuleList: "audio-visual"];
 
-    /* Last.FM is optional */
+    /* last.fm is optional */
     if (module_exists("audioscrobbler")) {
         [self setupField:_audio_lastuserTextField forOption:"lastfm-username"];
         [self setupField:_audio_lastpwdSecureTextField forOption:"lastfm-password"];
@@ -945,7 +945,7 @@ static inline void save_string_list(intf_thread_t * p_intf, id object, const cha
 
         SaveModuleList(_audio_visualPopup, "audio-visual");
 
-        /* Last.FM is optional */
+        /* last.fm is optional */
         if (module_exists("audioscrobbler")) {
             [_audio_lastCheckbox setEnabled: YES];
             if ([_audio_lastCheckbox state] == NSOnState)
diff --git a/modules/gui/qt/dialogs/messages.cpp b/modules/gui/qt/dialogs/messages.cpp
index cb3836a..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..31cbb4e 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() )
     {
diff --git a/modules/gui/qt/ui/sprefs_audio.ui b/modules/gui/qt/ui/sprefs_audio.ui
index 3551d34..aab1ef0 100644
--- a/modules/gui/qt/ui/sprefs_audio.ui
+++ b/modules/gui/qt/ui/sprefs_audio.ui
@@ -557,7 +557,7 @@
          <item row="1" column="0" colspan="2">
           <widget class="QCheckBox" name="lastfm">
            <property name="text">
-            <string>Submit played tracks stats to Last.fm</string>
+            <string>Submit played tracks stats to last.fm</string>
            </property>
           </widget>
          </item>
diff --git a/modules/gui/skins2/src/dialogs.cpp b/modules/gui/skins2/src/dialogs.cpp
index 276909a..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 );
@@ -221,9 +221,9 @@ void Dialogs::showPlaylistLoad()
 
 void Dialogs::showPlaylistSave()
 {
-    showFileGeneric( _("Save playlist"), _("XSPF playlist|*.xspf|"
-                                           "M3U file|*.m3u|"
-                                           "HTML playlist|*.html"),
+    showFileGeneric( _("Save playlist"), _("XSPF playlist |*.xspf|"
+                                           "M3U file |*.m3u|"
+                                           "HTML playlist |*.html"),
                      showPlaylistSaveCB, kSAVE );
 }
 
diff --git a/modules/misc/audioscrobbler.c b/modules/misc/audioscrobbler.c
index 133829a..a15ba02 100644
--- a/modules/misc/audioscrobbler.c
+++ b/modules/misc/audioscrobbler.c
@@ -22,7 +22,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-/* Last.fm Submissions protocol version: 1.2
+/* last.fm Submissions protocol version: 1.2
  * http://www.last.fm/api/submissions
  *
  * TODO:    Update to new API? http://www.last.fm/api/scrobbling
@@ -711,7 +711,7 @@ static void *Run(void *data)
                 case VLC_ENOVAR:
                     /* username not set */
                     vlc_dialog_display_error(p_intf,
-                        _("Last.fm username not set"),
+                        _("last.fm username not set"),
                         "%s", _("Please set a username or disable the "
                         "audioscrobbler plugin, and restart VLC.\n"
                         "Visit http://www.last.fm/join/ to get an account."));
diff --git a/modules/spu/logo.c b/modules/spu/logo.c
index edc5936..9a0b91c 100644
--- a/modules/spu/logo.c
+++ b/modules/spu/logo.c
@@ -51,7 +51,7 @@
 "<image>[,<delay in ms>[,<alpha>]][;<image>[,<delay>[,<alpha>]]][;...]. " \
 "If you only have one file, simply enter its filename.")
 #define REPEAT_TEXT N_("Logo animation # of loops")
-#define REPEAT_LONGTEXT N_("Number of loops for the logo animation." \
+#define REPEAT_LONGTEXT N_("Number of loops for the logo animation. " \
         "-1 = continuous, 0 = disabled")
 #define DELAY_TEXT N_("Logo individual image time in ms")
 #define DELAY_LONGTEXT N_("Individual image display time of 0 - 60000 ms.")
diff --git a/modules/spu/mosaic.c b/modules/spu/mosaic.c
index 30e2b35..71687d9 100644
--- a/modules/spu/mosaic.c
+++ b/modules/spu/mosaic.c
@@ -142,7 +142,7 @@ struct filter_sys_t
 #define ORDER_TEXT N_("Elements order" )
 #define ORDER_LONGTEXT N_( \
         "You can enforce the order of the elements on " \
-        "the mosaic. You must give a comma-separated list of picture ID(s)." \
+        "the mosaic. You must give a comma-separated list of picture ID(s). " \
         "These IDs are assigned in the \"mosaic-bridge\" module." )
 
 #define OFFSETS_TEXT N_("Offsets in order" )
diff --git a/modules/stream_out/transcode/transcode.c b/modules/stream_out/transcode/transcode.c
index 96baf80..99784a3 100644
--- a/modules/stream_out/transcode/transcode.c
+++ b/modules/stream_out/transcode/transcode.c
@@ -115,10 +115,10 @@
 
 #define SFILTER_TEXT N_("Overlays")
 #define SFILTER_LONGTEXT N_( \
-    "This allows you to add overlays (also known as \"subpictures\" on the "\
+    "This allows you to add overlays (also known as \"subpictures\") on the "\
     "transcoded video stream. The subpictures produced by the filters will "\
     "be overlayed directly onto the video. You can specify a colon-separated "\
-    "list of subpicture modules" )
+    "list of subpicture modules." )
 
 #define THREADS_TEXT N_("Number of threads")
 #define THREADS_LONGTEXT N_( \
diff --git a/src/misc/update.c b/src/misc/update.c
index d8e6ded..e991b93 100644
--- a/src/misc/update.c
+++ b/src/misc/update.c
@@ -720,8 +720,8 @@ static void* update_DownloadReal( void *obj )
 
 #ifdef _WIN32
     const char *psz_msg =
-        _("The new version was successfully downloaded."
-        "Do you want to close VLC and install it now?");
+        _("The new version was successfully downloaded. "
+          "Do you want to close VLC and install it now?");
     int answer = vlc_dialog_wait_question( p_udt, VLC_DIALOG_QUESTION_NORMAL,
                                            _("Cancel"), _("Install"), NULL,
                                            _("Update VLC media player"), "%s",
-- 
2.10.0.windows.1



More information about the vlc-devel mailing list