summaryrefslogtreecommitdiffstats
path: root/m_property.c
diff options
context:
space:
mode:
authorAmar Takhar <mplayer@darkbeer.org>2009-07-06 02:41:23 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 01:28:07 +0300
commitb5972d6f14c04384d88d3f813b435d484562403f (patch)
treeaf30d63d0bca01c2132cd54f43b51e444948abc0 /m_property.c
parent7394680e4eb7b21cd8bf38b973ff66881889be26 (diff)
downloadmpv-b5972d6f14c04384d88d3f813b435d484562403f.tar.bz2
mpv-b5972d6f14c04384d88d3f813b435d484562403f.tar.xz
Translation system changes part 1: wrap translated strings
Replace mp_msg() calls which have a translated string as the format argument with mp_tmsg and add _() around all other translated strings.
Diffstat (limited to 'm_property.c')
-rw-r--r--m_property.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/m_property.c b/m_property.c
index d786d26bda..ecf656f191 100644
--- a/m_property.c
+++ b/m_property.c
@@ -181,7 +181,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, MSGTR_PropertyListHeader);
for(i = 0 ; list[i].name ; i++) {
const m_option_t* opt = &list[i];
if(opt->flags & M_OPT_MIN)
@@ -199,7 +199,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, MSGTR_TotalProperties, count);
}
// Some generic property implementations
@@ -250,7 +250,7 @@ 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) ? _(MSGTR_Enabled) : _(MSGTR_Disabled));
return 1;
}
return m_property_int_ro(prop,action,arg,var);