summaryrefslogtreecommitdiffstats
path: root/libao2/audio_out.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 /libao2/audio_out.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 'libao2/audio_out.c')
-rw-r--r--libao2/audio_out.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libao2/audio_out.c b/libao2/audio_out.c
index fe95ab192f..76ccbbb045 100644
--- a/libao2/audio_out.c
+++ b/libao2/audio_out.c
@@ -124,7 +124,7 @@ const ao_functions_t* const audio_out_drivers[] =
void list_audio_out(void){
int i=0;
- mp_msg(MSGT_AO, MSGL_INFO, MSGTR_AvailableAudioOutputDrivers);
+ mp_tmsg(MSGT_AO, MSGL_INFO, MSGTR_AvailableAudioOutputDrivers);
mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_AUDIO_OUTPUTS\n");
while (audio_out_drivers[i]) {
const ao_info_t *info = audio_out_drivers[i++]->info;
@@ -152,7 +152,7 @@ const ao_functions_t* init_best_audio_out(char** ao_list,int use_plugin,int rate
else
ao_len = strlen(ao);
- mp_msg(MSGT_AO, MSGL_V, MSGTR_AO_TryingPreferredAudioDriver,
+ mp_tmsg(MSGT_AO, MSGL_V, MSGTR_AO_TryingPreferredAudioDriver,
ao_len, ao, ao_subdevice ? ao_subdevice : "[none]");
for(i=0;audio_out_drivers[i];i++){
@@ -162,12 +162,12 @@ const ao_functions_t* init_best_audio_out(char** ao_list,int use_plugin,int rate
if(audio_out->init(rate,channels,format,flags))
return audio_out; // success!
else
- mp_msg(MSGT_AO, MSGL_WARN, MSGTR_AO_FailedInit, ao);
+ mp_tmsg(MSGT_AO, MSGL_WARN, MSGTR_AO_FailedInit, ao);
break;
}
}
if (!audio_out_drivers[i]) // we searched through the entire list
- mp_msg(MSGT_AO, MSGL_WARN, MSGTR_AO_NoSuchDriver, ao_len, ao);
+ mp_tmsg(MSGT_AO, MSGL_WARN, MSGTR_AO_NoSuchDriver, ao_len, ao);
// continue...
++ao_list;
if(!(ao_list[0])) return NULL; // do NOT fallback to others
@@ -177,7 +177,7 @@ const ao_functions_t* init_best_audio_out(char** ao_list,int use_plugin,int rate
ao_subdevice = NULL;
}
- mp_msg(MSGT_AO, MSGL_V, MSGTR_AO_TryingEveryKnown);
+ mp_tmsg(MSGT_AO, MSGL_V, MSGTR_AO_TryingEveryKnown);
// now try the rest...
for(i=0;audio_out_drivers[i];i++){