[vlc-devel] [PATCH 1/2] i18n: missing . in LONGTEXT variables

Michał Trzebiatowski michtrz at gmail.com
Fri Dec 1 02:31:55 CET 2017


Signed-off-by: Michał Trzebiatowski <michtrz at gmail.com>
---
 modules/access/dvb/access.c                       |  4 +-
 modules/gui/qt/components/preferences_widgets.cpp |  2 +-
 modules/stream_out/standard.c                     |  6 +-
 src/libvlc-module.c                               | 72 +++++++++++------------
 4 files changed, 42 insertions(+), 42 deletions(-)

diff --git a/modules/access/dvb/access.c b/modules/access/dvb/access.c
index 0d4283c..c5bc986 100644
--- a/modules/access/dvb/access.c
+++ b/modules/access/dvb/access.c
@@ -68,10 +68,10 @@ static void Close( vlc_object_t *p_this );
 
 /* Satellite */
 #define SATELLITE_TEXT N_("Satellite scanning config")
-#define SATELLITE_LONGTEXT N_("filename of config file in share/dvb/dvb-s")
+#define SATELLITE_LONGTEXT N_("filename of config file in share/dvb/dvb-s.")
 
 #define SCANLIST_TEXT N_("Scan tuning list")
-#define SCANLIST_LONGTEXT N_("filename containing initial scan tuning data")
+#define SCANLIST_LONGTEXT N_("filename containing initial scan tuning data.")
 
 #define SCAN_NIT_TEXT N_("Use NIT for scanning services")
 
diff --git a/modules/gui/qt/components/preferences_widgets.cpp b/modules/gui/qt/components/preferences_widgets.cpp
index 1321f86..1419bac 100644
--- a/modules/gui/qt/components/preferences_widgets.cpp
+++ b/modules/gui/qt/components/preferences_widgets.cpp
@@ -1132,7 +1132,7 @@ KeySelectorControl::KeySelectorControl( vlc_object_t *_p_this,
 {
     label = new QLabel(
         qtr( "Select or double click an action to change the associated "
-             "hotkey. Use delete key to remove hotkeys"), p );
+             "hotkey. Use delete key to remove hotkeys."), p );
 
     label->setWordWrap( true );
     searchLabel = new QLabel( qtr( "Search" ), p );
diff --git a/modules/stream_out/standard.c b/modules/stream_out/standard.c
index 8f78702..a4f6fe6 100644
--- a/modules/stream_out/standard.c
+++ b/modules/stream_out/standard.c
@@ -50,12 +50,12 @@
     "Destination (URL) to use for the stream. Overrides path and bind parameters" )
 #define BIND_TEXT N_("address to bind to (helper setting for dst)")
 #define BIND_LONGTEXT N_( \
-  "address:port to bind vlc to listening incoming streams "\
-  "helper setting for dst,dst=bind+'/'+path. dst-parameter overrides this" )
+  "address:port to bind vlc to listening incoming streams. "\
+  "helper setting for dst, dst=bind+'/'+path. dst-parameter overrides this." )
 #define PATH_TEXT N_("filename for stream (helper setting for dst)")
 #define PATH_LONGTEXT N_( \
   "Filename for stream "\
-  "helper setting for dst, dst=bind+'/'+path, dst-parameter overrides this" )
+  "helper setting for dst, dst=bind+'/'+path. dst-parameter overrides this." )
 #define NAME_TEXT N_("Session name")
 #define NAME_LONGTEXT N_( \
     "This is the name of the session that will be announced in the SDP " \
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index b41d58b..708d45b 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -211,26 +211,26 @@ static const char *const ppsz_stereo_mode_texts[] = { N_("Unset"),
 #define AUDIO_REPLAY_GAIN_MODE_TEXT N_( \
     "Replay gain mode" )
 #define AUDIO_REPLAY_GAIN_MODE_LONGTEXT N_( \
