skin: find event of menu button from list of context menu
[sdk/emulator/qemu.git] / tizen / src / ui / resource / ui_strings.h
1 /*
2  * Qt UI
3  *
4  * Copyright (C) 2015 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact:
7  * Sooyoung Ha <yoosah.ha@samsung.com>
8  * GiWoong Kim <giwoong.kim@samsung.com>
9  * SeokYeon Hwang <syeon.hwang@samsung.com>
10  * Sangho Park <sangho.p@samsung.com>
11  *
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License
14  * as published by the Free Software Foundation; either version 2
15  * of the License, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
25  * MA 02110-1301, USA.
26  *
27  * Contributors:
28  * - S-Core Co., Ltd
29  *
30  */
31
32 #ifndef UI_STRINGS_H
33 #define UI_STRINGS_H
34
35 #define EMULATOR_TITLE "Tizen Emulator"
36
37 #define SDK_OFFICIAL_NAME "TIZEN STUDIO"
38 #define SDK_OFFICIAL_URL "https://developer.tizen.org"
39
40 /* SDK path */
41 #define SDK_ROOT_PATH "../../../../../"
42 #define SDK_EMULATOR_TOOLS_BIN_PATH SDK_ROOT_PATH"/tools/emulator/bin/"
43 #define SDK_EMULATOR_BIN_PATH "../../../common/emulator/bin/"
44 #define SDK_EMULATOR_IMAGES_PATH "../images/"
45 #define SDK_EMULATOR_ICONS_PATH "../icons/"
46
47 #define SDK_ECP_FILE "emulator-control-panel"
48 #define SDK_ECP_FILE_JAR "emulator-control-panel.jar"
49
50 /* resource file name */
51 #define SDK_ABOUT_IMAGE_FILE "about_bg.png"
52 #define SDK_VERSION_FILE "sdk.version"
53 #define SDK_VERSION_FILE_KEY "TIZEN_SDK_VERSION"
54 #define EMULATOR_ICON_FILE "emulator_icon.ico"
55 #define GUI_PROPERTIES_FILE "gui.property"
56 #define LAYOUT_SKIN_INFO_FILE "info.ini"
57 #define LAYOUT_FORM_FILE_NAME "layout.xml"
58 #define LAYOUT_CON_FORM_SUBPATH "controller/"
59 #define DISPLAY_OFF_GUIDE_IMAGE_FILE "display_off_guide.png"
60 #define GENERAL_SKIN_LEFTTOP_FILE "LT.png"
61 #define GENERAL_SKIN_LEFTCENTER_FILE "LC.png"
62 #define GENERAL_SKIN_LEFTBOTTOM_FILE "LB.png"
63 #define GENERAL_SKIN_TOPCENTER_FILE "TC.png"
64 #define GENERAL_SKIN_BOTTOMCENTER_FILE "BC.png"
65 #define GENERAL_SKIN_RIGHTTOP_FILE "RT.png"
66 #define GENERAL_SKIN_RIGHTCENTER_FILE "RC.png"
67 #define GENERAL_SKIN_RIGHTBOTTOM_FILE "RB.png"
68
69 /* generic text */
70 #define GENERIC_TEXT_NONE "None"
71 #define GENERIC_TEXT_ENABLED "Enabled"
72 #define GENERIC_TEXT_DISABLED "Disabled"
73 #define GENERIC_TEXT_UNDEFINED "Undefined"
74
75 /* context menu */
76 #define MENU_ONTOP_ITEM_TEXT "Always on Top"
77 #define MENU_MOVE_ITEM_TEXT "Move"
78 #define MENU_SWITCH_ITEM_TEXT "Switch"
79 #define MENU_SCALE_ITEM_TEXT "Scale"
80 #define MENU_CONTROLLER_ITEM_TEXT "Controller"
81 #define MENU_HOSTKBD_ITEM_TEXT "Host keyboard"
82 #define MENU_SHELL_ITEM_TEXT "Shell"
83 #define MENU_ECP_ITEM_TEXT "Control Panel"
84 #define MENU_SCREENSHOT_ITEM_TEXT "Screen Shot"
85 #define MENU_ABOUT_ITEM_TEXT "About"
86 #define MENU_FORCECLOSE_ITEM_TEXT "Force Close"
87 #define MENU_CLOSE_ITEM_TEXT "Close"
88
89 #define MENU_ON_ITEM_TEXT "On"
90 #define MENU_OFF_ITEM_TEXT "OFF"
91
92 #define MENU_UNDEFINED_ERROR "The corresponding context menu does not exist"
93 #define MENE_AMBIGUOUS_SHORTCUT "When a key sequence is being typed at the keyboard,\n"\
94         "it is said to be ambiguous as long as it matches the start of more than one shortcut."
95 /* detailed info dialog */
96 #define DETAILED_INFO_TITLE "Detailed Info"
97 #define DETAILED_INFO_VMTAB_TITLE "VM Info"
98 #define DETAILED_INFO_SHORTCUTTAB_TITLE "Shortcut Info"
99 #define DETAILED_INFO_VMTAB_HEADER1 "Feature"
100 #define DETAILED_INFO_VMTAB_HEADER2 "Value"
101 #define DETAILED_INFO_SHORTCUTTAB_HEADER1 "Function"
102 #define DETAILED_INFO_SHORTCUTTAB_HEADER2 "Key sequence"
103
104 #define DETAILED_INFO_VM_NAME "VM Name"
105 #define DETAILED_INFO_SKIN_NAME "Skin Name"
106 #define DETAILED_INFO_CPU "CPU Arch"
107 #define DETAILED_INFO_RAM_SIZE "Ram Size"
108 #define DETAILED_INFO_DISPLAY "Display"
109 #define DETAILED_INFO_NETWORK_CONNECTION "Network Connection"
110 #define DETAILED_INFO_CPU_VT "CPU Virtualization"
111 #define DETAILED_INFO_GPU_VT "GPU Virtualization"
112 #define DETAILED_INFO_HDS_PATH "Directory Sharing"
113 #define DETAILED_INFO_DRIVE_IMAGE_VER "Platform Image Version"
114 #define DETAILED_INFO_DRIVE_IMAGE_FILE "Platform Image File"
115 #define DETAILED_INFO_KERNEL_LOG_FILE "Kernel Log File"
116 #define DETAILED_INFO_EMUL_LOG_FILE "Emulator Log File"
117 #define DETAILED_INFO_EMUL_VER "Emulator Version"
118
119 /* screen shot dialog */
120 #define SCREENSHOT_TITLE "Screen Shot"
121 #define SCREENSHOT_SAVE_TEXT "&Save"
122 #define SCREENSHOT_SAVE_TOOLTIP "Save to file"
123 #define SCREENSHOT_COPY_TEXT "&Copy"
124 #define SCREENSHOT_COPY_TOOLTIP "Copy to clipboard"
125 #define SCREENSHOT_REFRESH_TEXT "&Refresh"
126 #define SCREENSHOT_REFRESH_TOOLTIP "Refresh Image"
127
128 /* about dialog */
129 #define ABOUT_TITLE "About Emulator"
130 #define ABOUT_SDK_VERSION_TEXT "SDK Version"
131 #define ABOUT_PKG_VERSION_TEXT "Package Version"
132 #define ABOUT_BUILD_DATE_TEXT "Build Date"
133 #define ABOUT_VISIT_TEXT "Tizen site"
134
135 /* SDB related */
136 #define FILE_EXTENSION_WGT "wgt"
137 #define FILE_EXTENSION_TPK "tpk"
138 #define FILE_EXTENSION_RPM "rpm"
139 #define GUEST_TMP_PATH "/tmp/"
140 #define SDB_INSTALL_FAILURE "val[fail]"
141 #define SDB_PUSH_COMMNAD 1
142 #define SDB_INSTALL_COMMAND 2
143 #define PROGRESSBAR_DEFAULT_WITDH 100
144 #define PROGRESSBAR_DEFAULT_HEIGHT 20
145
146 /* style sheet*/
147 #define STYLE_TOOLTIP "QToolTip {"\
148                   "color: black; background-color: white; border: 1px solid black; }"
149 /* Button text */
150 #define BUTTON_PUSH "&Push"
151 #define BUTTON_INSTALL "&Install"
152 #define BUTTON_CANCEL "&Cancel"
153
154 /* ETC */
155 #define XML_QT_CTRLKEY_STRING "Ctrl"
156 #define XML_QT_METAKEY_STRING "Meta"
157
158 /* messages */
159 #define MSG_SDB_NOT_READY "SDB is not ready.\nPlease wait until the emulator is completely boot up."
160 #define MSG_SDB_NOT_EXIST "SDB file does not exist in the following path.\n"
161 #define MSG_ECP_NOT_EXIST "Control Panel binary file does not exist.\n"
162 #define MSG_INVALID_JAVA_PATH "Failed to get java path."
163 #define MSG_INVALID_ECP_OPEN "Failed to open Control Panel : "
164 #define MSG_SYSTEM_RESET_POPUP "If you force the emulator to reboot, it may cause problems.\n"\
165                           "Are you sure you want to continue?"
166 #define MSG_FORCE_CLOSE_POPUP "If you force stop an emulator, it may cause some problems.\n"\
167                           "Are you sure you want to continue?"
168 #define MSG_CLOSE_POPUP "Do you really want to quit this program?"
169 #define MSG_PUSH_POPUP "Are you sure you want to push files or directories\ninto the following directory of the emulator?\n"
170 #define MSG_DROPPED_PACKAGE "<strong>A installable file has been dropped.</strong><br><br>"
171 #define MSG_INSTALL_SELECT_DESC "To install the file, click Install.<br>To push into the emulator, click Push.<br>To quit, click Cancel.<br>"
172 #define MSG_SDB_FAILED_PROCESSING "Failed while processing.\n\nError Message:\n"
173 #define MSG_SDB_ROOT_ON "This job needs root priviledge.\n"\
174                         "Are you sure you want to continue?"
175 #define MSG_EMPTY_DIR "Target directory is empty.\n"
176
177 /* qFatal messages */
178 #define MSG_INTERNAL_ERR "An internal error occurred : \n\n"
179 #define MSG_CHECK_PATH "Check if the file is corrupted or missing from the following path.\n"
180
181 // TODO: refine
182 #define MSG_EMULATOR_EXIT "\n\nEmulator will now exit."
183 #define MSG_INVALID_MAIN_FORM "main form is null"
184 #define MSG_NOT_FOUND "is not found"
185 #define MSG_NOT_OPEN_1 "Couldn't open"
186 #define MSG_NOT_OPEN_2 "file"
187 #define MSG_INVALID_XML_FORMAT "Invalid XML format, the file cannot be loaded."
188
189 #endif // UI_STRINGS_H