From 09455123e11ec9c18a5989d60a70ebdfbf4ec00f Mon Sep 17 00:00:00 2001 From: Jenni Nurmi Date: Fri, 7 Dec 2018 14:36:37 +0200 Subject: [PATCH] Update changelog and comment in config --- CHANGELOG.md | 4 ++++ src/config.js | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 15ae2ad2..f5e97ad6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ way to update this template, but currently, we follow a pattern: ## Upcoming version 2018-XX-XX +- [change] Remove generic perUnit translations and replace them with specific night, day and unit + translations depending on booking unit chosen in config. + [#970](https://github.com/sharetribe/flex-template-web/pull/970) + - [fix] Formatting docs with newest Prettier - related commit was lost in #967 at some point. [#975](https://github.com/sharetribe/flex-template-web/pull/975) - [change] Improved documents related to onboarding: env.md, deploying-to-production.md, diff --git a/src/config.js b/src/config.js index 32fd24ed..725b72da 100644 --- a/src/config.js +++ b/src/config.js @@ -32,9 +32,8 @@ const bookingProcessAlias = 'preauth-with-nightly-booking/release-1'; // // Possible values: ['line-item/night', 'line-item/day', 'line-item/units';] // -// Note: if you change this, many of the generic translations will -// still show information about nights. Make sure to go through the -// translations when the unit is changed. +// Note: translations will use different translation keys for night, day or unit +// depending on the value chosen. const bookingUnitType = 'line-item/night'; // Should the application fetch available time slots (currently defined as