[vlc-commits] i18n: typo fixes for the option strings

Michał Trzebiatowski Michał Trzebiatowski git at videolan.org
Mon Dec 11 00:13:18 CET 2017


vlc | branch: master | Michał Trzebiatowski Michał Trzebiatowski <michtrz at gmail.com> | Sun Dec 10 21:06:29 2017 +0100| [e1347a71e3ae4e07e7f8fd53d166677cbd68042e] | committer: Jean-Baptiste Kempf

i18n: typo fixes for the option strings

Signed-off-by: Michał Trzebiatowski <michtrz at gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e1347a71e3ae4e07e7f8fd53d166677cbd68042e
---

 modules/access/v4l2/v4l2.c            | 10 +++++-----
 modules/audio_output/file.c           |  2 +-
 modules/codec/fdkaac.c                | 10 +++++-----
 modules/codec/qsv.c                   | 16 ++++++++--------
 modules/video_filter/mirror.c         |  6 +++---
 modules/video_output/decklink.cpp     |  8 ++++----
 modules/visualization/visual/visual.c |  2 +-
 7 files changed, 27 insertions(+), 27 deletions(-)

diff --git a/modules/access/v4l2/v4l2.c b/modules/access/v4l2/v4l2.c
index dd8be70fa1..dfb00ae477 100644
--- a/modules/access/v4l2/v4l2.c
+++ b/modules/access/v4l2/v4l2.c
@@ -46,16 +46,16 @@
 #define VBI_DEVICE_TEXT N_("VBI capture device")
 #define VBI_DEVICE_LONGTEXT N_( \
     "The device node where VBI data can be read "   \
-    " (for closed captions)." )
+    "(for closed captions)." )
 #define STANDARD_TEXT N_( "Standard" )
 #define STANDARD_LONGTEXT N_( \
     "Video standard (Default, SECAM, PAL, or NTSC)." )
 #define CHROMA_TEXT N_("Video input chroma format")
 #define CHROMA_LONGTEXT N_( \
     "Force the Video4Linux2 video device to use a specific chroma format " \
-    "(eg. I420 or I422 for raw images, MJPG for M-JPEG compressed input) " \
-    "(Complete list: GREY, I240, RV16, RV15, RV24, RV32, YUY2, YUYV, UYVY, " \
-    "I41N, I422, I420, I411, I410, MJPG)")
+    "(eg. I420 or I422 for raw images, MJPG for M-JPEG compressed input). " \
+    "Complete list: GREY, I240, RV16, RV15, RV24, RV32, YUY2, YUYV, UYVY, " \
+    "I41N, I422, I420, I411, I410, MJPG")
 #define INPUT_TEXT N_( "Input" )
 #define INPUT_LONGTEXT N_( \
     "Input of the card to use (see debug)." )
@@ -74,7 +74,7 @@
 #define RADIO_DEVICE_LONGTEXT N_("Radio tuner device node." )
 #define FREQUENCY_TEXT N_("Frequency")
 #define FREQUENCY_LONGTEXT N_( \
-    "Tuner frequency in Hz or kHz (see debug output)" )
+    "Tuner frequency in Hz or kHz (see debug output)." )
 #define TUNER_AUDIO_MODE_TEXT N_("Audio mode")
 #define TUNER_AUDIO_MODE_LONGTEXT N_( \
     "Tuner audio mono/stereo and track selection." )
diff --git a/modules/audio_output/file.c b/modules/audio_output/file.c
index 915907ab6d..6c6c59cfb4 100644
--- a/modules/audio_output/file.c
+++ b/modules/audio_output/file.c
@@ -106,7 +106,7 @@ static const int format_int[] = {
 };
 
 #define FILE_TEXT N_("Output file")
-#define FILE_LONGTEXT N_("File to which the audio samples will be written to. (\"-\" for stdout")
+#define FILE_LONGTEXT N_("File to which the audio samples will be written to (\"-\" for stdout).")
 
 vlc_module_begin ()
     set_description( N_("File audio output") )
diff --git a/modules/codec/fdkaac.c b/modules/codec/fdkaac.c
index e8e263e595..d64adf0459 100644
--- a/modules/codec/fdkaac.c
+++ b/modules/codec/fdkaac.c
@@ -65,19 +65,19 @@ static void CloseEncoder(vlc_object_t *);
 #define ENC_CFG_PREFIX "sout-fdkaac-"
 
 #define AOT_TEXT N_("Encoder Profile")
-#define AOT_LONGTEXT N_("Encoder Algorithm to use")
+#define AOT_LONGTEXT N_("Encoder Algorithm to use.")
 
 #define SIDEBAND_TEXT N_("Enable spectral band replication")
