From 2569c2e2bc1e91f520d887b723d3138107f119f3 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sun, 7 Mar 2010 18:05:48 +0200 Subject: 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). --- m_option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm_option.c') 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; -- cgit v1.2.3