Skip to content

Commit c1c0a64

Browse files
kjonosmtyrasd
andauthored
Add translatable strings to sport field (#747)
Add translatable strings to sport field for values with usage > 5000 * leaving out `multi`, as the [intended use](https://wiki.openstreetmap.org/wiki/Tag%3Asport%3Dmulti) is rather complex and not really fitting to the simple field type used here. Leaving it untranslated is IMHO better, as the rendering as a raw tag conveys the concept that this is something more specific going on. Co-authored-by: Martin Raifer <martin@raifer.tech>
1 parent a6e1c45 commit c1c0a64

File tree

1 file changed

+40
-1
lines changed

1 file changed

+40
-1
lines changed

data/fields/sport.json

+40-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,44 @@
11
{
22
"key": "sport",
33
"type": "semiCombo",
4-
"label": "Sports"
4+
"label": "Sports",
5+
"strings": {
6+
"options": {
7+
"american_football": "American Football",
8+
"athletics": "Athletics",
9+
"badminton": "Badminton",
10+
"baseball": "Baseball",
11+
"basketball": "Basketball",
12+
"beachvolleyball": "Beach Volleyball",
13+
"boules": "Boules",
14+
"bowls": "Bowls",
15+
"climbing": "Climbing",
16+
"cricket": "Cricket",
17+
"cycling": "Cycling",
18+
"equestrian": "Equestrian",
19+
"fitness": "Fitness Training",
20+
"free_flying": "Paragliding / Hang Gliding",
21+
"futsal": "Futsal",
22+
"golf": "Golf",
23+
"gymnastics": "Gymnastics",
24+
"handball": "Team Handball",
25+
"horse_racing": "Horse Racing",
26+
"karting": "Kart Racing",
27+
"motocross": "Motocross",
28+
"motor": "Motorsports",
29+
"netball": "Netball",
30+
"padel": "Padel",
31+
"rugby_union": "Rugby Union",
32+
"running": "Running",
33+
"shooting": "Shooting",
34+
"skateboard": "Skateboard",
35+
"skiing": "Skiing",
36+
"soccer": "Soccer",
37+
"softball": "Softball",
38+
"swimming": "Swimming",
39+
"table_tennis": "Table Tennis",
40+
"tennis": "Tennis",
41+
"volleyball": "Volleyball"
42+
}
43+
}
544
}

0 commit comments

Comments
 (0)