]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - Ventoy2Disk/Ventoy2Disk/Language.h
initial commit
[Ventoy.git] / Ventoy2Disk / Ventoy2Disk / Language.h
1 /******************************************************************************
2 * Language.h
3 *
4 * Copyright (c) 2020, longpanda <admin@ventoy.net>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 3 of the
9 * License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20
21 #ifndef __LANGUAGE_H__
22 #define __LANGUAGE_H__
23
24 typedef enum STR_ID
25 {
26 STR_ERROR = 0,
27 STR_WARNING,
28 STR_INFO,
29 STR_INCORRECT_DIR,
30
31 STR_DEVICE,
32 STR_LOCAL_VER,
33 STR_DISK_VER,
34 STR_STATUS,
35 STR_INSTALL,
36 STR_UPDATE,
37
38 STR_UPDATE_TIP,
39 STR_INSTALL_TIP,
40 STR_INSTALL_TIP2,
41
42 STR_INSTALL_SUCCESS,
43 STR_INSTALL_FAILED,
44 STR_UPDATE_SUCCESS,
45 STR_UPDATE_FAILED,
46
47 STR_WAIT_PROCESS,
48
49
50 STR_ID_MAX
51 }STR_ID;
52
53 const TCHAR * GetString(enum STR_ID ID);
54
55 #define _G(a) GetString(a)
56
57 #endif