Routino SVN Repository Browser

Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino

ViewVC logotype

Contents of /trunk/src/translations.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 893 - (show annotations) (download) (as text)
Thu Nov 10 19:12:40 2011 UTC (13 years, 4 months ago) by amb
File MIME type: text/x-chdr
File size: 2288 byte(s)
Change the names of the variables for the XML and raw versions of the
translations.  Output the text files with the raw versions and not the XML
versions of the copyright information.  Update the documentation to say that
only the copyright information is translated in the text files.

1 /***************************************
2 Load the translations from a file and the functions for handling them.
3
4 Part of the Routino routing software.
5 ******************/ /******************
6 This file Copyright 2010-2011 Andrew M. Bishop
7
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU Affero General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU Affero General Public License for more details.
17
18 You should have received a copy of the GNU Affero General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 ***************************************/
21
22
23 #ifndef TRANSLATIONS_H
24 #define TRANSLATIONS_H /*+ To stop multiple inclusions. +*/
25
26 #include "types.h"
27
28
29 /* Global variable declarations */
30
31 extern char *translate_raw_copyright_creator[2];
32 extern char *translate_raw_copyright_source[2];
33 extern char *translate_raw_copyright_license[2];
34
35 extern char *translate_xml_copyright_creator[2];
36 extern char *translate_xml_copyright_source[2];
37 extern char *translate_xml_copyright_license[2];
38
39 extern char *translate_xml_heading[9];
40 extern char *translate_xml_turn[9];
41
42 extern char *translate_raw_highway[Way_Count];
43
44 extern char *translate_xml_route_shortest;
45 extern char *translate_xml_route_quickest;
46
47 extern char *translate_html_waypoint;
48 extern char *translate_html_junction;
49
50 extern char *translate_html_title;
51 extern char *translate_html_start[2];
52 extern char *translate_html_segment[2];
53 extern char *translate_html_node[2];
54 extern char *translate_html_stop[2];
55 extern char *translate_html_total[2];
56
57 extern char *translate_gpx_desc;
58 extern char *translate_gpx_name;
59 extern char *translate_gpx_step;
60 extern char *translate_gpx_final;
61
62 extern char *translate_gpx_start;
63 extern char *translate_gpx_inter;
64 extern char *translate_gpx_trip;
65 extern char *translate_gpx_finish;
66
67
68 /* Functions in translations.c */
69
70 int ParseXMLTranslations(const char *filename,const char *language);
71
72
73 #endif /* TRANSLATIONS_H */

Properties

Name Value
cvs:description Header file for translations.