Skip to content

Commit 0939743

Browse files
author
Allie Rowan
authored
Merge pull request #184 from Project-OSRM/upcoming-arrival
Adds an instruction worded for upcoming arrival
2 parents 9fea311 + b0d49c1 commit 0939743

File tree

21 files changed

+308
-154
lines changed

21 files changed

+308
-154
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Change Log
22
All notable changes to this project will be documented in this file. For change log formatting, see http://keepachangelog.com/
33

4+
## 0.10.4 2017-10-26
5+
6+
- Add a phrase for an upcoming arrival step [#184](https://github.com/Project-OSRM/osrm-text-instructions/pull/184)
7+
48
## 0.10.3 2017-10-24
59

610
- Change the default exit roundabout instruction to be `exit the traffic circle` [#182](https://github.com/Project-OSRM/osrm-text-instructions/pull/182)

languages/translations/de.json

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,28 +58,36 @@
5858
},
5959
"arrive": {
6060
"default": {
61-
"default": "Sie haben Ihr {nth} Ziel erreicht"
61+
"default": "Sie haben Ihr {nth} Ziel erreicht",
62+
"upcoming": "Sie haben Ihr {nth} Ziel erreicht"
6263
},
6364
"left": {
64-
"default": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich links"
65+
"default": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich links",
66+
"upcoming": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich links"
6567
},
6668
"right": {
67-
"default": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich rechts"
69+
"default": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich rechts",
70+
"upcoming": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich rechts"
6871
},
6972
"sharp left": {
70-
"default": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich links"
73+
"default": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich links",
74+
"upcoming": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich links"
7175
},
7276
"sharp right": {
73-
"default": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich rechts"
77+
"default": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich rechts",
78+
"upcoming": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich rechts"
7479
},
7580
"slight right": {
76-
"default": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich rechts"
81+
"default": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich rechts",
82+
"upcoming": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich rechts"
7783
},
7884
"slight left": {
79-
"default": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich links"
85+
"default": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich links",
86+
"upcoming": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich links"
8087
},
8188
"straight": {
82-
"default": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich geradeaus"
89+
"default": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich geradeaus",
90+
"upcoming": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich geradeaus"
8391
}
8492
},
8593
"continue": {

languages/translations/en.json

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,28 +58,36 @@
5858
},
5959
"arrive": {
6060
"default": {
61-
"default": "You have arrived at your {nth} destination"
61+
"default": "You have arrived at your {nth} destination",
62+
"upcoming": "You will arrive at your {nth} destination"
6263
},
6364
"left": {
64-
"default": "You have arrived at your {nth} destination, on the left"
65+
"default": "You have arrived at your {nth} destination, on the left",
66+
"upcoming": "You will arrive at your {nth} destination, on the left"
6567
},
6668
"right": {
67-
"default": "You have arrived at your {nth} destination, on the right"
69+
"default": "You have arrived at your {nth} destination, on the right",
70+
"upcoming": "You will arrive at your {nth} destination, on the right"
6871
},
6972
"sharp left": {
70-
"default": "You have arrived at your {nth} destination, on the left"
73+
"default": "You have arrived at your {nth} destination, on the left",
74+
"upcoming": "You will arrive at your {nth} destination, on the left"
7175
},
7276
"sharp right": {
73-
"default": "You have arrived at your {nth} destination, on the right"
77+
"default": "You have arrived at your {nth} destination, on the right",
78+
"upcoming": "You will arrive at your {nth} destination, on the right"
7479
},
7580
"slight right": {
76-
"default": "You have arrived at your {nth} destination, on the right"
81+
"default": "You have arrived at your {nth} destination, on the right",
82+
"upcoming": "You will arrive at your {nth} destination, on the right"
7783
},
7884
"slight left": {
79-
"default": "You have arrived at your {nth} destination, on the left"
85+
"default": "You have arrived at your {nth} destination, on the left",
86+
"upcoming": "You will arrive at your {nth} destination, on the left"
8087
},
8188
"straight": {
82-
"default": "You have arrived at your {nth} destination, straight ahead"
89+
"default": "You have arrived at your {nth} destination, straight ahead",
90+
"upcoming": "You will arrive at your {nth} destination, straight ahead"
8391
}
8492
},
8593
"continue": {

languages/translations/eo.json

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,28 +58,36 @@
5858
},
5959
"arrive": {
6060
"default": {
61-
"default": "Vi atingis vian {nth} celon"
61+
"default": "Vi atingis vian {nth} celon",
62+
"upcoming": "Vi atingis vian {nth} celon"
6263
},
6364
"left": {
64-
"default": "Vi atingis vian {nth} celon ĉe maldekstre"
65+
"default": "Vi atingis vian {nth} celon ĉe maldekstre",
66+
"upcoming": "Vi atingis vian {nth} celon ĉe maldekstre"
6567
},
6668
"right": {
67-
"default": "Vi atingis vian {nth} celon ĉe dekstre"
69+
"default": "Vi atingis vian {nth} celon ĉe dekstre",
70+
"upcoming": "Vi atingis vian {nth} celon ĉe dekstre"
6871
},
6972
"sharp left": {
70-
"default": "Vi atingis vian {nth} celon ĉe maldekstre"
73+
"default": "Vi atingis vian {nth} celon ĉe maldekstre",
74+
"upcoming": "Vi atingis vian {nth} celon ĉe maldekstre"
7175
},
7276
"sharp right": {
73-
"default": "Vi atingis vian {nth} celon ĉe dekstre"
77+
"default": "Vi atingis vian {nth} celon ĉe dekstre",
78+
"upcoming": "Vi atingis vian {nth} celon ĉe dekstre"
7479
},
7580
"slight right": {
76-
"default": "Vi atingis vian {nth} celon ĉe dekstre"
81+
"default": "Vi atingis vian {nth} celon ĉe dekstre",
82+
"upcoming": "Vi atingis vian {nth} celon ĉe dekstre"
7783
},
7884
"slight left": {
79-
"default": "Vi atingis vian {nth} celon ĉe maldekstre"
85+
"default": "Vi atingis vian {nth} celon ĉe maldekstre",
86+
"upcoming": "Vi atingis vian {nth} celon ĉe maldekstre"
8087
},
8188
"straight": {
82-
"default": "Vi atingis vian {nth} celon"
89+
"default": "Vi atingis vian {nth} celon",
90+
"upcoming": "Vi atingis vian {nth} celon"
8391
}
8492
},
8593
"continue": {
@@ -482,4 +490,4 @@
482490
}
483491
}
484492
}
485-
}
493+
}

