MIDI: use only one i18n string for all the modules

This commit is contained in:
Jean-Baptiste Kempf 2017-12-06 02:54:46 +01:00
parent 3be21393d4
commit a334e32182
2 changed files with 5 additions and 5 deletions

View File

@ -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()

View File

@ -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")