Index: trunk/extensions/Translate/groups/OpenStreetMap/Potlatch.yml |
— | — | @@ -1,36 +0,0 @@ |
2 | | -BASIC: |
3 | | - id: out-osm-potlatch |
4 | | - label: OpenStreetMap - Potlatch |
5 | | - description: "{{int:bw-desc-osm-potlatch}}" |
6 | | - namespace: NS_OSM |
7 | | - display: out/osm/potlatch |
8 | | - class: FileBasedMessageGroup |
9 | | - |
10 | | -FILES: |
11 | | - class: YamlFFS |
12 | | - sourcePattern: %GROUPROOT%/osm/config/potlatch/locales/%CODE%.yml |
13 | | - codeAsRoot: 1 |
14 | | - targetPattern: osm/config/potlatch/locales/%CODE%.yml |
15 | | - codeMap: |
16 | | - be-tarask: be-TARASK |
17 | | - pt-br: pt-BR |
18 | | - sr-ec: sr-EC |
19 | | - zh-cn: zh-CN |
20 | | - zh-tw: zh-TW |
21 | | - zh-hant: zh-HANT |
22 | | - |
23 | | -TAGS: |
24 | | - optional: |
25 | | - - help_html |
26 | | - - inspector_way |
27 | | - - inspector_way_name |
28 | | - - microblog_name_identica |
29 | | - - microblog_name_twitter |
30 | | - - option_layer_digitalglobe_haiti |
31 | | - - option_layer_geoeye_gravitystorm_haiti |
32 | | - - option_layer_geoeye_haiti |
33 | | - - option_layer_geoeye_nypl_haiti |
34 | | - - option_layer_mapnik |
35 | | - - option_layer_osmarender |
36 | | - - option_layer_yahoo |
Index: trunk/extensions/Translate/groups/OpenStreetMap/OpenStreetMap.yml |
— | — | @@ -1,23 +1,40 @@ |
| 2 | +TEMPLATE: |
| 3 | + BASIC: |
| 4 | + namespace: NS_OSM |
| 5 | + class: FileBasedMessageGroup |
| 6 | + |
| 7 | + FILES: |
| 8 | + class: YamlFFS |
| 9 | + codeAsRoot: 1 |
| 10 | + codeMap: |
| 11 | + be-tarask: be-TARASK |
| 12 | + pt-br: pt-BR |
| 13 | + sr-ec: sr-EC |
| 14 | + zh-cn: zh-CN |
| 15 | + zh-tw: zh-TW |
| 16 | + |
2 | 17 | --- |
3 | 18 | BASIC: |
| 19 | + id: out-osm-0-all |
| 20 | + label: All OpenStreetMap messages |
| 21 | + description: "{{int:bw-desc-openstreetmap}}" |
| 22 | + display: out/osm |
| 23 | + meta: yes |
| 24 | + class: AggregateMessageGroup |
| 25 | +GROUPS: |
| 26 | + - out-osm-potlatch |
| 27 | + - out-osm-site |
| 28 | + |
| 29 | +--- |
| 30 | +BASIC: |
4 | 31 | id: out-osm-site |
5 | 32 | label: OpenStreetMap - Website |
6 | 33 | description: "{{int:bw-desc-osm-site}}" |
7 | | - namespace: NS_OSM |
8 | 34 | display: out/osm/site |
9 | | - class: FileBasedMessageGroup |
10 | 35 | |
11 | 36 | FILES: |
12 | | - class: RubyYamlFFS |
13 | 37 | sourcePattern: %GROUPROOT%/osm/config/locales/%CODE%.yml |
14 | | - codeAsRoot: 1 |
15 | 38 | targetPattern: osm/config/locales/%CODE%.yml |
16 | | - codeMap: |
17 | | - be-tarask: be-TARASK |
18 | | - pt-br: pt-BR |
19 | | - sr-ec: sr-EC |
20 | | - zh-cn: zh-CN |
21 | | - zh-tw: zh-TW |
22 | 39 | |
23 | 40 | CHECKER: |
24 | 41 | class: RubyMessageChecker |
— | — | @@ -72,3 +89,29 @@ |
73 | 90 | - site.edit.anon_edits_link |
74 | 91 | - site.index.license.license_url |
75 | 92 | - site.index.license.project_url |
| 93 | + |
| 94 | +--- |
| 95 | +BASIC: |
| 96 | + id: out-osm-potlatch |
| 97 | + label: OpenStreetMap - Potlatch |
| 98 | + description: "{{int:bw-desc-osm-potlatch}}" |
| 99 | + display: out/osm/potlatch |
| 100 | + |
| 101 | +FILES: |
| 102 | + sourcePattern: %GROUPROOT%/osm/config/potlatch/locales/%CODE%.yml |
| 103 | + targetPattern: osm/config/potlatch/locales/%CODE%.yml |
| 104 | + |
| 105 | +TAGS: |
| 106 | + optional: |
| 107 | + - help_html |
| 108 | + - inspector_way |
| 109 | + - inspector_way_name |
| 110 | + - microblog_name_identica |
| 111 | + - microblog_name_twitter |
| 112 | + - option_layer_digitalglobe_haiti |
| 113 | + - option_layer_geoeye_gravitystorm_haiti |
| 114 | + - option_layer_geoeye_haiti |
| 115 | + - option_layer_geoeye_nypl_haiti |
| 116 | + - option_layer_mapnik |
| 117 | + - option_layer_osmarender |
| 118 | + - option_layer_yahoo |
Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -256,6 +256,7 @@ |
257 | 257 | '/^wikia/' => array( 'wikia' ), |
258 | 258 | '/^out-mantis/' => array( 'mantis' ), |
259 | 259 | '/^out-okawix/' => array( 'okawix' ), |
| 260 | + '/^out-osm/' => array( 'osm' ), |
260 | 261 | '/^out-shapado/' => array( 'shapado' ), |
261 | 262 | // '/^page\|/' => array( 'page' ), |
262 | 263 | ); |