summaryrefslogtreecommitdiffstats
path: root/m_option.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-03-07 18:05:48 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-03-07 21:34:40 +0200
commit2569c2e2bc1e91f520d887b723d3138107f119f3 (patch)
tree21c829cde251feb9927cbcdcdcf8fe3f17859ec8 /m_option.c
parent74ffb51f33764fecaf94f5c1a429b553272bd196 (diff)
downloadmpv-2569c2e2bc1e91f520d887b723d3138107f119f3.tar.bz2
mpv-2569c2e2bc1e91f520d887b723d3138107f119f3.tar.xz
Make help text translatable
Translate help_text and also make all CONF_TYPE_PRINT option output translatable (though no translations exist yet for anything other than the main help text).
Diffstat (limited to 'm_option.c')
-rw-r--r--m_option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/m_option.c b/m_option.c
index 6208e18101..06b5ad5e73 100644
--- a/m_option.c
+++ b/m_option.c
@@ -858,7 +858,7 @@ static int parse_print(const m_option_t* opt,const char *name, char *param, void
else if(opt->type == CONF_TYPE_PRINT_FUNC)
return ((m_opt_func_full_t) opt->p)(opt,name,param);
else
- mp_msg(MSGT_CFGPARSER, MSGL_INFO, "%s", (char *) opt->p);
+ mp_msg(MSGT_CFGPARSER, MSGL_INFO, "%s", mp_gtext(opt->p));
if(opt->priv == NULL)
return M_OPT_EXIT;