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

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


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

MIDI: use only one i18n string for all the modules

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

 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..77efd6fc0d 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 wor 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..10165065fd 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 wor software synthesis." )
 
 #define CHORUS_TEXT N_("Chorus")
 



More information about the vlc-commits mailing list