1 /***************************************
2 $Header: /home/amb/routino/src/RCS/translations.h,v 1.4 2010/05/29 13:54:23 amb Exp $
4 Load the translations from a file and the functions for handling them.
6 Part of the Routino routing software.
7 ******************/ /******************
8 This file Copyright 2010 Andrew M. Bishop
10 This program is free software: you can redistribute it and/or modify
11 it under the terms of the GNU Affero General Public License as published by
12 the Free Software Foundation, either version 3 of the License, or
13 (at your option) any later version.
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 Affero General Public License for more details.
20 You should have received a copy of the GNU Affero General Public License
21 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 ***************************************/
25 #ifndef TRANSLATIONS_H
26 #define TRANSLATIONS_H /*+ To stop multiple inclusions. +*/
31 /* Variable declations */
33 extern char *translate_copyright_creator[2];
34 extern char *translate_copyright_source[2];
35 extern char *translate_copyright_license[2];
37 extern char *translate_heading[9];
38 extern char *translate_turn[9];
40 extern char *translate_highway[Way_Count];
42 extern char *translate_route_shortest;
43 extern char *translate_route_quickest;
45 extern char *translate_html_waypoint;
46 extern char *translate_html_junction;
48 extern char *translate_html_title;
49 extern char *translate_html_start[2];
50 extern char *translate_html_segment[2];
51 extern char *translate_html_node[2];
52 extern char *translate_html_stop[2];
53 extern char *translate_html_total[2];
55 extern char *translate_gpx_desc;
56 extern char *translate_gpx_name;
57 extern char *translate_gpx_step;
58 extern char *translate_gpx_final;
60 extern char *translate_gpx_start;
61 extern char *translate_gpx_inter;
62 extern char *translate_gpx_trip;
63 extern char *translate_gpx_finish;
67 int ParseXMLTranslations(const char *filename,const char *language);
69 #endif /* TRANSLATIONS_H */