Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Contents of /trunk/src/translations.h
Parent Directory
|
Revision Log
Revision 378 -
(show annotations)
(download)
(as text)
Sat Apr 24 15:49:37 2010 UTC (14 years, 10 months ago) by amb
File MIME type: text/x-chdr
File size: 2098 byte(s)
Sat Apr 24 15:49:37 2010 UTC (14 years, 10 months ago) by amb
File MIME type: text/x-chdr
File size: 2098 byte(s)
Added translations for the HTML output.
1 | /*************************************** |
2 | $Header: /home/amb/CVS/routino/src/translations.h,v 1.3 2010-04-24 15:49:16 amb Exp $ |
3 | |
4 | Load the translations from a file and the functions for handling them. |
5 | |
6 | Part of the Routino routing software. |
7 | ******************/ /****************** |
8 | This file Copyright 2010 Andrew M. Bishop |
9 | |
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. |
14 | |
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. |
19 | |
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 | ***************************************/ |
23 | |
24 | |
25 | #ifndef TRANSLATIONS_H |
26 | #define TRANSLATIONS_H /*+ To stop multiple inclusions. +*/ |
27 | |
28 | /* Variable declations */ |
29 | |
30 | extern char *translate_copyright_creator[2]; |
31 | extern char *translate_copyright_source[2]; |
32 | extern char *translate_copyright_license[2]; |
33 | |
34 | extern char *translate_heading[9]; |
35 | extern char *translate_turn[9]; |
36 | |
37 | extern char *translate_route_shortest; |
38 | extern char *translate_route_quickest; |
39 | |
40 | extern char *translate_html_waypoint; |
41 | extern char *translate_html_junction; |
42 | |
43 | extern char *translate_html_title; |
44 | extern char *translate_html_start[2]; |
45 | extern char *translate_html_segment[2]; |
46 | extern char *translate_html_node[2]; |
47 | extern char *translate_html_stop[2]; |
48 | extern char *translate_html_total[2]; |
49 | |
50 | extern char *translate_gpx_desc; |
51 | extern char *translate_gpx_name; |
52 | extern char *translate_gpx_step; |
53 | extern char *translate_gpx_final; |
54 | |
55 | extern char *translate_gpx_start; |
56 | extern char *translate_gpx_inter; |
57 | extern char *translate_gpx_trip; |
58 | extern char *translate_gpx_finish; |
59 | |
60 | /* Functions */ |
61 | |
62 | int ParseXMLTranslations(const char *filename,const char *language); |
63 | |
64 | #endif /* TRANSLATIONS_H */ |
Properties
Name | Value |
---|---|
cvs:description | Header file for translations. |