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