summaryrefslogtreecommitdiffstats
path: root/m_property.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-01-12 12:17:41 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-01-12 12:17:41 +0200
commitc5bd47f54380b55a9fefe1e922a64a3a96b773ac (patch)
tree6155fbbab2788d7b849b813c8662f4253a51235a /m_property.c
parentee98209ab84a338525e0dde9f62633bcf0b08078 (diff)
downloadmpv-c5bd47f54380b55a9fefe1e922a64a3a96b773ac.tar.bz2
mpv-c5bd47f54380b55a9fefe1e922a64a3a96b773ac.tar.xz
translations: corrently translate most OSD output
Add various fixes needed to actually produce translated OSD output. About every OSD string that had a translation macro under the old system should be translatable now.
Diffstat (limited to 'm_property.c')
-rw-r--r--m_property.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/m_property.c b/m_property.c
index 72d2491a87..b296aa1b87 100644
--- a/m_property.c
+++ b/m_property.c
@@ -250,7 +250,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) ? _("enabled") : _("disabled"));
+ *(char**)arg = strdup((var > prop->min) ?
+ mp_gtext("enabled") : mp_gtext("disabled"));
return 1;
}
return m_property_int_ro(prop,action,arg,var);