Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Contents of /trunk/web/translations/translations-body.xml
Parent Directory
|
Revision Log
Revision 1796 -
(show annotations)
(download)
(as text)
Mon Sep 7 17:50:20 2015 UTC (9 years, 6 months ago) by amb
File MIME type: application/xml
File size: 5109 byte(s)
Mon Sep 7 17:50:20 2015 UTC (9 years, 6 months ago) by amb
File MIME type: application/xml
File size: 5109 byte(s)
Merge some of the translation phrases together to simplify them. Change the HTML output and web pages to work with this.
1 | <language lang="~~lang~~" language="~~language~~"> |
2 | |
3 | <!-- Copyright of the data being routed, not of this file --> |
4 | <copyright> |
5 | <creator string="%%copyright_creator_string%%" text="Routino - http://www.routino.org/" /> |
6 | <source string="%%copyright_source_string%%" text="%%copyright_source_text%%" /> |
7 | <license string="%%copyright_license_string%%" text="http://www.openstreetmap.org/copyright" /> |
8 | </copyright> |
9 | |
10 | <!-- Turn directions, 0 = ahead, -2 = left, +/-4 = behind, +2 = right --> |
11 | <turn direction="-4" string="%%turn_-4%%" /> |
12 | <turn direction="-3" string="%%turn_-3%%" /> |
13 | <turn direction="-2" string="%%turn_-2%%" /> |
14 | <turn direction="-1" string="%%turn_-1%%" /> |
15 | <turn direction="0" string="%%turn_0%%" /> |
16 | <turn direction="1" string="%%turn_1%%" /> |
17 | <turn direction="2" string="%%turn_2%%" /> |
18 | <turn direction="3" string="%%turn_3%%" /> |
19 | <turn direction="4" string="%%turn_4%%" /> |
20 | |
21 | <!-- Heading directions, 0 = North, -2 = West, +/-4 = South, +2 = East --> |
22 | <heading direction="-4" string="%%heading_-4%%" /> |
23 | <heading direction="-3" string="%%heading_-3%%" /> |
24 | <heading direction="-2" string="%%heading_-2%%" /> |
25 | <heading direction="-1" string="%%heading_-1%%" /> |
26 | <heading direction="0" string="%%heading_0%%" /> |
27 | <heading direction="1" string="%%heading_1%%" /> |
28 | <heading direction="2" string="%%heading_2%%" /> |
29 | <heading direction="3" string="%%heading_3%%" /> |
30 | <heading direction="4" string="%%heading_4%%" /> |
31 | |
32 | <!-- Ordinals, 1 = first, 2 = second ... --> |
33 | <ordinal number="1" string="%%ordinal_1%%" /> |
34 | <ordinal number="2" string="%%ordinal_2%%" /> |
35 | <ordinal number="3" string="%%ordinal_3%%" /> |
36 | <ordinal number="4" string="%%ordinal_4%%" /> |
37 | <ordinal number="5" string="%%ordinal_5%%" /> |
38 | <ordinal number="6" string="%%ordinal_6%%" /> |
39 | <ordinal number="7" string="%%ordinal_7%%" /> |
40 | <ordinal number="8" string="%%ordinal_8%%" /> |
41 | <ordinal number="9" string="%%ordinal_9%%" /> |
42 | <ordinal number="10" string="%%ordinal_10%%" /> |
43 | |
44 | <!-- Highway names --> |
45 | <highway type="motorway" string="%%highway_motorway%%" /> |
46 | <highway type="trunk" string="%%highway_trunk%%" /> |
47 | <highway type="primary" string="%%highway_primary%%" /> |
48 | <highway type="secondary" string="%%highway_secondary%%" /> |
49 | <highway type="tertiary" string="%%highway_tertiary%%" /> |
50 | <highway type="unclassified" string="%%highway_unclassified%%" /> |
51 | <highway type="residential" string="%%highway_residential%%" /> |
52 | <highway type="service" string="%%highway_service%%" /> |
53 | <highway type="track" string="%%highway_track%%" /> |
54 | <highway type="cycleway" string="%%highway_cycleway%%" /> |
55 | <highway type="path" string="%%highway_path%%" /> |
56 | <highway type="steps" string="%%highway_steps%%" /> |
57 | <highway type="ferry" string="%%highway_ferry%%" /> |
58 | |
59 | <!-- The type of route --> |
60 | <route type="shortest" string="%%route_shortest%%" /> <!-- For the description and route name --> |
61 | <route type="quickest" string="%%route_quickest%%" /> <!-- For the description and route name --> |
62 | |
63 | <!-- HTML output --> |
64 | <output-html> |
65 | <waypoint type="waypoint" string="%%output-html_waypoint_waypoint%%" /> <!-- For the chosen waypoints --> |
66 | <waypoint type="junction" string="%%output-html_waypoint_junction%%" /> <!-- For the interesting junctions --> |
67 | <waypoint type="roundabout" string="%%output-html_waypoint_roundabout%%" /> <!-- For roundabouts --> |
68 | |
69 | <title text="%%output-html_title%%" /> <!-- %s = [shortest|quickest] --> |
70 | |
71 | <start text="%%output-html_start%%" /> <!-- 1st %s = [waypoint|junction], 2nd %s = [heading] --> |
72 | <node text="%%output-html_node%%" /> <!-- 1st %s = [waypoint|junction], 2nd %s = [turn], 3rd %s = [heading] --> |
73 | <rbnode text="%%output-html_rbnode%%" /> <!-- 1st %s = [roundabout], 2nd %s = [first|second|...], 3rd %s = [heading] --> |
74 | <segment text="%%output-html_segment%%" /> <!-- 1st %s = street name --> |
75 | <stop text="%%output-html_stop%%" /> <!-- 1st %s = [waypoint|junction] --> |
76 | <total text="%%output-html_total%%" /> |
77 | <subtotal text="%%output-html_subtotal%%" /> |
78 | </output-html> |
79 | |
80 | <!-- GPX output --> |
81 | <output-gpx> |
82 | <waypoint type="start" string="%%output-gpx_waypoint_start%%" /> <!-- For the first route waypoint --> |
83 | <waypoint type="inter" string="%%output-gpx_waypoint_inter%%" /> <!-- For the intermediate route waypoints --> |
84 | <waypoint type="trip" string="%%output-gpx_waypoint_trip%%" /> <!-- For the other route points --> |
85 | <waypoint type="finish" string="%%output-gpx_waypoint_finish%%"/> <!-- For the last route waypoint --> |
86 | |
87 | <desc text="%%output-gpx_desc%%" /> <!-- %s = [shortest|quickest] --> |
88 | <name text="%%output-gpx_name%%" /> <!-- %s = [shortest|quickest] --> |
89 | <step text="%%output-gpx_step%%" /> <!-- 1st %s = [turn], 2nd %s = street name --> |
90 | <final text="%%output-gpx_final%%" /> |
91 | </output-gpx> |
92 | |
93 | </language> |
94 |