-    "Select the replay gain mode" )
+    "Select the replay gain mode." )
 #define AUDIO_REPLAY_GAIN_PREAMP_TEXT N_( \
     "Replay preamp" )
 #define AUDIO_REPLAY_GAIN_PREAMP_LONGTEXT N_( \
     "This allows you to change the default target level (89 dB) " \
-    "for stream with replay gain information" )
+    "for stream with replay gain information." )
 #define AUDIO_REPLAY_GAIN_DEFAULT_TEXT N_( \
     "Default replay gain" )
 #define AUDIO_REPLAY_GAIN_DEFAULT_LONGTEXT N_( \
-    "This is the gain used for stream without replay gain information" )
+    "This is the gain used for stream without replay gain information." )
 #define AUDIO_REPLAY_GAIN_PEAK_PROTECTION_TEXT N_( \
     "Peak protection" )
 #define AUDIO_REPLAY_GAIN_PEAK_PROTECTION_LONGTEXT N_( \
-    "Protect against sound clipping" )
+    "Protect against sound clipping." )
 
 #define AUDIO_TIME_STRETCH_TEXT N_( \
     "Enable time stretching audio" )
 #define AUDIO_TIME_STRETCH_LONGTEXT N_( \
     "This allows playing audio at lower or higher speed without " \
-    "affecting the audio pitch" )
+    "affecting the audio pitch." )
 
 
 static const char *const ppsz_replay_gain_mode[] = {
@@ -310,7 +310,7 @@ static const char *const ppsz_align_descriptions[] =
 
 #define FULLSCREEN_TEXT N_("Fullscreen video output")
 #define FULLSCREEN_LONGTEXT N_( \
-    "Start video in fullscreen mode" )
+    "Start video in fullscreen mode." )
 
 #define VIDEO_ON_TOP_TEXT N_("Always on top")
 #define VIDEO_ON_TOP_LONGTEXT N_( \
@@ -382,7 +382,7 @@ static const char *const ppsz_pos_descriptions[] =
 
 #define VIDEO_SPLITTER_TEXT N_("Video splitter module")
 #define VIDEO_SPLITTER_LONGTEXT N_( \
-    "This adds video splitters like clone or wall" )
+    "This adds video splitters like clone or wall." )
 
 #define VIDEO_FILTER_TEXT N_("Video filter module")
 #define VIDEO_FILTER_LONGTEXT N_( \
@@ -400,7 +400,7 @@ static const char *const ppsz_pos_descriptions[] =
 
 #define SNAP_FORMAT_TEXT N_("Video snapshot format")
 #define SNAP_FORMAT_LONGTEXT N_( \
-    "Image format which will be used to store the video snapshots" )
+    "Image format which will be used to store the video snapshots." )
 
 #define SNAP_PREVIEW_TEXT N_("Display video snapshot preview")
 #define SNAP_PREVIEW_LONGTEXT N_( \
@@ -408,7 +408,7 @@ static const char *const ppsz_pos_descriptions[] =
 
 #define SNAP_SEQUENTIAL_TEXT N_("Use sequential numbers instead of timestamps")
 #define SNAP_SEQUENTIAL_LONGTEXT N_( \
-    "Use sequential numbers instead of timestamps for snapshot numbering")
+    "Use sequential numbers instead of timestamps for snapshot numbering.")
 
 #define SNAP_WIDTH_TEXT N_("Video snapshot width")
 #define SNAP_WIDTH_LONGTEXT N_( \
@@ -472,7 +472,7 @@ static const char *const ppsz_pos_descriptions[] =
 #define SKIP_FRAMES_TEXT N_("Skip frames")
 #define SKIP_FRAMES_LONGTEXT N_( \
     "Enables framedropping on MPEG2 stream. Framedropping " \
-    "occurs when your computer is not powerful enough" )
+    "occurs when your computer is not powerful enough." )
 
 #define DROP_LATE_FRAMES_TEXT N_("Drop late frames")
 #define DROP_LATE_FRAMES_LONGTEXT N_( \
