From 17226190a17599c23ba09fd498baf46deb6fc1d4 Mon Sep 17 00:00:00 2001 From: Freenerd Date: Mon, 14 Nov 2016 16:23:23 +0100 Subject: [PATCH] Standardize on capitalizeFirstLetter meta key --- CHANGELOG.md | 1 + index.js | 2 +- instructions/de.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc67e3e70..4c4069fd6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/index.js b/index.js index 5bc6d48bc..3508b59fc 100644 --- a/index.js +++ b/index.js @@ -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); } diff --git a/instructions/de.json b/instructions/de.json index 013ae8fb2..e8af56eb5 100644 --- a/instructions/de.json +++ b/instructions/de.json @@ -1,6 +1,6 @@ { "meta": { - "capitalize_first_letter": true + "capitalizeFirstLetter": true }, "v5": { "constants": {