Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1734 - 1
/****************************************************************************************
2
 *   Copyright (C) 2011 Christian "Cebra" Brandtner, brandtner@brandtner.net            *
3
 *                                                                                      *
4
 *   This program is free software; you can redistribute it and/or modify               *
5
 *   it under the terms of the GNU General Public License as published by               *
6
 *   the Free Software Foundation; either version 2 of the License.                     *
7
 *                                                                                      *
8
 *   This program is distributed in the hope that it will be useful,                    *
9
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of                     *
10
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                      *
11
 *   GNU General Public License for more details.                                       *
12
 *                                                                                      *
13
 *   You should have received a copy of the GNU General Public License                  *
14
 *   along with this program; if not, write to the                                      *
15
 *   Free Software Foundation, Inc.,                                                    *
16
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.                          *
17
 *                                                                                      *
18
 *                                                                                      *
19
 *   Languagesupport:                                                                   *
20
 *   http://www.netrino.com/Embedded-Systems/How-To/Firmware-Internationalization       *
21
 *   Nigel Jones                                                                        *
22
 ****************************************************************************************/
23
 
24
#ifndef MESSAGES_H
25
#define MESSAGES_H
26
 
27
 
28
//---------------------------------------------------------------------------------------------------------------------
29
// Typdefinitionen für alle verwendeten Strings, LAST_STR muss am Ende stehen bleiben
30
typedef enum
31
{
32
     TESTSTRING, KEYLINE1, KEYLINE2, KEYLINE3, KEYLINE4, KEYLINE5, BOOT1, BOOT2, BOOT_WI1, BOOT_WI2, BOOT_SV, START_MSG1, START_MSG2, GNU_GPL, ATMEGA644,
33
     ATMEGA644P, ATMEGA1284P, HW12, HW12W, HW13, HW13W, HW39, START_LASTPOS, START_LASTPOS1, START_LASTPOS2, START_LASTPOS3, START_LASTPOSDEL,
34
     START_SEARCHFC, ENDE, OK, FEHLER, AKTIV, START_FCNOTFOUND, START_FCFOUND, START_FCFOUND1, START_FCFOUND2, START_FCFOUND3, START_VERSIONCHECK,
35
     START_VERSIONCHECK1, START_VERSIONCHECK2, START_VERSIONCHECK3, START_VERSIONCHECK4, START_VERSIONCHECK5, ON, OFF, ESC, SHUTDOWN, YESNO,
36
     UPDATE1, UPDATE2, ENDSTART, TOOLS1, CONNECT1, CONNECT2, CONNECT4, CONNECT5, CONNECT6, CONNECT7, CONNECT8, CONNECT9, CONNECT10, CONNECT11, CONNECT12,
37
     CONNECT13, CONNECT14, CONNECT15, CONNECT16, CONNECT17, CONNECT18, CONNECT19, CONNECT20, CONNECT21, CONNECT22, CONNECT23, CONNECT24, CONNECT25,
38
     CONNECT26, CONNECT27, CONNECT28, CONNECT29, CONNECT30, CONNECT31, KABEL, SLAVE, NORMAL, REVERSE, ENDOK, EEPROM1, EEPROM2, DEUTSCH, ENGLISCH, FRANCE,
39
     NETHERL, DISPLAY1, DISPLAY2, DISPLAY3, DISPLAY4, DISPLAY5, DISPLAY6, DISPLAY7, DISPLAY8, DISPLAY9, DEBUGPKT, WITXRX, WINETWG, WINETWM, WITIMEOUT,
40
     WIUART, WI2321, WI2322, WI2323, YES, NOO, BT1, BT2, BT3, BT4, LIPO1, LIPO2, LIPO3, LIPO4, LIPO5, LIPO6, LOWBAT, OSD_3D_V, OSD_3D_H, OSD_3D_L,
41
     OSD_3D_R, OSD_3D_NICK, OSD_3D_ROLL, OSD_3D_COMPASS, OSD_ERROR, OSD_POS1, OSD_POS2, PARA_SETTINGS, PARA_CHANGE, PARA_AKTIVI, PARA_AKTIV,
42
     PARA_SAVESETT, PARA_SETTSAVED, PARA_COPY, PARA_FROMTO, PARA_ENDE, PARA_COPYQ, PARA_COPYACTIV, PARA_CHANGESETT, PARA_SELECT, PARA_SEITE,
43
     PARA_SELSETT, GPS1, GPS2, GPS3, STATS_ITEM_0, STATS_ITEM_1, STATS_ITEM_2, STATS_ITEM_3, STATS_ITEM_4, STATS_ITEM_5, STATS_ITEM_6, STATS_ITEM_7,
44
     STATS_ITEM_8, ONLY_NC, NO_SETTINGS, OSD_ALTI_0, OSD_ALTI_1, OSD_VARIO_0, OSD_VARIO_1, OSD_CARE_FREE_0, OSD_CARE_FREE_1, OSD_LED0, OSD_LED1, OSD_LED2,
45
     OSD_NAVI_MODE_0, OSD_NAVI_MODE_1, OSD_NAVI_MODE_2, OSD_FLAGS_0, OSD_FLAGS_1, OSD_FLAGS_2, OSD_FLAGS_3, OSD_FLAGS_4, OSD_FLAGS_5, OSD_FLAGS_6,
46
     OSD_Screen, OSD_Invert_Out, OSD_LED_Form, OSD_Send_OSD,FALLSPEED,OSD_VARIOBEEP,OSD_HOMEMKVIEW,OSD_MAHWARNING,OSD_SCREENMODE,OSD_LIPOBAR,PKT_BAUDRATE,
47
     FOLLOWME_0, FOLLOWME_1,FOLLOWME_2,FOLLOWME_3, LAST_STR,
48
} STR;
49
 
50
#define NUM_LANG 4  // German, English, French, Netherlands
51
 
52
char const * strGet(int str_no);
53
void Test_Language (void);   // bleibt für Tests
54
 
55
 
56
#endif /* _MESSAGES_H_ */