diff options
Diffstat (limited to 'm_property.c')
-rw-r--r-- | m_property.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/m_property.c b/m_property.c index 8ab97d82e8..363e042f1c 100644 --- a/m_property.c +++ b/m_property.c @@ -30,7 +30,6 @@ #include "m_option.h" #include "m_property.h" #include "mp_msg.h" -#include "help_mp.h" #define ROUND(x) ((int)((x)<0 ? (x)-0.5 : (x)+0.5)) @@ -198,7 +197,7 @@ void m_properties_print_help_list(const m_option_t* list) { char min[50],max[50]; int i,count = 0; - mp_msg(MSGT_CFGPARSER, MSGL_INFO, MSGTR_PropertyListHeader); + mp_tmsg(MSGT_CFGPARSER, MSGL_INFO, "\n Name Type Min Max\n\n"); for(i = 0 ; list[i].name ; i++) { const m_option_t* opt = &list[i]; if(opt->flags & M_OPT_MIN) @@ -216,7 +215,7 @@ void m_properties_print_help_list(const m_option_t* list) { max); count++; } - mp_msg(MSGT_CFGPARSER, MSGL_INFO, MSGTR_TotalProperties, count); + mp_tmsg(MSGT_CFGPARSER, MSGL_INFO, "\nTotal: %d properties\n", count); } // Some generic property implementations @@ -267,7 +266,8 @@ int m_property_flag_ro(const m_option_t* prop,int action, switch(action) { case M_PROPERTY_PRINT: if(!arg) return 0; - *(char**)arg = strdup((var > prop->min) ? MSGTR_Enabled : MSGTR_Disabled); + *(char**)arg = strdup((var > prop->min) ? + mp_gtext("enabled") : mp_gtext("disabled")); return 1; } return m_property_int_ro(prop,action,arg,var); |