Skip to content

Commit

Permalink
Merge pull request #55 from sharetribe/fixes-to-en.json
Browse files Browse the repository at this point in the history
Fixes to en.json (and to panel titles in EditListingWizard)
  • Loading branch information
Gnito authored Nov 21, 2019
2 parents 5109ab7 + 92c5799 commit a4589d4
Show file tree
Hide file tree
Showing 8 changed files with 78 additions and 35 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ https://github.com/sharetribe/flex-template-web/

## Upcoming version 2019-XX-XX

- [change] Copy-text changes (most of them to EditListingWizard panels and all the "classes" are
changed to "sessions") [#55](https://github.com/sharetribe/ftw-time/pull/55)
- [fix] Reseting bookingStartDate picker didn't reset the current month.
[#54](https://github.com/sharetribe/ftw-time/pull/54)
- [change] Yogatime UI tweaks.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,13 @@ const EditListingAvailabilityPanel = props => {
{isPublished ? (
<FormattedMessage
id="EditListingAvailabilityPanel.title"
values={{ listingTitle: <ListingLink listing={listing} /> }}
values={{
listingTitle: (
<ListingLink listing={listing}>
<FormattedMessage id="EditListingAvailabilityPanel.listingTitle" />
</ListingLink>
),
}}
/>
) : (
<FormattedMessage id="EditListingAvailabilityPanel.createListingTitle" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ const EditListingDescriptionPanel = props => {
const panelTitle = isPublished ? (
<FormattedMessage
id="EditListingDescriptionPanel.title"
values={{ listingTitle: <ListingLink listing={listing} /> }}
values={{
listingTitle: (
<ListingLink listing={listing}>
<FormattedMessage id="EditListingDescriptionPanel.listingTitle" />
</ListingLink>
),
}}
/>
) : (
<FormattedMessage id="EditListingDescriptionPanel.createListingTitle" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ const EditListingFeaturesPanel = props => {
const panelTitle = isPublished ? (
<FormattedMessage
id="EditListingFeaturesPanel.title"
values={{ listingTitle: <ListingLink listing={listing} /> }}
values={{
listingTitle: (
<ListingLink listing={listing}>
<FormattedMessage id="EditListingFeaturesPanel.listingTitle" />
</ListingLink>
),
}}
/>
) : (
<FormattedMessage id="EditListingFeaturesPanel.createListingTitle" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,13 @@ class EditListingLocationPanel extends Component {
const panelTitle = isPublished ? (
<FormattedMessage
id="EditListingLocationPanel.title"
values={{ listingTitle: <ListingLink listing={listing} /> }}
values={{
listingTitle: (
<ListingLink listing={listing}>
<FormattedMessage id="EditListingLocationPanel.listingTitle" />
</ListingLink>
),
}}
/>
) : (
<FormattedMessage id="EditListingLocationPanel.createListingTitle" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,13 @@ class EditListingPhotosPanel extends Component {
const panelTitle = isPublished ? (
<FormattedMessage
id="EditListingPhotosPanel.title"
values={{ listingTitle: <ListingLink listing={listing} /> }}
values={{
listingTitle: (
<ListingLink listing={listing}>
<FormattedMessage id="EditListingPhotosPanel.listingTitle" />
</ListingLink>
),
}}
/>
) : (
<FormattedMessage id="EditListingPhotosPanel.createListingTitle" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ const EditListingPricingPanel = props => {
const panelTitle = isPublished ? (
<FormattedMessage
id="EditListingPricingPanel.title"
values={{ listingTitle: <ListingLink listing={listing} /> }}
values={{
listingTitle: (
<ListingLink listing={listing}>
<FormattedMessage id="EditListingPricingPanel.listingTitle" />
</ListingLink>
),
}}
/>
) : (
<FormattedMessage id="EditListingPricingPanel.createListingTitle" />
Expand Down
63 changes: 34 additions & 29 deletions src/translations/en.json

Large diffs are not rendered by default.

0 comments on commit a4589d4

Please sign in to comment.