-#define SIDEBAND_LONGTEXT N_("This is an optional feature only for the AAC-ELD profile")
+#define SIDEBAND_LONGTEXT N_("This is an optional feature only for the AAC-ELD profile.")
 
 #define VBR_QUALITY_TEXT N_("VBR Quality")
-#define VBR_QUALITY_LONGTEXT N_("Quality of the VBR Encoding (0=cbr, 1-5 constant quality vbr, 5 is best")
+#define VBR_QUALITY_LONGTEXT N_("Quality of the VBR Encoding (0=cbr, 1-5 constant vbr quality, 5 is the best).")
 
 #define AFTERBURNER_TEXT N_("Enable afterburner library")
-#define AFTERBURNER_LONGTEXT N_("This library will produce higher quality audio at the expense of additional CPU usage (default is enabled)")
+#define AFTERBURNER_LONGTEXT N_("This library will produce higher quality audio at the expense of additional CPU usage (default is enabled).")
 
 #define SIGNALING_TEXT N_("Signaling mode of the extension AOT")
-#define SIGNALING_LONGTEXT N_("1 is explicit for SBR and implicit for PS (default), 2 is explicit hierarchical")
+#define SIGNALING_LONGTEXT N_("1 is explicit for SBR and implicit for PS (default), 2 is explicit hierarchical.")
 
 #define  CH_ORDER_MPEG 0  /*!< MPEG channel ordering (e. g. 5.1: C, L, R, SL, SR, LFE)           */
 #define  CH_ORDER_WAV 1   /*!< WAV fileformat channel ordering (e. g. 5.1: L, R, C, LFE, SL, SR) */
diff --git a/modules/codec/qsv.c b/modules/codec/qsv.c
index 293d619ccf..93752e792e 100644
--- a/modules/codec/qsv.c
+++ b/modules/codec/qsv.c
@@ -79,17 +79,17 @@ static void     Close(vlc_object_t *);
 #define GOP_REF_DIST_TEXT N_("Group of Picture Reference Distance")
 #define GOP_REF_DIST_LONGTEXT N_( \
     "Distance between I- or P- key frames; if it is zero, the GOP " \
-    "structure is unspecified. Note: If GopRefDist = 1, there are no B- " \
+    "structure is unspecified. Note: If GopRefDist = 1, there are no B-" \
     "frames used.")
 
 #define TARGET_USAGE_TEXT N_("Target Usage")
 #define TARGET_USAGE_LONGTEXT N_("The target usage allow to choose between " \
-    "different trade-offs between quality and speed. Allowed values are : " \
+    "different trade-offs between quality and speed. Allowed values are: " \
     "'speed', 'balanced' and 'quality'.")
 
 #define IDR_INTERVAL_TEXT N_("IDR interval")
 #define IDR_INTERVAL_LONGTEXT N_( \
-    "For H.264, IdrInterval specifies IDR-frame interval in terms of I- " \
+    "For H.264, IdrInterval specifies IDR-frame interval in terms of I-" \
     "frames; if IdrInterval=0, then every I-frame is an IDR-frame. If " \
     "IdrInterval=1, then every other I-frame is an IDR-frame, etc. " \
     "For MPEG2, IdrInterval defines sequence header interval in terms " \
@@ -100,7 +100,7 @@ static void     Close(vlc_object_t *);
 #define RATE_CONTROL_TEXT N_("Rate Control Method")
 #define RATE_CONTROL_LONGTEXT N_( \
     "The rate control method to use when encoding. Can be one of " \
-    "'cbr', 'vbr', 'qp', 'avbr'. 'qp' mode isn't supported for mpeg2")
+    "'cbr', 'vbr', 'qp', 'avbr'. 'qp' mode isn't supported for mpeg2.")
 
 #define QP_TEXT N_("Quantization parameter")
 #define QP_LONGTEXT N_("Quantization parameter for all types of frames. " \
@@ -120,15 +120,15 @@ static void     Close(vlc_object_t *);
     "overrides any qp set globally. Used only if rc_method is 'qp'.")
 
 #define MAX_BITRATE_TEXT N_("Maximum Bitrate")
-#define MAX_BITRATE_LONGTEXT N_("Defines the maximum bitrate in Kbps " \
+#define MAX_BITRATE_LONGTEXT N_("Defines the maximum bitrate in kbps " \
     "(1000 bits/s) for VBR rate control method. If not set, this parameter" \
     " is computed from other sources such as bitrate, profile, level, etc.")
 
 #define ACCURACY_TEXT N_("Accuracy of RateControl")
 #define ACCURACY_LONGTEXT N_("Tolerance in percentage of the 'avbr' " \
     " (Average Variable BitRate) method. (e.g. 10 with a bitrate of 800 " \