@@ -633,7 +633,7 @@ static const char *const ppsz_prefres[] = {
 
 #define INPUT_REPEAT_TEXT N_("Input repetitions")
 #define INPUT_REPEAT_LONGTEXT N_( \
-    "Number of time the same input will be repeated")
+    "Number of time the same input will be repeated.")
 
 #define START_TIME_TEXT N_("Start time")
 #define START_TIME_LONGTEXT N_( \
@@ -649,7 +649,7 @@ static const char *const ppsz_prefres[] = {
 
 #define INPUT_FAST_SEEK_TEXT N_("Fast seek")
 #define INPUT_FAST_SEEK_LONGTEXT N_( \
-    "Favor speed over precision while seeking" )
+    "Favor speed over precision while seeking." )
 
 #define INPUT_RATE_TEXT N_("Playback speed")
 #define INPUT_RATE_LONGTEXT N_( \
@@ -670,16 +670,16 @@ static const char *const ppsz_prefres[] = {
 #define BOOKMARKS_LONGTEXT N_( \
     "You can manually give a list of bookmarks for a stream in " \
     "the form \"{name=bookmark-name,time=optional-time-offset," \
-    "bytes=optional-byte-offset},{...}\"")
+    "bytes=optional-byte-offset},{...}\".")
 
 #define INPUT_RECORD_PATH_TEXT N_("Record directory")
 #define INPUT_RECORD_PATH_LONGTEXT N_( \
-    "Directory where the records will be stored" )
+    "Directory where the records will be stored." )
 
 #define INPUT_RECORD_NATIVE_TEXT N_("Prefer native stream recording")
 #define INPUT_RECORD_NATIVE_LONGTEXT N_( \
     "When possible, the input stream will be recorded instead of using " \
-    "the stream output module" )
+    "the stream output module. )
 
 #define INPUT_TIMESHIFT_PATH_TEXT N_("Timeshift directory")
 #define INPUT_TIMESHIFT_PATH_LONGTEXT N_( \
@@ -712,7 +712,7 @@ static const char *const ppsz_prefres[] = {
     "instead of over the movie. Try several positions.")
 
 #define SUB_TEXT_SCALE_TEXT N_("Subtitles text scaling factor")
-#define SUB_TEXT_SCALE_LONGTEXT N_("Changes the subtitles size where possible")
+#define SUB_TEXT_SCALE_LONGTEXT N_("Changes the subtitles size where possible.")
 
 #define SPU_TEXT N_("Enable sub-pictures")
 #define SPU_LONGTEXT N_( \
@@ -770,13 +770,13 @@ static const char *const ppsz_prefres[] = {
 #if defined( _WIN32 ) || defined( __OS2__ )
 # define DVD_DEV_LONGTEXT N_( \
     "This is the default DVD drive (or file) to use. Don't forget the colon " \
-    "after the drive letter (e.g. D:)")
+    "after the drive letter (e.g. D:).")
 # define VCD_DEV_LONGTEXT N_( \
     "This is the default VCD drive (or file) to use. Don't forget the colon " \
-    "after the drive letter (e.g. D:)")
+    "after the drive letter (e.g. D:).")
 # define CDAUDIO_DEV_LONGTEXT N_( \
     "This is the default Audio CD drive (or file) to use. Don't forget the " \
-    "colon after the drive letter (e.g. D:)")
+    "colon after the drive letter (e.g. D:).")
 # define DVD_DEVICE     NULL
 # define VCD_DEVICE     "D:"
 
@@ -851,7 +851,7 @@ static const char *const ppsz_prefres[] = {
 #define SOCKS_SERVER_TEXT N_("SOCKS server")
 #define SOCKS_SERVER_LONGTEXT N_( \
     "SOCKS proxy server to use. This must be of the form " \
-    "address:port. It will be used for all TCP connections" )
+    "address:port. It will be used for all TCP connections." )
 
 #define SOCKS_USER_TEXT N_("SOCKS user name")
 #define SOCKS_USER_LONGTEXT N_( \
