[MPlayer-cvslog] r34470 - in trunk: gui/win32/dialogs.c gui/win32/gui.c help/help_mp-de.h help/help_mp-en.h help/help_mp-zh_CN.h

ib subversion at mplayerhq.hu
Thu Dec 29 14:59:05 CET 2011


Author: ib
Date: Thu Dec 29 14:59:05 2011
New Revision: 34470

Log:
Rename MSGTR_SelectChapter MSGTR_SelectTitleChapter.

This menu allows selecting titles and chapters.
Change its definition accordingly.

Modified:
   trunk/gui/win32/dialogs.c
   trunk/gui/win32/gui.c

Changes in other areas also in this revision:
Modified:
   trunk/help/help_mp-de.h
   trunk/help/help_mp-en.h
   trunk/help/help_mp-zh_CN.h

Modified: trunk/gui/win32/dialogs.c
==============================================================================
--- trunk/gui/win32/dialogs.c	Thu Dec 29 02:14:48 2011	(r34469)
+++ trunk/gui/win32/dialogs.c	Thu Dec 29 14:59:05 2011	(r34470)
@@ -872,7 +872,7 @@ void display_chapterselwindow(gui_t *gui
     int x, y;
 
     if (guiInfo.StreamType != STREAMTYPE_DVD) return;
-    if (FindWindow(NULL, acp(MSGTR_SelectChapter))) return;
+    if (FindWindow(NULL, acp(MSGTR_SelectTitleChapter))) return;
 
     wc.style         = CS_HREDRAW | CS_VREDRAW;
     wc.lpfnWndProc   = TitleChapterWndProc;
@@ -882,13 +882,13 @@ void display_chapterselwindow(gui_t *gui
     wc.hCursor       = LoadCursor(NULL,IDC_ARROW);
     wc.hIcon         = gui->icon;
     wc.hbrBackground = SOLID_GREY2;
-    wc.lpszClassName = acp(MSGTR_SelectChapter);
+    wc.lpszClassName = acp(MSGTR_SelectTitleChapter);
     wc.lpszMenuName  = NULL;
     RegisterClass(&wc);
     x = (GetSystemMetrics(SM_CXSCREEN) / 2) - (180 / 2);
     y = (GetSystemMetrics(SM_CYSCREEN) / 2) - (100 / 2);
-    hWnd = CreateWindow(acp(MSGTR_SelectChapter),
-                        acp(MSGTR_SelectChapter),
+    hWnd = CreateWindow(acp(MSGTR_SelectTitleChapter),
+                        acp(MSGTR_SelectTitleChapter),
                         WS_POPUPWINDOW | WS_CAPTION,
                         x,
                         y,

Modified: trunk/gui/win32/gui.c
==============================================================================
--- trunk/gui/win32/gui.c	Thu Dec 29 02:14:48 2011	(r34469)
+++ trunk/gui/win32/gui.c	Thu Dec 29 14:59:05 2011	(r34470)
@@ -1260,7 +1260,7 @@ static void create_submenu(gui_t *gui)
     AppendMenu(gui->submenu, MF_STRING | MF_POPUP, (UINT_PTR) gui->subtitlemenu, acp(MSGTR_MENU_Subtitles));
     AppendMenu(gui->submenu, MF_STRING | MF_POPUP, (UINT_PTR) gui->dvdmenu, acp(MSGTR_MENU_DVD));
 #ifdef CONFIG_DVDREAD
-    AppendMenu(gui->dvdmenu, MF_STRING | MF_GRAYED, ID_CHAPTERSEL, acp(MSGTR_SelectChapter));
+    AppendMenu(gui->dvdmenu, MF_STRING | MF_GRAYED, ID_CHAPTERSEL, acp(MSGTR_SelectTitleChapter));
 #endif
     AppendMenu(gui->subtitlemenu, MF_STRING, IDSUB_TOGGLE, acp(MSGTR_MENU_SubtitlesOnOff));
     AppendMenu(gui->subtitlemenu, MF_STRING, IDSUB_CYCLE, acp(MSGTR_MENU_SubtitleLanguages));


More information about the MPlayer-cvslog mailing list