aboutsummaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
Diffstat (limited to 'c')
-rw-r--r--c/main.cpp16
1 files changed, 11 insertions, 5 deletions
diff --git a/c/main.cpp b/c/main.cpp
index 2edc6ec..984eb6b 100644
--- a/c/main.cpp
+++ b/c/main.cpp
@@ -286,17 +286,23 @@ LRESULT CALLBACK WndProc(const HWND hWnd, const UINT uMsg, const WPARAM wParam,
* strings are stored in arrays, whose indices
* correspond to the IDM_ values (see resource.h). */
- static const wchar_t* aWszMenu[] = {
+ const wchar_t* aWszMenu[] = {
/*IDM_FILE_EXIT*/L"Close Episode Browser.",
/*IDM_FILE_REFRESH*/L"Quickly refresh episode list.",
/*IDM_FILE_FETCH_DATA*/L"Fetch episode data from the web (may take a few seconds).",
/*IDM_FILE_FETCH_SCREENWRITERS*/L"Fetch screenwriters from the web (may take a minute).",
/*IDM_FILE_ABOUT*/L"Show information about Episode Browser.",
- /*IDM_VIEW_WATCHED*/L"Show/hide watched episodes.",
- /*IDM_VIEW_TV_ORIGINAL*/L"Show/hide TV original episodes.",
- /*IDM_VIEW_OTHERS*/L"Show/hide episodes by other screenwriters."
+ /*IDM_VIEW_WATCHED*/(g_bViewWatched?
+ L"Click to hide watched episodes.":
+ L"Click to show watched episodes."),
+ /*IDM_VIEW_TV_ORIGINAL*/(g_bViewTVOriginal?
+ L"Click to hide TV original episodes.":
+ L"Click to show TV original episodes."),
+ /*IDM_VIEW_OTHERS*/(g_szLimitScreenwriter?
+ L"Click to hide episodes by other screenwriters.":
+ L"Click to show episodes by other screenwriters.")
};
- static const wchar_t* aWszCtx[] = {
+ const wchar_t* aWszCtx[] = {
/*IDM_WATCH_LOCALLY*/L"Open local copy of episode, if available.",
/*IDM_WATCH_ONLINE*/L"Open episode in the web browser.",
/*IDM_TOGGLE*/L"Toggle watched/unwatched status.",