languages/translations/es-ES.json

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,28 +58,36 @@
5858
},
5959
"arrive": {
6060
"default": {
61-
"default": "Has llegado a tu {nth} destino"
61+
"default": "Has llegado a tu {nth} destino",
62+
"upcoming": "Has llegado a tu {nth} destino"
6263
},
6364
"left": {
64-
"default": "Has llegado a tu {nth} destino, a la izquierda"
65+
"default": "Has llegado a tu {nth} destino, a la izquierda",
66+
"upcoming": "Has llegado a tu {nth} destino, a la izquierda"
6567
},
6668
"right": {
67-
"default": "Has llegado a tu {nth} destino, a la derecha"
69+
"default": "Has llegado a tu {nth} destino, a la derecha",
70+
"upcoming": "Has llegado a tu {nth} destino, a la derecha"
6871
},
6972
"sharp left": {
70-
"default": "Has llegado a tu {nth} destino, a la izquierda"
73+
"default": "Has llegado a tu {nth} destino, a la izquierda",
74+
"upcoming": "Has llegado a tu {nth} destino, a la izquierda"
7175
},
7276
"sharp right": {
73-
"default": "Has llegado a tu {nth} destino, a la derecha"
77+
"default": "Has llegado a tu {nth} destino, a la derecha",
78+
"upcoming": "Has llegado a tu {nth} destino, a la derecha"
7479
},
7580
"slight right": {
76-
"default": "Has llegado a tu {nth} destino, a la derecha"
81+
"default": "Has llegado a tu {nth} destino, a la derecha",
82+
"upcoming": "Has llegado a tu {nth} destino, a la derecha"
7783
},
7884
"slight left": {
79-
"default": "Has llegado a tu {nth} destino, a la izquierda"
85+
"default": "Has llegado a tu {nth} destino, a la izquierda",
86+
"upcoming": "Has llegado a tu {nth} destino, a la izquierda"
8087
},
8188
"straight": {
82-
"default": "Has llegado a tu {nth} destino, en frente"
89+
"default": "Has llegado a tu {nth} destino, en frente",
90+
"upcoming": "Has llegado a tu {nth} destino, en frente"
8391
}
8492
},
8593
"continue": {
@@ -482,4 +490,4 @@
482490
}
483491
}
484492
}
485-
}
493+
}

