[companion] Adjust GVAR not possible in global functions (fix #5425)
[opentx.git] / companion / src / warnings.h
blob118b0cf87e24440ac78b87dde88a99a2b67b7214
1 /*
2 * Copyright (C) OpenTX
4 * Based on code named
5 * th9x - http://code.google.com/p/th9x
6 * er9x - http://code.google.com/p/er9x
7 * gruvin9x - http://code.google.com/p/gruvin9x
9 * License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
21 #ifndef _WARNINGS_H_
22 #define _WARNINGS_H_
24 #define CPN_STR_MSG_WELCOME QCoreApplication::translate("Companion", \
25 "<p><b>Welcome to OpenTX v%1.</b></p>" \
26 "<p>As the first step, please configure the initial Radio Profile by selecting your Radio Type, Menu Language, and Build Options.</p>" \
27 "<p>You may also want to take this time to review the other available options in the displayed Settings dialog.</p>" \
28 "<p>After saving your settings, we recommend you download the latest firmware for your radio by using the <i>File -&gt; Download</i> menu option.</p>" \
29 "<p>Please visit <a href='http://www.open-tx.org'>open-tx.org</a> for latest news, updates and documentation. Thank you for choosing OpenTX!</p>" \
30 "- The OpenTX Team.")
32 #define CPN_STR_MSG_UPGRADED QCoreApplication::translate("Companion", \
33 "<p><b>Thank you for upgrading to OpenTX v%1.</b></p>" \
34 "<p>This is a major upgrade that adds and modifies a lot of things, so please make sure that you read release notes carefully" \
35 " to learn about the changes, and thoroughly check each of your models for proper function.</p>" \
36 "<p>Please visit <a href='http://www.open-tx.org'>open-tx.org</a> for release notes and other documentation.</p>" \
37 "- The OpenTX Team.")
39 namespace AppMessages {
41 // These are used for saving "[don't] show this message again" user preferences.
42 enum MessageCodes {
43 MSG_NONE = 0,
44 MSG_WELCOME = 0x01,
45 MSG_UPGRADED = 0x02,
46 MSG_RESERVED = 0x04, // reserved due to legacy code
49 } // namespace AppWarnings
51 #endif // _WARNINGS_H_