summaryrefslogtreecommitdiffstats
path: root/m_property.c
diff options
context:
space:
mode:
authorAmar Takhar <mplayer@darkbeer.org>2009-07-07 01:15:02 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 01:38:20 +0300
commite306174952d42e1cd6cc5efc50ae6bb0410501bc (patch)
treea7eb451f2c634f17d8e36a72b6305c1aff508904 /m_property.c
parentb5972d6f14c04384d88d3f813b435d484562403f (diff)
downloadmpv-e306174952d42e1cd6cc5efc50ae6bb0410501bc.tar.bz2
mpv-e306174952d42e1cd6cc5efc50ae6bb0410501bc.tar.xz
Translation system changes part 2: replace macros by strings
Replace all MSGTR_ macros in the source by the corresponding English string.
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 ecf656f191..97f1340905 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_tmsg(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)
@@ -199,7 +199,7 @@ void m_properties_print_help_list(const m_option_t* list) {
max);
count++;
}
- mp_tmsg(MSGT_CFGPARSER, MSGL_INFO, MSGTR_TotalProperties, count);
+ mp_tmsg(MSGT_CFGPARSER, MSGL_INFO, "\nTotal: %d properties\n", 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) ? _("enabled") : _("disabled"));
return 1;
}
return m_property_int_ro(prop,action,arg,var);