Skip to content

Commit f33381e

Browse files
committed
Add distance and phrase support
- Adds three phrases to the English translations for combining instructions and referencing instruction in relation to distance. - Adds `distance` support to the English `continue.default` and `continue.straight` instructions.
1 parent 708583d commit f33381e

File tree

14 files changed

+30
-9
lines changed

14 files changed

+30
-9
lines changed

languages/translations/de.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"destination": "Fähre nehmen Richtung {destination}"
5151
}
5252
},
53+
"phrase": {},
5354
"arrive": {
5455
"default": {
5556
"default": "Sie haben Ihr {nth} Ziel erreicht"
@@ -413,4 +414,4 @@
413414
}
414415
}
415416
}
416-
}
417+
}

languages/translations/en.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@
5050
"destination": "Take the ferry towards {destination}"
5151
}
5252
},
53+
"phrase": {
54+
"twolinkedbydistance": "{instruction_one} then in {distance} {instruction_two}",
55+
"twolinked": "{instruction_one} then {instruction_two}",
56+
"oneindistance": "In {distance}, {instruction_one}"
57+
},
5358
"arrive": {
5459
"default": {
5560
"default": "You have arrived at your {nth} destination"
@@ -80,12 +85,15 @@
8085
"default": {
8186
"default": "Continue {modifier}",
8287
"name": "Continue {modifier} onto {way_name}",
83-
"destination": "Continue {modifier} towards {destination}"
88+
"destination": "Continue {modifier} towards {destination}",
89+
"distance": "Continue for {distance}",
90+
"namedistance": "Continue on {way_name} for {distance}"
8491
},
8592
"straight": {
8693
"default": "Continue straight",
8794
"name": "Continue onto {way_name}",
88-
"destination": "Continue towards {destination}"
95+
"destination": "Continue towards {destination}",
96+
"distance": "Continue straight for {distance}"
8997
},
9098
"slight left": {
9199
"default": "Continue slightly left",

languages/translations/es.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"destination": "Coge el ferry a {destination}"
5151
}
5252
},
53+
"phrase": {},
5354
"arrive": {
5455
"default": {
5556
"default": "Has llegado a tu {nth} destino"
@@ -418,4 +419,4 @@
418419
}
419420
}
420421
}
421-
}
422+
}

languages/translations/fr.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"destination": "Prendre le ferry en direction de {destination}"
5151
}
5252
},
53+
"phrase": {},
5354
"arrive": {
5455
"default": {
5556
"default": "Vous êtes arrivés à votre {nth} destination"

languages/translations/id.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"destination": "Naik ferry menuju {destination}"
5151
}
5252
},
53+
"phrase": {},
5354
"arrive": {
5455
"default": {
5556
"default": "Anda telah tiba di tujuan ke-{nth}"

languages/translations/it.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"destination": "Prendi il traghetto verso {destination}"
5151
}
5252
},
53+
"phrase": {},
5354
"arrive": {
5455
"default": {
5556
"default": "Sei arrivato alla tua {nth} destinazione"

languages/translations/nl.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"destination": "Neem het veer naar {destination}"
5151
}
5252
},
53+
"phrase": {},
5354
"arrive": {
5455
"default": {
5556
"default": "Je bent gearriveerd op de {nth} bestemming."

languages/translations/pl.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"destination": "Weź prom w kierunku {destination}"
5151
}
5252
},
53+
"phrase": {},
5354
"arrive": {
5455
"default": {
5556
"default": "Dojechano do miejsca docelowego {nth}"

languages/translations/pt-BR.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"destination": "Pegue a balsa sentido {destination}"
5151
}
5252
},
53+
"phrase": {},
5354
"arrive": {
5455
"default": {
5556
"default": "Você chegou ao seu {nth} destino"
@@ -418,4 +419,4 @@
418419
}
419420
}
420421
}
421-
}
422+
}

languages/translations/ru.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"destination": "Погрузитесь на паром в направлении {destination}"
5151
}
5252
},
53+
"phrase": {},
5354
"arrive": {
5455
"default": {
5556
"default": "Вы прибыли в {nth} пункт назначения"
@@ -418,4 +419,4 @@
418419
}
419420
}
420421
}
421-
}
422+
}

languages/translations/sv.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"destination": "Ta färjan mot {destination}"
5151
}
5252
},
53+
"phrase": {},
5354
"arrive": {
5455
"default": {
5556
"default": "Du är framme vid din {nth} destination"
@@ -418,4 +419,4 @@
418419
}
419420
}
420421
}
421-
}
422+
}

languages/translations/uk.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"destination": "Скористайтесь поромом у напрямку {destination}"
5151
}
5252
},
53+
"phrase": {},
5354
"arrive": {
5455
"default": {
5556
"default": "Ви прибули у ваш {nth} пункт призначення"
@@ -418,4 +419,4 @@
418419
}
419420
}
420421
}
421-
}
422+
}

languages/translations/vi.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"destination": "Lên phà đi {destination}"
5151
}
5252
},
53+
"phrase": {},
5354
"arrive": {
5455
"default": {
5556
"default": "Đến nơi {nth}"
@@ -418,4 +419,4 @@
418419
}
419420
}
420421
}
421-
}
422+
}

languages/translations/zh-Hans.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"destination": "乘坐开往{destination}的轮渡"
5151
}
5252
},
53+
"phrase": {},
5354
"arrive": {
5455
"default": {
5556
"default": "您已经到达您的{nth}个目的地"

0 commit comments

Comments
 (0)