Mercurial > mplayer.hg
changeset 36701:eb1a6a0b268f
Make unknown audio language translatable.
author | ib |
---|---|
date | Fri, 07 Feb 2014 18:14:22 +0000 |
parents | 9f19f1bd34eb |
children | fb14d0cfc36d |
files | gui/dialog/menu.c help/help_mp-de.h help/help_mp-en.h |
diffstat | 3 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/dialog/menu.c Fri Feb 07 17:58:29 2014 +0000 +++ b/gui/dialog/menu.c Fri Feb 07 18:14:22 2014 +0000 @@ -405,7 +405,7 @@ unsigned int i; for ( i=0;i<sizeof( Languages ) / sizeof( Languages_t );i++ ) if ( Languages[i].id == language ) return Languages[i].name; - return "Unknown"; + return MSGTR_GUI_Unknown; } #endif
--- a/help/help_mp-de.h Fri Feb 07 17:58:29 2014 +0000 +++ b/help/help_mp-de.h Fri Feb 07 18:14:22 2014 +0000 @@ -1020,6 +1020,7 @@ #define MSGTR_GUI_Translations "Übersetzungen" #define MSGTR_GUI_TurnOffXScreenSaver "XScreenSaver abschalten" #define MSGTR_GUI_TV "TV" +#define MSGTR_GUI_Unknown "Unbekannt" #define MSGTR_GUI_URL "URL" #define MSGTR_GUI_VCD "VCD" #define MSGTR_GUI_Video "Video"
--- a/help/help_mp-en.h Fri Feb 07 17:58:29 2014 +0000 +++ b/help/help_mp-en.h Fri Feb 07 18:14:22 2014 +0000 @@ -819,6 +819,7 @@ #define MSGTR_GUI_Translations "Translations" #define MSGTR_GUI_TurnOffXScreenSaver "Turn off XScreenSaver" #define MSGTR_GUI_TV "TV" +#define MSGTR_GUI_Unknown "Unknown" #define MSGTR_GUI_URL "URL" #define MSGTR_GUI_VCD "VCD" #define MSGTR_GUI_Video "Video"