4 * Copyright 1998 Marcel Baur <mbaur@g26.ethz.ch>
10 #define CONCAT(a, b) CONCAT1(a, b)
11 #define CONCAT1(a, b) a##b
15 CONCAT(MENU_, LANGUAGE_ID) MENU
17 POPUP MENU_PROPERTIES {
18 MENUITEM MENU_ANALOG, CL_ANALOG
19 MENUITEM MENU_DIGITAL, CL_DIGITAL
21 MENUITEM MENU_FONT, CL_FONT
23 MENUITEM MENU_WITHOUT_TITLE, CL_WITHOUT_TITLE
25 MENUITEM MENU_SECONDS, CL_SECONDS
26 MENUITEM MENU_DATE, CL_DATE
30 /* Dummy item, will be removed */
35 MENUITEM MENU_INFO_LICENSE, CL_INFO_LICENSE
36 MENUITEM MENU_INFO_NO_WARRANTY, CL_INFO_NO_WARRANTY
37 MENUITEM MENU_INFO_ABOUT_WINE, CL_INFO_ABOUT_WINE
44 #define ADDSTRING(str) ADDSTRING1(LANGUAGE_NUMBER, IDS_ ## str) STRING_ ## str
45 #define ADDSTRING1(langnum, ids) ADDSTRING2(langnum, ids)
46 #define ADDSTRING2(langnum, ids) 0x ## langnum ## ids
48 #define STRINGIFY(str) STRINGIFY1(str)
49 #define STRINGIFY1(str) #str
51 #define STRING_LANGUAGE_ID STRINGIFY(LANGUAGE_ID)
52 #define STRING_LANGUAGE_MENU_ITEM LANGUAGE_MENU_ITEM
53 #define STRING_MENU_ON_TOP MENU_ON_TOP
58 ADDSTRING(LANGUAGE_ID)
59 ADDSTRING(LANGUAGE_MENU_ITEM)
61 ADDSTRING(MENU_ON_TOP)