[vlc-commits] MIDI: use only one i18n string for all the modules

Jean-Baptiste Kempf git at videolan.org
Wed Dec 6 02:59:35 CET 2017


vlc/vlc-3.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Dec  6 02:54:46 2017 +0100| [d9bf3041054437508dab35ca8769e7eb357ba2f8] | committer: Jean-Baptiste Kempf

MIDI: use only one i18n string for all the modules

(cherry picked from commit a334e32182b96ac8dca8c81c1562a94a617da65d)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/codec/audiotoolbox_midi.c | 6 +++---
 modules/codec/fluidsynth.c        | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/codec/audiotoolbox_midi.c b/modules/codec/audiotoolbox_midi.c
index 74aba8e7dc..296d53b19e 100644
--- a/modules/codec/audiotoolbox_midi.c
+++ b/modules/codec/audiotoolbox_midi.c
@@ -44,9 +44,9 @@ do { if ((errorCode) != noErr) goto exceptionLabel; \
 } while ( 0 )
 #endif
 
-#define SOUNDFONT_TEXT N_("Sound font file")
+#define SOUNDFONT_TEXT N_("SoundFont file")
 #define SOUNDFONT_LONGTEXT N_( \
-    "The Sound Font file (SF2/DLS) to use for synthesis.")
+    "SoundFont file to use for software synthesis." )
 
 static int  Open  (vlc_object_t *);
 static void Close (vlc_object_t *);
@@ -60,7 +60,7 @@ vlc_module_begin()
     set_category(CAT_INPUT)
     set_subcategory(SUBCAT_INPUT_ACODEC)
     set_callbacks(Open, Close)
-    add_loadfile(CFG_PREFIX "soundfont", "",
+    add_loadfile("soundfont", "",
                  SOUNDFONT_TEXT, SOUNDFONT_LONGTEXT, false)
 vlc_module_end()
 
diff --git a/modules/codec/fluidsynth.c b/modules/codec/fluidsynth.c
index b2455300b2..f461f3fd14 100644
--- a/modules/codec/fluidsynth.c
+++ b/modules/codec/fluidsynth.c
@@ -44,9 +44,9 @@
 #include <fluidlite.h>
 #endif
 
-#define SOUNDFONT_TEXT N_("Sound fonts")
+#define SOUNDFONT_TEXT N_("SoundFont file")
 #define SOUNDFONT_LONGTEXT N_( \
-    "A sound fonts file is required for software synthesis." )
+    "SoundFont file to use for software synthesis." )
 
 #define CHORUS_TEXT N_("Chorus")
 



More information about the vlc-commits mailing list