From a334e32182b96ac8dca8c81c1562a94a617da65d Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Wed, 6 Dec 2017 02:54:46 +0100 Subject: [PATCH] MIDI: use only one i18n string for all the modules --- 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 #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")