Skip to content

Commit

Permalink
Standardize on capitalizeFirstLetter meta key (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
freenerd authored Nov 14, 2016
2 parents d92e0c5 + 1722619 commit 811727e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file. For change

- put future changes here
- Improve chinese translation
- Standardize on capitalizeFirstLetter meta key

# 0.0.7 2016-11-10

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ module.exports = function(version, language) {
.replace('{nth}', nthWaypoint)
.replace(/ {2}/g, ' '); // remove excess spaces

if (this.instructions.meta.capitalize_first_letter) {
if (this.instructions.meta.capitalizeFirstLetter) {
instruction = this.capitalizeFirstLetter(instruction);
}

Expand Down
2 changes: 1 addition & 1 deletion instructions/de.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"meta": {
"capitalize_first_letter": true
"capitalizeFirstLetter": true
},
"v5": {
"constants": {
Expand Down

0 comments on commit 811727e

Please sign in to comment.