-    " kpbs means the encoder tries not to  go above 880 kbps and under " \
-    " 730 kpbs. The targeted accuracy is only reached after a certained " \
+    " kbps means the encoder tries not to  go above 880 kbps and under " \
+    " 730 kbps. The targeted accuracy is only reached after a certained " \
     " convergence period. See the convergence parameter")
 
 #define CONVERGENCE_TEXT N_("Convergence time of 'avbr' RateControl")
@@ -148,7 +148,7 @@ static void     Close(vlc_object_t *);
 #define ASYNC_DEPTH_TEXT N_("Number of parallel operations")
 #define ASYNC_DEPTH_LONGTEXT N_("Defines the number of parallel " \
      "encoding operations before we synchronise the result. Higher " \
-     " may result on better throughput depending on hardware. " \
+     "numbers may result on better throughput depending on hardware. " \
      "MPEG2 needs at least 1 here.")
 
 static const int const profile_h264_list[] =
diff --git a/modules/video_filter/mirror.c b/modules/video_filter/mirror.c
index 719428eabb..f6137c508a 100644
--- a/modules/video_filter/mirror.c
+++ b/modules/video_filter/mirror.c
@@ -62,14 +62,14 @@ static const char *const ppsz_filter_options[] = {
  * Module descriptor
  *****************************************************************************/
 #define ORIENTATION_TEXT N_("Mirror orientation")
-#define ORIENTATION_LONGTEXT N_("Defines orientation of the mirror splitting. \
-    Can be vertical or horizontal" )
+#define ORIENTATION_LONGTEXT N_("Defines orientation of the mirror splitting. " \
+    "Can be vertical or horizontal." )
 static const int pi_orientation_values[] = { 0, 1 };
 static const char *const ppsz_orientation_descriptions[] = {
   N_("Vertical"), N_("Horizontal") };
 
 #define DIRECTION_TEXT N_("Direction")
-#define DIRECTION_LONGTEXT N_("Direction of the mirroring" )
+#define DIRECTION_LONGTEXT N_("Direction of the mirroring." )
 static const int pi_direction_values[] = { 0, 1 };
 static const char *const ppsz_direction_descriptions[] = {
   N_("Left to right/Top to bottom"), N_("Right to left/Bottom to top") };
diff --git a/modules/video_output/decklink.cpp b/modules/video_output/decklink.cpp
index 81af047aaf..1e50461087 100644
--- a/modules/video_output/decklink.cpp
+++ b/modules/video_output/decklink.cpp
@@ -73,12 +73,12 @@ static const int pi_channels_maps[CHANNELS_MAX+1] =
 #define AFD_INDEX_TEXT N_("Active Format Descriptor value")
 
 #define AR_INDEX_TEXT N_("Aspect Ratio")
-#define AR_INDEX_LONGTEXT N_("Aspect Ratio of the source picture")
+#define AR_INDEX_LONGTEXT N_("Aspect Ratio of the source picture.")
 
-#define AFDLINE_INDEX_TEXT N_("Active Format Descriptor line.")
+#define AFDLINE_INDEX_TEXT N_("Active Format Descriptor line")
 #define AFDLINE_INDEX_LONGTEXT N_("VBI line on which to output Active Format Descriptor.")
 
-#define NOSIGNAL_IMAGE_TEXT N_("Picture to display on input signal loss.")
+#define NOSIGNAL_IMAGE_TEXT N_("Picture to display on input signal loss")
 #define NOSIGNAL_IMAGE_LONGTEXT NOSIGNAL_IMAGE_TEXT
 
 #define CARD_INDEX_TEXT N_("Output card")
@@ -232,7 +232,7 @@ static void CloseAudio          (vlc_object_t *);
 
 vlc_module_begin()
     set_shortname(N_("DecklinkOutput"))
-    set_description(N_("output module to write to Blackmagic SDI card"))
+    set_description(N_("Output module to write to Blackmagic SDI card"))
     set_section(N_("DeckLink General Options"), NULL)
     add_integer(CFG_PREFIX "card-index", 0,
                 CARD_INDEX_TEXT, CARD_INDEX_LONGTEXT, true)
diff --git a/modules/visualization/visual/visual.c b/modules/visualization/visual/visual.c
index e830efba67..09b2b41e9f 100644
--- a/modules/visualization/visual/visual.c
+++ b/modules/visualization/visual/visual.c
@@ -69,7 +69,7 @@
 
 #define NBBANDS_TEXT N_( "Show 80 bands instead of 20" )
 #define SPNBBANDS_LONGTEXT N_( \
-      "More bands for the spectrometer : 80 if enabled else 20." )
+      "More bands for the spectrometer: 80 if enabled, else 20." )
 
 #define SEPAR_TEXT N_( "Number of blank pixels between bands.")
 



More information about the vlc-commits mailing list