changeset 36278:32c93d835e3e

Enable localization of ratio text.
author ib
date Tue, 30 Jul 2013 11:26:52 +0000
parents 734f46ef6277
children 79519749ef4e
files gui/dialog/menu.c gui/win32/gui.c help/help_mp-de.h help/help_mp-en.h
diffstat 4 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/menu.c	Tue Jul 30 11:02:15 2013 +0000
+++ b/gui/dialog/menu.c	Tue Jul 30 11:26:52 2013 +0000
@@ -596,7 +596,7 @@
     H=AddMenuCheckItem( window1, (const char*)aspect11_xpm, AspectMenu,MSGTR_MENU_Original, a11, evSetAspect + ( 1 << 16 ) );
     N=AddMenuCheckItem( window1, (const char*)aspect169_xpm, AspectMenu,"16:9", a169, evSetAspect + ( 2 << 16 ) );
     D=AddMenuCheckItem( window1, (const char*)aspect43_xpm, AspectMenu,"4:3", a43, evSetAspect + ( 3 << 16 ) );
-    F=AddMenuCheckItem( window1, (const char*)aspect235_xpm, AspectMenu,"2.35:1", a235, evSetAspect + ( 4 << 16 ) );
+    F=AddMenuCheckItem( window1, (const char*)aspect235_xpm, AspectMenu,MSGTR_MENU_235, a235, evSetAspect + ( 4 << 16 ) );
 
   if ( !guiInfo.Playing )
    {
--- a/gui/win32/gui.c	Tue Jul 30 11:02:15 2013 +0000
+++ b/gui/win32/gui.c	Tue Jul 30 11:26:52 2013 +0000
@@ -1273,7 +1273,7 @@
     AppendMenu(gui->subtitlemenu, MF_STRING, IDSUB_CYCLE, acp(MSGTR_MENU_SubtitleLanguages));
     AppendMenu(gui->aspectmenu, MF_STRING, ID_ASPECT1, "16:9");
     AppendMenu(gui->aspectmenu, MF_STRING, ID_ASPECT2, "4:3");
-    AppendMenu(gui->aspectmenu, MF_STRING, ID_ASPECT3, "2.35:1");
+    AppendMenu(gui->aspectmenu, MF_STRING, ID_ASPECT3, acp(MSGTR_MENU_235));
     AppendMenu(gui->aspectmenu, MF_SEPARATOR, 0, 0);
     AppendMenu(gui->aspectmenu, MF_STRING, ID_ASPECT4, acp(MSGTR_MENU_Original));
     AppendMenu(gui->videomenu, MF_SEPARATOR, 0, 0);
--- a/help/help_mp-de.h	Tue Jul 30 11:02:15 2013 +0000
+++ b/help/help_mp-de.h	Tue Jul 30 11:26:52 2013 +0000
@@ -878,6 +878,7 @@
 #define MSGTR_MENU_Exit "Beenden"
 #define MSGTR_MENU_Mute "Stummschaltung"
 #define MSGTR_MENU_Original "Original"
+#define MSGTR_MENU_235 "2,35:1"
 #define MSGTR_MENU_AspectRatio "Seitenverhältnis"
 #define MSGTR_MENU_AudioTrack "Audiospur"
 #define MSGTR_MENU_Track "Spur %d"
--- a/help/help_mp-en.h	Tue Jul 30 11:02:15 2013 +0000
+++ b/help/help_mp-en.h	Tue Jul 30 11:26:52 2013 +0000
@@ -672,6 +672,7 @@
 #define MSGTR_MENU_Exit "Exit"
 #define MSGTR_MENU_Mute "Mute"
 #define MSGTR_MENU_Original "Original"
+#define MSGTR_MENU_235 "2.35:1"
 #define MSGTR_MENU_AspectRatio "Aspect ratio"
 #define MSGTR_MENU_AudioTrack "Audio track"
 #define MSGTR_MENU_Track "Track %d"