Skip to content

Commit 596564a

Browse files
authored
Use numeric ordinals (#68)
1 parent 745824e commit 596564a

20 files changed

+29
-28
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file. For change
66
- put future changes here
77
- Run tests per language via LANGUAGE=de npm test
88
- Shorter merge instructions (Merge slightly left -> Merge left)
9+
- Numeric ordinals (1st, 2nd) instead of word ordinals (first, second)
910

1011
# 0.0.5 2016-10-26
1112

instructions/en.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
"v5": {
66
"constants": {
77
"ordinalize": {
8-
"1": "first",
9-
"2": "second",
10-
"3": "third",
11-
"4": "fourth",
12-
"5": "fifth",
13-
"6": "sixth",
14-
"7": "seventh",
15-
"8": "eighth",
16-
"9": "ninth",
17-
"10": "tenth"
8+
"1": "1st",
9+
"2": "2nd",
10+
"3": "3rd",
11+
"4": "4th",
12+
"5": "5th",
13+
"6": "6th",
14+
"7": "7th",
15+
"8": "8th",
16+
"9": "9th",
17+
"10": "10th"
1818
},
1919
"direction": {
2020
"north": "north",

test/fixtures/v5/rotary/exit_10.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
},
88
"name": ""
99
},
10-
"instruction": "Enter the rotary and take the tenth exit"
10+
"instruction": "Enter the rotary and take the 10th exit"
1111
}

test/fixtures/v5/rotary/exit_1_default.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
},
88
"name": ""
99
},
10-
"instruction": "Enter the rotary and take the first exit"
10+
"instruction": "Enter the rotary and take the 1st exit"
1111
}

test/fixtures/v5/rotary/exit_1_destination.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
"name": "Way Name",
99
"destinations": "Destination 1,Destination 2"
1010
},
11-
"instruction": "Enter the rotary and take the first exit towards Destination 1"
11+
"instruction": "Enter the rotary and take the 1st exit towards Destination 1"
1212
}

test/fixtures/v5/rotary/exit_1_name.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
},
88
"name": "Way Name"
99
},
10-
"instruction": "Enter the rotary and take the first exit onto Way Name"
10+
"instruction": "Enter the rotary and take the 1st exit onto Way Name"
1111
}

test/fixtures/v5/rotary/exit_2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
},
88
"name": ""
99
},
10-
"instruction": "Enter the rotary and take the second exit"
10+
"instruction": "Enter the rotary and take the 2nd exit"
1111
}

test/fixtures/v5/rotary/exit_3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
},
88
"name": ""
99
},
10-
"instruction": "Enter the rotary and take the third exit"
10+
"instruction": "Enter the rotary and take the 3rd exit"
1111
}

test/fixtures/v5/rotary/exit_4.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
},
88
"name": ""
99
},
10-
"instruction": "Enter the rotary and take the fourth exit"
10+
"instruction": "Enter the rotary and take the 4th exit"
1111
}

test/fixtures/v5/rotary/exit_5.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
},
88
"name": ""
99
},
10-
"instruction": "Enter the rotary and take the fifth exit"
10+
"instruction": "Enter the rotary and take the 5th exit"
1111
}

0 commit comments

Comments
 (0)