languages/translations/es.json

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,28 +58,36 @@
5858
},
5959
"arrive": {
6060
"default": {
61-
"default": "Has llegado a tu {nth} destino"
61+
"default": "Has llegado a tu {nth} destino",
62+
"upcoming": "Has llegado a tu {nth} destino"
6263
},
6364
"left": {
64-
"default": "Has llegado a tu {nth} destino, a la izquierda"
65+
"default": "Has llegado a tu {nth} destino, a la izquierda",
66+
"upcoming": "Has llegado a tu {nth} destino, a la izquierda"
6567
},
6668
"right": {
67-
"default": "Has llegado a tu {nth} destino, a la derecha"
69+
"default": "Has llegado a tu {nth} destino, a la derecha",
70+
"upcoming": "Has llegado a tu {nth} destino, a la derecha"
6871
},
6972
"sharp left": {
70-
"default": "Has llegado a tu {nth} destino, a la izquierda"
73+
"default": "Has llegado a tu {nth} destino, a la izquierda",
74+
"upcoming": "Has llegado a tu {nth} destino, a la izquierda"
7175
},
7276
"sharp right": {
73-
"default": "Has llegado a tu {nth} destino, a la derecha"
77+
"default": "Has llegado a tu {nth} destino, a la derecha",
78+
"upcoming": "Has llegado a tu {nth} destino, a la derecha"
7479
},
7580
"slight right": {
76-
"default": "Has llegado a tu {nth} destino, a la derecha"
81+
"default": "Has llegado a tu {nth} destino, a la derecha",
82+
"upcoming": "Has llegado a tu {nth} destino, a la derecha"
7783
},
7884
"slight left": {
79-
"default": "Has llegado a tu {nth} destino, a la izquierda"
85+
"default": "Has llegado a tu {nth} destino, a la izquierda",
86+
"upcoming": "Has llegado a tu {nth} destino, a la izquierda"
8087
},
8188
"straight": {
82-
"default": "Has llegado a tu {nth} destino, en frente"
89+
"default": "Has llegado a tu {nth} destino, en frente",
90+
"upcoming": "Has llegado a tu {nth} destino, en frente"
8391
}
8492
},
8593
"continue": {
@@ -482,4 +490,4 @@
482490
}
483491
}
484492
}
485-
}
493+
}

