changeset 34382:960c785cb6ef

Rename MSGTR_SelectChapter MSGTR_SelectTitleChapter. This menu allows selecting titles and chapters. Change its definition accordingly.
author ib
date Thu, 29 Dec 2011 13:59:05 +0000
parents 73af1364a09d
children 15b9cddb0c6e
files gui/win32/dialogs.c gui/win32/gui.c help/help_mp-de.h help/help_mp-en.h help/help_mp-zh_CN.h
diffstat 5 files changed, 7 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/dialogs.c	Thu Dec 29 01:14:48 2011 +0000
+++ b/gui/win32/dialogs.c	Thu Dec 29 13:59:05 2011 +0000
@@ -872,7 +872,7 @@
     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 @@
     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,
--- a/gui/win32/gui.c	Thu Dec 29 01:14:48 2011 +0000
+++ b/gui/win32/gui.c	Thu Dec 29 13:59:05 2011 +0000
@@ -1260,7 +1260,7 @@
     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));
--- a/help/help_mp-de.h	Thu Dec 29 01:14:48 2011 +0000
+++ b/help/help_mp-de.h	Thu Dec 29 13:59:05 2011 +0000
@@ -1015,7 +1015,7 @@
 #define MSGTR_DirectorySelect "Wähle ein Verzeichnis ..."
 #define MSGTR_PlaylistSave "Speichere Wiedergabeliste ..."
 #define MSGTR_PlaylistSelect "Wähle Wiedergabeliste ..."
-#define MSGTR_SelectChapter "Wähle Kapitel ..."
+#define MSGTR_SelectTitleChapter "Wähle Titel/Kapitel ..."
 #define MSGTR_MENU_DebugConsole "Debugging-Konsole"
 #define MSGTR_MENU_OnlineHelp "Online-Hilfe"
 #define MSGTR_MENU_PlayDirectory "Spiele ein Verzeichnis..."
--- a/help/help_mp-en.h	Thu Dec 29 01:14:48 2011 +0000
+++ b/help/help_mp-en.h	Thu Dec 29 13:59:05 2011 +0000
@@ -820,7 +820,7 @@
 #define MSGTR_DirectorySelect "Select directory..."
 #define MSGTR_PlaylistSave "Save playlist..."
 #define MSGTR_PlaylistSelect "Select playlist..."
-#define MSGTR_SelectChapter "Select chapter..."
+#define MSGTR_SelectTitleChapter "Select title/chapter..."
 #define MSGTR_MENU_DebugConsole "Debug Console"
 #define MSGTR_MENU_OnlineHelp "Online Help"
 #define MSGTR_MENU_PlayDirectory "Play directory..."
--- a/help/help_mp-zh_CN.h	Thu Dec 29 01:14:48 2011 +0000
+++ b/help/help_mp-zh_CN.h	Thu Dec 29 13:59:05 2011 +0000
@@ -820,7 +820,6 @@
 #define MSGTR_DirectorySelect "选择目录..."
 #define MSGTR_PlaylistSave "保存播放列表..."
 #define MSGTR_PlaylistSelect "选择播放列表..."
-#define MSGTR_SelectChapter "选择章节..."
 #define MSGTR_MENU_DebugConsole "调试控制终端"
 #define MSGTR_MENU_OnlineHelp "线上帮助内容"
 #define MSGTR_MENU_PlayDirectory "播放目录内容..."