@@ -928,7 +928,7 @@ static const char *const ppsz_prefres[] = {
 
 #define SOUT_ALL_TEXT N_("Enable streaming of all ES")
 #define SOUT_ALL_LONGTEXT N_( \
-    "Stream all elementary streams (video, audio and subtitles)")
+    "Stream all elementary streams (video, audio and subtitles).")
 
 #define SOUT_DISPLAY_TEXT N_("Display while streaming")
 #define SOUT_DISPLAY_LONGTEXT N_( \
@@ -953,7 +953,7 @@ static const char *const ppsz_prefres[] = {
 #define SOUT_KEEP_LONGTEXT N_( \
     "This allows you to keep an unique stream output instance across " \
     "multiple playlist item (automatically insert the gather stream output " \
-    "if not specified)" )
+    "if not specified)." )
 
 #define SOUT_MUX_CACHING_TEXT N_("Stream output muxer caching (ms)")
 #define SOUT_MUX_CACHING_LONGTEXT N_( \
@@ -967,11 +967,11 @@ static const char *const ppsz_prefres[] = {
 
 #define MUX_TEXT N_("Mux module")
 #define MUX_LONGTEXT N_( \
-    "This is a legacy entry to let you configure mux modules")
+    "This is a legacy entry to let you configure mux modules.")
 
 #define ACCESS_OUTPUT_TEXT N_("Access output module")
 #define ACCESS_OUTPUT_LONGTEXT N_( \
-    "This is a legacy entry to let you configure access output modules")
+    "This is a legacy entry to let you configure access output modules.")
 
 #define ANN_SAPCTRL_LONGTEXT N_( \
     "If this option is enabled, the flow on " \
@@ -1034,7 +1034,7 @@ static const char *const ppsz_prefres[] = {
 
 #define USE_STREAM_IMMEDIATE_LONGTEXT N_( \
      "This option is useful if you want to lower the latency when " \
-     "reading a stream")
+     "reading a stream.")
 
 #define VLM_CONF_TEXT N_("VLM configuration file")
 #define VLM_CONF_LONGTEXT N_( \
@@ -1075,7 +1075,7 @@ static const char *const ppsz_prefres[] = {
 
 #define STARTEDFROMFILE_TEXT N_("VLC is started from file association")
 #define STARTEDFROMFILE_LONGTEXT N_( \
-    "Tell VLC that it is being launched due to a file association in the OS" )
+    "Tell VLC that it is being launched due to a file association in the OS." )
 
 #define ONEINSTANCEWHENSTARTEDFROMFILE_TEXT N_( \
     "Use only one instance when started from file manager")
@@ -1115,7 +1115,7 @@ static const char *const ppsz_prefres[] = {
 
 #define PREPARSE_TIMEOUT_TEXT N_( "Preparsing timeout" )
 #define PREPARSE_TIMEOUT_LONGTEXT N_( \
-    "Maximum time allowed to preparse an item, in milliseconds" )
+    "Maximum time allowed to preparse an item, in milliseconds." )
 
 #define METADATA_NETWORK_TEXT N_( "Allow metadata network access" )
 
