diff options
Diffstat (limited to 'm_property.c')
-rw-r--r-- | m_property.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/m_property.c b/m_property.c index 8ab97d82e8..50b74b86ea 100644 --- a/m_property.c +++ b/m_property.c @@ -198,7 +198,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 +216,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 +267,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); |