Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test phrases #146

Merged
merged 4 commits into from
Sep 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion languages/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@
"destination": "Fähre nehmen Richtung {destination}"
}
},
"phrase": {},
"phrase": {
"two linked by distance": "{instruction_one} then in {distance} {instruction_two}",
"two linked": "{instruction_one} then {instruction_two}",
"one in distance": "In {distance}, {instruction_one}",
"name and ref": "{name} ({ref})"
},
"arrive": {
"default": {
"default": "Sie haben Ihr {nth} Ziel erreicht"
Expand Down
46 changes: 32 additions & 14 deletions languages/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@
"destination": "Coge el ferry a {destination}"
}
},
"phrase": {},
"phrase": {
"two linked by distance": "{instruction_one}, entonces a {distance}, {instruction_two}",
"two linked": "{instruction_one}, entonces {instruction_two}",
"one in distance": "A {distance}, {instruction_one}",
"name and ref": "{name} ({ref})"
},
"arrive": {
"default": {
"default": "Has llegado a tu {nth} destino"
Expand Down Expand Up @@ -79,28 +84,41 @@
},
"continue": {
"default": {
"default": "Continúe {modifier}",
"name": "Continúe {modifier} en {way_name}",
"destination": "Continúe {modifier} hacia {destination}"
"default": "Gire a {modifier}",
"name": "Turn {modifier} to stay on {way_name}",
"destination": "Gire a {modifier} hacia {destination}",
"exit": "Gire a {modifier} en {way_name}"
},
"straight": {
"default": "Continúe recto",
"name": "Continúe en {way_name}",
"destination": "Continúe hacia {destination}"
"name": "Continue straight to stay on {way_name}",
"destination": "Continúe hacia {destination}",
"distance": "Continúe recto por {distance}",
"namedistance": "Continúe recto en {way_name} por {distance}"
},
"sharp left": {
"default": "Gire a la izquierda",
"name": "Make a sharp left to stay on {way_name}",
"destination": "Gire a la izquierda hacia {destination}"
},
"sharp right": {
"default": "Gire a la derecha",
"name": "Make a sharp right to stay on {way_name}",
"destination": "Gire a la derecha hacia {destination}"
},
"slight left": {
"default": "Continúe ligeramente a la izquierda",
"name": "Continúe ligeramente a la izquierda en {way_name}",
"destination": "Continúe ligeramente a la izquierda hacia {destination}"
"default": "Gire a la izquierda",
"name": "Make a slight left to stay on {way_name}",
"destination": "Gire a la izquierda hacia {destination}"
},
"slight right": {
"default": "Continúe ligeramente a la derecha",
"name": "Continúe ligeramente a la derecha en {way_name}",
"destination": "Continúe ligeramente a la derecha hacia {destination}"
"default": "Gire a la izquierda",
"name": "Make a slight right to stay on {way_name}",
"destination": "Gire a la izquierda hacia {destination}"
},
"uturn": {
"default": "Haz un cambio de sentido",
"name": "Haz un cambio de sentido en {way_name}",
"name": "Haz un cambio de sentido y continúe en {way_name}",
"destination": "Haz un cambio de sentido hacia {destination}"
}
},
Expand Down Expand Up @@ -463,4 +481,4 @@
}
}
}
}
}
9 changes: 7 additions & 2 deletions languages/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"4": "quatrième",
"5": "cinquième",
"6": "sixième",
"7": "setpième",
"7": "septième",
"8": "huitième",
"9": "neuvième",
"10": "dixième"
Expand Down Expand Up @@ -50,7 +50,12 @@
"destination": "Prendre le ferry en direction de {destination}"
}
},
"phrase": {},
"phrase": {
"two linked by distance": "{instruction_one} then in {distance} {instruction_two}",
"two linked": "{instruction_one} then {instruction_two}",
"one in distance": "In {distance}, {instruction_one}",
"name and ref": "{name} ({ref})"
},
"arrive": {
"default": {
"default": "Vous êtes arrivés à votre {nth} destination"
Expand Down
7 changes: 6 additions & 1 deletion languages/translations/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@
"destination": "Naik ferry menuju {destination}"
}
},
"phrase": {},
"phrase": {
"two linked by distance": "{instruction_one} then in {distance} {instruction_two}",
"two linked": "{instruction_one} then {instruction_two}",
"one in distance": "In {distance}, {instruction_one}",
"name and ref": "{name} ({ref})"
},
"arrive": {
"default": {
"default": "Anda telah tiba di tujuan ke-{nth}"
Expand Down
3 changes: 2 additions & 1 deletion languages/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
"phrase": {
"two linked by distance": "{instruction_one}, poi tra {distance} {instruction_two}",
"two linked": "{instruction_one} poi {instruction_two}",
"one in distance": "tra {distance} {instruction_one}"
"one in distance": "tra {distance} {instruction_one}",
"name and ref": "{name} ({ref})"
},
"arrive": {
"default": {
Expand Down
7 changes: 6 additions & 1 deletion languages/translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@
"destination": "Neem het veer naar {destination}"
}
},
"phrase": {},
"phrase": {
"two linked by distance": "{instruction_one} then in {distance} {instruction_two}",
"two linked": "{instruction_one} then {instruction_two}",
"one in distance": "In {distance}, {instruction_one}",
"name and ref": "{name} ({ref})"
},
"arrive": {
"default": {
"default": "Je bent gearriveerd op de {nth} bestemming."
Expand Down
7 changes: 6 additions & 1 deletion languages/translations/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@
"destination": "Weź prom w kierunku {destination}"
}
},
"phrase": {},
"phrase": {
"two linked by distance": "{instruction_one} then in {distance} {instruction_two}",
"two linked": "{instruction_one} then {instruction_two}",
"one in distance": "In {distance}, {instruction_one}",
"name and ref": "{name} ({ref})"
},
"arrive": {
"default": {
"default": "Dojechano do miejsca docelowego {nth}"
Expand Down
7 changes: 6 additions & 1 deletion languages/translations/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@
"destination": "Pegue a balsa sentido {destination}"
}
},
"phrase": {},
"phrase": {
"two linked by distance": "{instruction_one} then in {distance} {instruction_two}",
"two linked": "{instruction_one} then {instruction_two}",
"one in distance": "In {distance}, {instruction_one}",
"name and ref": "{name} ({ref})"
},
"arrive": {
"default": {
"default": "Você chegou ao seu {nth} destino"
Expand Down
28 changes: 23 additions & 5 deletions languages/translations/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@
"destination": "Погрузитесь на паром в направлении {destination}"
}
},
"phrase": {},
"phrase": {
"two linked by distance": "{instruction_one}, затем через {distance} {instruction_two}",
"two linked": "{instruction_one}, затем {instruction_two}",
"one in distance": "Через {distance} {instruction_one}",
"name and ref": "{name} ({ref})"
},
"arrive": {
"default": {
"default": "Вы прибыли в {nth} пункт назначения"
Expand Down Expand Up @@ -80,14 +85,27 @@
"continue": {
"default": {
"default": "Двигайтесь {modifier}",
"name": "Двигайтесь {modifier} по {way_name}",
"destination": "Двигайтесь {modifier} в направлении {destination}"
"name": "Продолжите движение {modifier} по {way_name}",
"destination": "Двигайтесь {modifier} в направлении {destination}",
"exit": "Двигайтесь {modifier} по {way_name}"
},
"straight": {
"default": "Двигайтесь прямо",
"name": "Продолжите движение по {way_name}",
"destination": "Продолжите движение в направлении {destination}"
"destination": "Продолжите движение в направлении {destination}",
"distance": "Двигайтесь прямо {distance}",
"namedistance": "Двигайтесь прямо {distance} по {way_name}"
},
"sharp left": {
"default": "Резко поверните налево",
"name": "Резко поверните налево на {way_name}",
"destination": "Резко поверните налево в направлении {destination}"
},
"sharp right": {
"default": "Резко поверните направо",
"name": "Резко поверните направо на {way_name}",
"destination": "Резко поверните направо в направлении {destination}"
},
"slight left": {
"default": "Плавно поверните налево",
"name": "Плавно поверните налево на {way_name}",
Expand All @@ -100,7 +118,7 @@
},
"uturn": {
"default": "Развернитесь",
"name": "Развернитесь на {way_name}",
"name": "Развернитесь и продолжите движение по {way_name}",
"destination": "Развернитесь в направлении {destination}"
}
},
Expand Down
7 changes: 6 additions & 1 deletion languages/translations/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@
"destination": "Ta färjan mot {destination}"
}
},
"phrase": {},
"phrase": {
"two linked by distance": "{instruction_one}, sedan om {distance}, {instruction_two}",
"two linked": "{instruction_one}, sedan {instruction_two}",
"one in distance": "Om {distance}, {instruction_one}",
"name and ref": "{name} ({ref})"
},
"arrive": {
"default": {
"default": "Du är framme vid din {nth} destination"
Expand Down
7 changes: 6 additions & 1 deletion languages/translations/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@
"destination": "Скористайтесь поромом у напрямку {destination}"
}
},
"phrase": {},
"phrase": {
"two linked by distance": "{instruction_one} then in {distance} {instruction_two}",
"two linked": "{instruction_one} then {instruction_two}",
"one in distance": "In {distance}, {instruction_one}",
"name and ref": "{name} ({ref})"
},
"arrive": {
"default": {
"default": "Ви прибули у ваш {nth} пункт призначення"
Expand Down
36 changes: 27 additions & 9 deletions languages/translations/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@
"destination": "Lên phà đi {destination}"
}
},
"phrase": {},
"phrase": {
"two linked by distance": "{instruction_one}, rồi {distance} nữa thì {instruction_two}",
"two linked": "{instruction_one}, rồi {instruction_two}",
"one in distance": "{distance} nữa thì {instruction_one}",
"name and ref": "{name} ({ref})"
},
"arrive": {
"default": {
"default": "Đến nơi {nth}"
Expand Down Expand Up @@ -79,28 +84,41 @@
},
"continue": {
"default": {
"default": "Chạy tiếp bên {modifier}",
"name": "Chạy tiếp bên {modifier} trên {way_name}",
"destination": "Chạy tiếp bên {modifier} đến {destination}"
"default": "Quẹo {modifier}",
"name": "Quẹo {modifier} để chạy tiếp trên {way_name}",
"destination": "Quẹo {modifier} đến {destination}",
"exit": "Quẹo {modifier} vào {way_name}"
},
"straight": {
"default": "Chạy thẳng",
"name": "Chạy tiếp trên {way_name}",
"destination": "Chạy tiếp đến {destination}"
"destination": "Chạy tiếp đến {destination}",
"distance": "Chạy thẳng cho {distance}",
"namedistance": "Chạy tiếp trên {way_name} cho {distance}"
},
"sharp left": {
"default": "Quẹo gắt bên trái",
"name": "Quẹo gắt bên trái để chạy tiếp trên {way_name}",
"destination": "Quẹo gắt bên trái đến {destination}"
},
"sharp right": {
"default": "Quẹo gắt bên phải",
"name": "Quẹo gắt bên phải để chạy tiếp trên {way_name}",
"destination": "Quẹo gắt bên phải đến {destination}"
},
"slight left": {
"default": "Nghiêng về bên trái",
"name": "Nghiêng về bên trái vào {way_name}",
"name": "Nghiêng về bên trái để chạy tiếp trên {way_name}",
"destination": "Nghiêng về bên trái đến {destination}"
},
"slight right": {
"default": "Nghiêng về bên phải",
"name": "Nghiêng về bên phải vào {way_name}",
"name": "Nghiêng về bên phải để chạy tiếp trên {way_name}",
"destination": "Nghiêng về bên phải đến {destination}"
},
"uturn": {
"default": "Quẹo ngược lại",
"name": "Quẹo ngược lại {way_name}",
"name": "Quẹo ngược lại trên {way_name}",
"destination": "Quẹo ngược đến {destination}"
}
},
Expand Down Expand Up @@ -463,4 +481,4 @@
}
}
}
}
}
7 changes: 6 additions & 1 deletion languages/translations/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@
"destination": "乘坐开往{destination}的轮渡"
}
},
"phrase": {},
"phrase": {
"two linked by distance": "{instruction_one} then in {distance} {instruction_two}",
"two linked": "{instruction_one} then {instruction_two}",
"one in distance": "In {distance}, {instruction_one}",
"name and ref": "{name} ({ref})"
},
"arrive": {
"default": {
"default": "您已经到达您的{nth}个目的地"
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/v5/continue/left_default.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"instructions": {
"de": "Links weiterfahren",
"en": "Turn left",
"es": "Continúe izquierda",
"es": "Gire a izquierda",
"fr": "Continuer à gauche",
"id": "Terus kiri",
"it": "Continua a sinistra",
Expand All @@ -19,7 +19,7 @@
"ru": "Двигайтесь налево",
"sv": "Fortsätt vänster",
"uk": "Рухайтесь ліворуч",
"vi": "Chạy tiếp bên trái",
"vi": "Quẹo trái",
"zh-Hans": "继续向左"
}
}
4 changes: 2 additions & 2 deletions test/fixtures/v5/continue/left_destination.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"instructions": {
"de": "Links weiterfahren Richtung Destination 1",
"en": "Turn left towards Destination 1",
"es": "Continúe izquierda hacia Destination 1",
"es": "Gire a izquierda hacia Destination 1",
"fr": "Continuer à gauche en direction de Destination 1",
"id": "Teruskan kiri menuju Destination 1",
"it": "Continua a sinistra verso Destination 1",
Expand All @@ -20,7 +20,7 @@
"ru": "Двигайтесь налево в направлении Destination 1",
"sv": "Fortsätt vänster mot Destination 1",
"uk": "Рухайтесь ліворуч у напрямку Destination 1",
"vi": "Chạy tiếp bên trái đến Destination 1",
"vi": "Quẹo trái đến Destination 1",
"zh-Hans": "继续向左行驶,前往Destination 1"
}
}
4 changes: 2 additions & 2 deletions test/fixtures/v5/continue/left_exit.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"instructions": {
"de": "Links weiterfahren auf Way Name",
"en": "Turn left onto Way Name",
"es": "Continúe izquierda en Way Name",
"es": "Gire a izquierda en Way Name",
"fr": "Continuer à gauche sur Way Name",
"id": "Terus kiri ke Way Name",
"it": "Continua a sinistra in Way Name",
Expand All @@ -20,7 +20,7 @@
"ru": "Двигайтесь налево по Way Name",
"sv": "Fortsätt vänster in på Way Name",
"uk": "Рухайтесь ліворуч на Way Name",
"vi": "Chạy tiếp bên trái trên Way Name",
"vi": "Quẹo trái vào Way Name",
"zh-Hans": "继续向左,上Way Name"
}
}
Loading