@@ -1297,15 +1297,15 @@ static const char *const mouse_wheel_texts[] = {
 #define NAV_ACTIVATE_KEY_TEXT N_("Activate")
 #define NAV_ACTIVATE_KEY_LONGTEXT N_("Select the key to activate selected item in DVD menus.")
 #define DISC_MENU_TEXT N_("Go to the DVD menu")
-#define DISC_MENU_LONGTEXT N_("Select the key to take you to the DVD menu")
+#define DISC_MENU_LONGTEXT N_("Select the key to take you to the DVD menu.")
 #define TITLE_PREV_TEXT N_("Select previous DVD title")
-#define TITLE_PREV_LONGTEXT N_("Select the key to choose the previous title from the DVD")
+#define TITLE_PREV_LONGTEXT N_("Select the key to choose the previous title from the DVD.")
 #define TITLE_NEXT_TEXT N_("Select next DVD title")
-#define TITLE_NEXT_LONGTEXT N_("Select the key to choose the next title from the DVD")
+#define TITLE_NEXT_LONGTEXT N_("Select the key to choose the next title from the DVD.")
 #define CHAPTER_PREV_TEXT N_("Select prev DVD chapter")
-#define CHAPTER_PREV_LONGTEXT N_("Select the key to choose the previous chapter from the DVD")
+#define CHAPTER_PREV_LONGTEXT N_("Select the key to choose the previous chapter from the DVD.")
 #define CHAPTER_NEXT_TEXT N_("Select next DVD chapter")
-#define CHAPTER_NEXT_LONGTEXT N_("Select the key to choose the next chapter from the DVD")
+#define CHAPTER_NEXT_LONGTEXT N_("Select the key to choose the next chapter from the DVD.")
 #define VOL_UP_KEY_TEXT N_("Volume up")
 #define VOL_UP_KEY_LONGTEXT N_("Select the key to increase audio volume.")
 #define VOL_DOWN_KEY_TEXT N_("Volume down")
@@ -1319,7 +1319,7 @@ static const char *const mouse_wheel_texts[] = {
 #define SUBTEXT_SCALE_KEY_TEXT     N_("Reset subtitles text scale")
 #define SUBTEXT_SCALEDOWN_KEY_TEXT N_("Scale up subtitles text")
 #define SUBTEXT_SCALEUP_KEY_TEXT   N_("Scale down subtitles text")
-#define SUBTEXT_SCALE_KEY_LONGTEXT N_("Select the key to change subtitles text scaling")
+#define SUBTEXT_SCALE_KEY_LONGTEXT N_("Select the key to change subtitles text scaling.")
 #define SUBSYNC_MARKAUDIO_KEY_TEXT N_("Subtitle sync / bookmark audio timestamp")
 #define SUBSYNC_MARKAUDIO_KEY_LONGTEXT N_("Select the key to bookmark audio timestamp when syncing subtitles.")
 #define SUBSYNC_MARKSUB_KEY_TEXT N_("Subtitle sync / bookmark subtitle timestamp")
@@ -1418,10 +1418,10 @@ static const char *const mouse_wheel_texts[] = {
 #define RECORD_KEY_LONGTEXT N_("Record access filter start/stop.")
 
 #define LOOP_KEY_TEXT N_("Normal/Loop/Repeat")
-#define LOOP_KEY_LONGTEXT N_("Toggle Normal/Loop/Repeat playlist modes")
+#define LOOP_KEY_LONGTEXT N_("Toggle Normal/Loop/Repeat playlist modes.")
 
 #define RANDOM_KEY_TEXT N_("Random")
-#define RANDOM_KEY_LONGTEXT N_("Toggle random playlist playback")
+#define RANDOM_KEY_LONGTEXT N_("Toggle random playlist playback.")
 
 #define ZOOM_KEY_TEXT N_("Zoom")
 #define ZOOM_KEY_LONGTEXT N_("Zoom")
@@ -1460,7 +1460,7 @@ static const char *const mouse_wheel_texts[] = {
     "Toggle wallpaper mode in video output." )
 
 #define AUDI_DEVICE_CYCLE_KEY_TEXT N_("Cycle through audio devices")
-#define AUDI_DEVICE_CYCLE_KEY_LONGTEXT N_("Cycle through available audio devices")
+#define AUDI_DEVICE_CYCLE_KEY_LONGTEXT N_("Cycle through available audio devices.")
 
 /*
  * Quick usage guide for the configuration options:
-- 
2.10.0.windows.1



More information about the vlc-devel mailing list