languages/translations/fr.json

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,28 +58,36 @@
5858
},
5959
"arrive": {
6060
"default": {
61-
"default": "Vous êtes arrivés à votre {nth} destination"
61+
"default": "Vous êtes arrivés à votre {nth} destination",
62+
"upcoming": "Vous êtes arrivés à votre {nth} destination"
6263
},
6364
"left": {
64-
"default": "Vous êtes arrivés à votre {nth} destination, sur la gauche"
65+
"default": "Vous êtes arrivés à votre {nth} destination, sur la gauche",
66+
"upcoming": "Vous êtes arrivés à votre {nth} destination, sur la gauche"
6567
},
6668
"right": {
67-
"default": "Vous êtes arrivés à votre {nth} destination, sur la droite"
69+
"default": "Vous êtes arrivés à votre {nth} destination, sur la droite",
70+
"upcoming": "Vous êtes arrivés à votre {nth} destination, sur la droite"
6871
},
6972
"sharp left": {
70-
"default": "Vous êtes arrivés à votre {nth} destination, sur la gauche"
73+
"default": "Vous êtes arrivés à votre {nth} destination, sur la gauche",
74+
"upcoming": "Vous êtes arrivés à votre {nth} destination, sur la gauche"
7175
},
7276
"sharp right": {
73-
"default": "Vous êtes arrivés à votre {nth} destination, sur la droite"
77+
"default": "Vous êtes arrivés à votre {nth} destination, sur la droite",
78+
"upcoming": "Vous êtes arrivés à votre {nth} destination, sur la droite"
7479
},
7580
"slight right": {
76-
"default": "Vous êtes arrivés à votre {nth} destination, sur la droite"
81+
"default": "Vous êtes arrivés à votre {nth} destination, sur la droite",
82+
"upcoming": "Vous êtes arrivés à votre {nth} destination, sur la droite"
7783
},
7884
"slight left": {
79-
"default": "Vous êtes arrivés à votre {nth} destination, sur la gauche"
85+
"default": "Vous êtes arrivés à votre {nth} destination, sur la gauche",
86+
"upcoming": "Vous êtes arrivés à votre {nth} destination, sur la gauche"
8087
},
8188
"straight": {
82-
"default": "Vous êtes arrivés à votre {nth} destination, droit devant"
89+
"default": "Vous êtes arrivés à votre {nth} destination, droit devant",
90+
"upcoming": "Vous êtes arrivés à votre {nth} destination, droit devant"
8391
}
8492
},
8593
"continue": {

languages/translations/id.json

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,28 +58,36 @@
5858
},
5959
"arrive": {
6060
"default": {
61-
"default": "Anda telah tiba di tujuan ke-{nth}"
61+
"default": "Anda telah tiba di tujuan ke-{nth}",
62+
"upcoming": "Anda telah tiba di tujuan ke-{nth}"
6263
},
6364
"left": {
64-
"default": "Anda telah tiba di tujuan ke-{nth}, di sebelah kiri"
65+
"default": "Anda telah tiba di tujuan ke-{nth}, di sebelah kiri",
66+
"upcoming": "Anda telah tiba di tujuan ke-{nth}, di sebelah kiri"
6567
},
6668
"right": {
67-
"default": "Anda telah tiba di tujuan ke-{nth}, di sebelah kanan"
69+
"default": "Anda telah tiba di tujuan ke-{nth}, di sebelah kanan",
70+
"upcoming": "Anda telah tiba di tujuan ke-{nth}, di sebelah kanan"
6871
},
6972
"sharp left": {
70-
"default": "Anda telah tiba di tujuan ke-{nth}, di sebelah kiri"
73+
"default": "Anda telah tiba di tujuan ke-{nth}, di sebelah kiri",
74+
"upcoming": "Anda telah tiba di tujuan ke-{nth}, di sebelah kiri"
7175
},
7276
"sharp right": {
73-
"default": "Anda telah tiba di tujuan ke-{nth}, di sebelah kanan"
77+
"default": "Anda telah tiba di tujuan ke-{nth}, di sebelah kanan",
78+
"upcoming": "Anda telah tiba di tujuan ke-{nth}, di sebelah kanan"
7479
},
7580
"slight right": {
76-
"default": "Anda telah tiba di tujuan ke-{nth}, di sebelah kanan"
81+
"default": "Anda telah tiba di tujuan ke-{nth}, di sebelah kanan",
82+
"upcoming": "Anda telah tiba di tujuan ke-{nth}, di sebelah kanan"
7783
},
7884
"slight left": {
79-
"default": "Anda telah tiba di tujuan ke-{nth}, di sebelah kiri"
85+
"default": "Anda telah tiba di tujuan ke-{nth}, di sebelah kiri",
86+
"upcoming": "Anda telah tiba di tujuan ke-{nth}, di sebelah kiri"
8087
},
8188
"straight": {
82-
"default": "Anda telah tiba di tujuan ke-{nth}, lurus saja"
89+
"default": "Anda telah tiba di tujuan ke-{nth}, lurus saja",
90+
"upcoming": "Anda telah tiba di tujuan ke-{nth}, lurus saja"
8391
}
8492
},
8593
"continue": {

languages/translations/it.json

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,28 +58,36 @@
5858
},
5959
"arrive": {
6060
"default": {
61-
"default": "Sei arrivato alla tua {nth} destinazione"
61+
"default": "Sei arrivato alla tua {nth} destinazione",
62+
"upcoming": "Sei arrivato alla tua {nth} destinazione"
6263
},
6364
"left": {
64-
"default": "sei arrivato alla tua {nth} destinazione, sulla sinistra"
65+
"default": "sei arrivato alla tua {nth} destinazione, sulla sinistra",
66+
"upcoming": "sei arrivato alla tua {nth} destinazione, sulla sinistra"
6567
},
6668
"right": {
67-
"default": "sei arrivato alla tua {nth} destinazione, sulla destra"
69+
"default": "sei arrivato alla tua {nth} destinazione, sulla destra",
70+
"upcoming": "sei arrivato alla tua {nth} destinazione, sulla destra"
6871
},
6972
"sharp left": {
70-
"default": "sei arrivato alla tua {nth} destinazione, sulla sinistra"
73+
"default": "sei arrivato alla tua {nth} destinazione, sulla sinistra",
74+
"upcoming": "sei arrivato alla tua {nth} destinazione, sulla sinistra"
7175
},
7276
"sharp right": {
73-
"default": "sei arrivato alla tua {nth} destinazione, sulla destra"
77+
"default": "sei arrivato alla tua {nth} destinazione, sulla destra",
78+
"upcoming": "sei arrivato alla tua {nth} destinazione, sulla destra"
7479
},
7580
"slight right": {
76-
"default": "sei arrivato alla tua {nth} destinazione, sulla destra"
81+
"default": "sei arrivato alla tua {nth} destinazione, sulla destra",
82+
"upcoming": "sei arrivato alla tua {nth} destinazione, sulla destra"
7783
},
7884
"slight left": {
79-
"default": "sei arrivato alla tua {nth} destinazione, sulla sinistra"
85+
"default": "sei arrivato alla tua {nth} destinazione, sulla sinistra",
86+
"upcoming": "sei arrivato alla tua {nth} destinazione, sulla sinistra"
8087
},
8188
"straight": {
82-
"default": "sei arrivato alla tua {nth} destinazione, si trova davanti a te"
89+
"default": "sei arrivato alla tua {nth} destinazione, si trova davanti a te",
90+
"upcoming": "sei arrivato alla tua {nth} destinazione, si trova davanti a te"
8391
}
8492
},
8593
"continue": {
@@ -482,4 +490,4 @@
482490
}
483491
}
484492
}
485-
}
493+
}

0 commit comments

Comments
 (0)