diff options
author | Amar Takhar <mplayer@darkbeer.org> | 2009-07-06 02:41:23 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 01:28:07 +0300 |
commit | b5972d6f14c04384d88d3f813b435d484562403f (patch) | |
tree | af30d63d0bca01c2132cd54f43b51e444948abc0 /input/appleir.c | |
parent | 7394680e4eb7b21cd8bf38b973ff66881889be26 (diff) | |
download | mpv-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 'input/appleir.c')
-rw-r--r-- | input/appleir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/input/appleir.c b/input/appleir.c index 756c66047d..f0b848ceff 100644 --- a/input/appleir.c +++ b/input/appleir.c @@ -79,11 +79,11 @@ int mp_input_appleir_init (char *dev) if (dev) { - mp_msg (MSGT_INPUT, MSGL_V, MSGTR_INPUT_APPLE_IR_Init, dev); + mp_tmsg (MSGT_INPUT, MSGL_V, MSGTR_INPUT_APPLE_IR_Init, dev); fd = open (dev, O_RDONLY | O_NONBLOCK); if (fd < 0) { - mp_msg (MSGT_INPUT, MSGL_ERR, + mp_tmsg (MSGT_INPUT, MSGL_ERR, MSGTR_INPUT_APPLE_IR_CantOpen, strerror (errno)); return -1; } @@ -108,13 +108,13 @@ int mp_input_appleir_init (char *dev) id.vendor == USB_VENDOR_APPLE && (id.product == USB_DEV_APPLE_IR ||id.product == USB_DEV_APPLE_IR_2)) { - mp_msg (MSGT_INPUT, MSGL_V, MSGTR_INPUT_APPLE_IR_Detect, file); + mp_tmsg (MSGT_INPUT, MSGL_V, MSGTR_INPUT_APPLE_IR_Detect, file); return fd; } close (fd); } - mp_msg (MSGT_INPUT, MSGL_ERR, + mp_tmsg (MSGT_INPUT, MSGL_ERR, MSGTR_INPUT_APPLE_IR_CantOpen, strerror (errno)); } |