mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-30 18:16:48 +10:00
Merge pull request #351 from sharetribe/translate-wizard-tab-labels
Translate listing wizard tab labels
This commit is contained in:
commit
15dad39e53
2 changed files with 12 additions and 8 deletions
|
|
@ -124,7 +124,7 @@ const EditListingWizard = props => {
|
|||
<Tabs rootClassName={classes} navRootClassName={css.nav} tabRootClassName={css.tab}>
|
||||
<EditListingDescriptionPanel
|
||||
className={css.panel}
|
||||
tabLabel="Description"
|
||||
tabLabel={intl.formatMessage({ id: 'EditListingWizard.tabLabelDescription' })}
|
||||
tabLinkProps={tabLink(DESCRIPTION)}
|
||||
selected={selectedTab === DESCRIPTION}
|
||||
panelUpdated={updatedTab === DESCRIPTION}
|
||||
|
|
@ -149,7 +149,7 @@ const EditListingWizard = props => {
|
|||
/>
|
||||
<EditListingLocationPanel
|
||||
className={css.panel}
|
||||
tabLabel="Location"
|
||||
tabLabel={intl.formatMessage({ id: 'EditListingWizard.tabLabelLocation' })}
|
||||
tabLinkProps={tabLink(LOCATION)}
|
||||
selected={selectedTab === LOCATION}
|
||||
panelUpdated={updatedTab === LOCATION}
|
||||
|
|
@ -182,7 +182,7 @@ const EditListingWizard = props => {
|
|||
/>
|
||||
<EditListingPricingPanel
|
||||
className={css.panel}
|
||||
tabLabel="Pricing"
|
||||
tabLabel={intl.formatMessage({ id: 'EditListingWizard.tabLabelPricing' })}
|
||||
tabLinkProps={tabLink(PRICING)}
|
||||
selected={selectedTab === PRICING}
|
||||
panelUpdated={updatedTab === PRICING}
|
||||
|
|
@ -207,7 +207,7 @@ const EditListingWizard = props => {
|
|||
/>
|
||||
<EditListingPhotosPanel
|
||||
className={css.panel}
|
||||
tabLabel="Photos"
|
||||
tabLabel={intl.formatMessage({ id: 'EditListingWizard.tabLabelPhotos' })}
|
||||
tabLinkProps={tabLink(PHOTOS)}
|
||||
selected={selectedTab === PHOTOS}
|
||||
disabled={!stepsStatus[PHOTOS]}
|
||||
|
|
|
|||
|
|
@ -52,8 +52,8 @@
|
|||
"EditListingDescriptionForm.titleRequired": "You need to add a name.",
|
||||
"EditListingDescriptionForm.updateFailed": "Failed to update listing. Please try again.",
|
||||
"EditListingDescriptionForm.updated": "Updated!",
|
||||
"EditListingDescriptionPanel.title": "Edit details of {listingTitle}",
|
||||
"EditListingDescriptionPanel.createListingTitle": "Add your sauna",
|
||||
"EditListingDescriptionPanel.title": "Edit details of {listingTitle}",
|
||||
"EditListingLocationForm.address": "Address",
|
||||
"EditListingLocationForm.addressNotRecognized": "We didn't recognize this location. Please try another location.",
|
||||
"EditListingLocationForm.addressPlaceholder": "Start typing…",
|
||||
|
|
@ -62,8 +62,8 @@
|
|||
"EditListingLocationForm.buildingPlaceholder": "E.g. A 42",
|
||||
"EditListingLocationForm.updateFailed": "Failed to update listing. Please try again.",
|
||||
"EditListingLocationForm.updated": "Updated!",
|
||||
"EditListingLocationPanel.title": "Edit location of {listingTitle}",
|
||||
"EditListingLocationPanel.createListingTitle": "Where's your sauna?",
|
||||
"EditListingLocationPanel.title": "Edit location of {listingTitle}",
|
||||
"EditListingPage.titleCreateListing": "Create a listing",
|
||||
"EditListingPage.titleEditListing": "Edit listing",
|
||||
"EditListingPhotosForm.addImagesTip": "Tip: Choose 2-3 best photos of your sauna from different angles in a good light that really show the space.",
|
||||
|
|
@ -77,18 +77,18 @@
|
|||
"EditListingPhotosForm.showListingFailed": "Fetching listing data failed",
|
||||
"EditListingPhotosForm.updateFailed": "Failed to update listing. Please try again.",
|
||||
"EditListingPhotosForm.updated": "Updated!",
|
||||
"EditListingPhotosPanel.createListingTitle": "Add a few photos",
|
||||
"EditListingPhotosPanel.payoutModalInfo": "Since this was the first listing you created, we need to know bit more information about you in order to send you money. We only ask these once.",
|
||||
"EditListingPhotosPanel.payoutModalTitleOneMoreThing": "One more thing:",
|
||||
"EditListingPhotosPanel.payoutModalTitlePayoutPreferences": "Payout preferences",
|
||||
"EditListingPhotosPanel.title": "Edit photos of {listingTitle}",
|
||||
"EditListingPhotosPanel.createListingTitle": "Add a few photos",
|
||||
"EditListingPricingForm.priceInputPlaceholder": "Choose your price…",
|
||||
"EditListingPricingForm.pricePerNight": "Price per night in euros",
|
||||
"EditListingPricingForm.priceRequired": "You need to add a valid price.",
|
||||
"EditListingPricingForm.updateFailed": "Failed to update listing. Please try again.",
|
||||
"EditListingPricingForm.updated": "Updated!",
|
||||
"EditListingPricingPanel.title": "Edit pricing of {listingTitle}",
|
||||
"EditListingPricingPanel.createListingTitle": "How much does it cost?",
|
||||
"EditListingPricingPanel.title": "Edit pricing of {listingTitle}",
|
||||
"EditListingWizard.saveEditDescription": "Save description",
|
||||
"EditListingWizard.saveEditLocation": "Save location",
|
||||
"EditListingWizard.saveEditPhotos": "Save photos",
|
||||
|
|
@ -97,6 +97,10 @@
|
|||
"EditListingWizard.saveNewLocation": "Next: Pricing",
|
||||
"EditListingWizard.saveNewPhotos": "Publish listing",
|
||||
"EditListingWizard.saveNewPricing": "Next: Photos",
|
||||
"EditListingWizard.tabLabelDescription": "Description",
|
||||
"EditListingWizard.tabLabelLocation": "Location",
|
||||
"EditListingWizard.tabLabelPhotos": "Photos",
|
||||
"EditListingWizard.tabLabelPricing": "Pricing",
|
||||
"EmailVerificationForm.emailVerified": "Your email address is verified",
|
||||
"EmailVerificationForm.finishAccountSetup": "To finish setting up your Saunatime account, we sent an email to {email} to make sure this email is yours, so we can reach your later.",
|
||||
"EmailVerificationForm.finishAccountSetup": "To finish setting up your Saunatime account, we sent an email to {email} to make sure this email is yours.",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue