Small updates to en.json

This commit is contained in:
Jenni Nurmi 2019-07-22 11:05:12 +03:00
parent 61449c4d66
commit cfdfa2ead1
2 changed files with 11 additions and 3 deletions

View file

@ -43,7 +43,14 @@ export const EditListingLocationFormComponent = props => (
id: 'EditListingLocationForm.addressNotRecognized', id: 'EditListingLocationForm.addressNotRecognized',
}); });
const buildingMessage = intl.formatMessage({ id: 'EditListingLocationForm.building' }); const optionalText = intl.formatMessage({
id: 'EditListingLocationForm.optionalText',
});
const buildingMessage = intl.formatMessage(
{ id: 'EditListingLocationForm.building' },
{ optionalText: optionalText }
);
const buildingPlaceholderMessage = intl.formatMessage({ const buildingPlaceholderMessage = intl.formatMessage({
id: 'EditListingLocationForm.buildingPlaceholder', id: 'EditListingLocationForm.buildingPlaceholder',
}); });

View file

@ -79,7 +79,7 @@
"BookingPanel.perUnit": "per unit", "BookingPanel.perUnit": "per unit",
"BookingPanel.subTitleClosedListing": "Sorry, this listing has been closed.", "BookingPanel.subTitleClosedListing": "Sorry, this listing has been closed.",
"CheckoutPage.bookingTimeNotAvailableMessage": "Unfortunately, the requested time is already booked.", "CheckoutPage.bookingTimeNotAvailableMessage": "Unfortunately, the requested time is already booked.",
"CheckoutPage.chargeDisabledMessage": "This provider's payout information is incomplete so this listing cannot be booked. Please contact the administrator.", "CheckoutPage.chargeDisabledMessage": "This provider's payout information is incomplete so this listing cannot be booked. Please contact the marketplace administrators.",
"CheckoutPage.errorlistingLinkText": "the sauna page", "CheckoutPage.errorlistingLinkText": "the sauna page",
"CheckoutPage.goToLandingPage": "Go to homepage", "CheckoutPage.goToLandingPage": "Go to homepage",
"CheckoutPage.hostedBy": "Hosted by {name}", "CheckoutPage.hostedBy": "Hosted by {name}",
@ -165,8 +165,9 @@
"EditListingLocationForm.addressNotRecognized": "We didn't recognize this location. Please try another location.", "EditListingLocationForm.addressNotRecognized": "We didn't recognize this location. Please try another location.",
"EditListingLocationForm.addressPlaceholder": "123 Example Street", "EditListingLocationForm.addressPlaceholder": "123 Example Street",
"EditListingLocationForm.addressRequired": "You need to provide a location", "EditListingLocationForm.addressRequired": "You need to provide a location",
"EditListingLocationForm.building": "Apt, suite, building # (optional)", "EditListingLocationForm.building": "Apt, suite, building # {optionalText}",
"EditListingLocationForm.buildingPlaceholder": "A 42", "EditListingLocationForm.buildingPlaceholder": "A 42",
"EditListingLocationForm.optionalText": "• optional",
"EditListingLocationForm.showListingFailed": "Fetching listing data failed", "EditListingLocationForm.showListingFailed": "Fetching listing data failed",
"EditListingLocationForm.updateFailed": "Failed to update listing. Please try again.", "EditListingLocationForm.updateFailed": "Failed to update listing. Please try again.",
"EditListingLocationPanel.createListingTitle": "Where's your sauna?", "EditListingLocationPanel.createListingTitle": "Where's your sauna?",