Skip to content

Commit 6a9c2ea

Browse files
authored
Merge branch 'master' into tx-hu
2 parents b2ca46f + d401ef7 commit 6a9c2ea

File tree

663 files changed

+1160
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

663 files changed

+1160
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file. For change
44
## master
55

66
- Added a Hungarian localization and grammar. [#274](https://github.com/Project-OSRM/osrm-text-instructions/pull/274)
7+
- Added a Japanese localization. [#277](https://github.com/Project-OSRM/osrm-text-instructions/pull/277)
78
- Added an Arabic localization. [#267](https://github.com/Project-OSRM/osrm-text-instructions/pull/267)
89
- Added a Slovenian localization. [#264](https://github.com/Project-OSRM/osrm-text-instructions/pull/264)
910
- Updated French grammar with 'chaussée' status street name. [#268](https://github.com/Project-OSRM/osrm-text-instructions/pull/268)

languages.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ var instructionsHe = require('./languages/translations/he.json');
1313
var instructionsHu = require('./languages/translations/hu.json');
1414
var instructionsId = require('./languages/translations/id.json');
1515
var instructionsIt = require('./languages/translations/it.json');
16+
var instructionsJa = require('./languages/translations/ja.json');
1617
var instructionsKo = require('./languages/translations/ko.json');
1718
var instructionsMy = require('./languages/translations/my.json');
1819
var instructionsNl = require('./languages/translations/nl.json');
@@ -67,6 +68,7 @@ var instructions = {
6768
'hu': instructionsHu,
6869
'id': instructionsId,
6970
'it': instructionsIt,
71+
'ja': instructionsJa,
7072
'ko': instructionsKo,
7173
'my': instructionsMy,
7274
'nl': instructionsNl,

languages/overrides/ja.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = function(content) {
2+
content.meta.capitalizeFirstLetter = false;
3+
4+
return content;
5+
};

languages/translations/ja.json

Lines changed: 493 additions & 0 deletions
Large diffs are not rendered by default.

test/fixtures/v5/arrive/left.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"hu": "Megérkezett a célponthoz, a bal oldalon",
2121
"id": "Anda telah tiba di tujuan ke-, di sebelah kiri",
2222
"it": "Sei arrivato alla tua destinazione, sulla sinistra",
23+
"ja": "目の目的地に到着しました。目的地は左側です",
2324
"ko": "좌측에 목적지가 있습니다.",
2425
"my": "သင္ သြားလိုေသာ ခရီးပန္းတိုင္သို႕ဘယ္ဘက္တြင္ေရာက္ရွိျပီ",
2526
"nl": "Je bent gearriveerd. De bestemming bevindt zich links.",

test/fixtures/v5/arrive/no_modifier.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"hu": "Megérkezett a célponthoz",
2020
"id": "Anda telah tiba di tujuan ke-",
2121
"it": "Sei arrivato alla tua destinazione",
22+
"ja": "目の目的地に到着しました",
2223
"ko": " 목적지에 도착하였습니다.",
2324
"my": "သင္ သြားလိုေသာ ခရီးပန္းတိုင္သို႕ေရာက္ရွိျပီ",
2425
"nl": "Je bent gearriveerd op de bestemming.",

test/fixtures/v5/arrive/right.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"hu": "Megérkezett a célponthoz, a jobb oldalon",
2121
"id": "Anda telah tiba di tujuan ke-, di sebelah kanan",
2222
"it": "Sei arrivato alla tua destinazione, sulla destra",
23+
"ja": "目の目的地に到着しました。目的地は右側です",
2324
"ko": "우측에 목적지가 있습니다.",
2425
"my": "သင္ သြားလိုေသာ ခရီးပန္းတိုင္သို႕ ညာဘက္ေကြ႕ကာ ေရာက္ရွိျပီ",
2526
"nl": "Je bent gearriveerd. De bestemming bevindt zich rechts.",

test/fixtures/v5/arrive/sharp_left.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"hu": "Megérkezett a célponthoz, a bal oldalon",
2121
"id": "Anda telah tiba di tujuan ke-, di sebelah kiri",
2222
"it": "Sei arrivato alla tua destinazione, sulla sinistra",
23+
"ja": "目の目的地に到着しました。目的地は左側です",
2324
"ko": "좌측에 목적지가 있습니다.",
2425
"my": "သင္ သြားလိုေသာ ခရီးပန္းတိုင္သို႕ဘယ္ဘက္တြင္ေရာက္ရွိျပီ",
2526
"nl": "Je bent gearriveerd. De bestemming bevindt zich links.",

test/fixtures/v5/arrive/sharp_right.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"hu": "Megérkezett a célponthoz, a jobb oldalon",
2121
"id": "Anda telah tiba di tujuan ke-, di sebelah kanan",
2222
"it": "Sei arrivato alla tua destinazione, sulla destra",
23+
"ja": "目の目的地に到着しました。目的地は右側です",
2324
"ko": "우측에 목적지가 있습니다.",
2425
"my": "သင္ သြားလိုေသာ ခရီးပန္းတိုင္သို႕ ညာဘက္ေကြ႕ကာ ေရာက္ရွိျပီ",
2526
"nl": "Je bent gearriveerd. De bestemming bevindt zich rechts.",

test/fixtures/v5/arrive/slight_left.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"hu": "Megérkezett a célponthoz, a bal oldalon",
2121
"id": "Anda telah tiba di tujuan ke-, di sebelah kiri",
2222
"it": "Sei arrivato alla tua destinazione, sulla sinistra",
23+
"ja": "目の目的地に到着しました。目的地は左側です",
2324
"ko": "좌측에 목적지가 있습니다.",
2425
"my": "သင္ သြားလိုေသာ ခရီးပန္းတိုင္သို႕ဘယ္ဘက္တြင္ေရာက္ရွိျပီ",
2526
"nl": "Je bent gearriveerd. De bestemming bevindt zich links.",

0 commit comments

Comments
 (0)