Skip to content

Commit d91209a

Browse files
author
allierowan
committed
tests
1 parent 42b24cb commit d91209a

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

languages/translations/de.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"upcoming": "You will arrive at your {nth} destination, on the left"
8787
},
8888
"straight": {
89-
"default": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich geradeaus"
89+
"default": "Sie haben Ihr {nth} Ziel erreicht, es befindet sich geradeaus",
9090
"upcoming": "You will arrive at your {nth} destination, straight ahead"
9191
}
9292
},

languages/translations/pl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"upcoming": "You will arrive at your {nth} destination, on the left"
8787
},
8888
"straight": {
89-
"default": "Dojechano do miejsca docelowego {nth}, prosto",
89+
"default": "Dojechano do miejsca docelowego {nth} , prosto",
9090
"upcoming": "You will arrive at your {nth} destination, straight ahead"
9191
}
9292
},

test/languages_test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ tape.test('verify language files structure', function(assert) {
4747
l + ' has correct depart exit rotary keys'
4848
);
4949

50+
assert.deepEqual(
51+
Object.keys(translation.v5.arrive.default),
52+
Object.keys(english.v5.arrive.default),
53+
l + ' has correct default upcoming arrive keys'
54+
);
55+
5056
// exclude zh-Hans until full translation is available
5157
if (l !== 'zh-Hans') {
5258
assert.deepEqual(

0 commit comments

Comments
 (0)