mirror of
https://github.com/mue/mue.git
synced 2026-07-20 23:44:07 +02:00
fix: carousel and quicklink translations
This commit is contained in:
@@ -66,7 +66,6 @@ export default function EmblaCarousel({ data }) {
|
||||
className="carousel_button prev"
|
||||
onClick={() => scroll('prev')}
|
||||
disabled={!prevBtnEnabled}
|
||||
title="Previous"
|
||||
>
|
||||
<MdOutlineArrowBackIos />
|
||||
</button>
|
||||
@@ -74,7 +73,6 @@ export default function EmblaCarousel({ data }) {
|
||||
className="carousel_button next"
|
||||
onClick={() => scroll('next')}
|
||||
disabled={!nextBtnEnabled}
|
||||
title="Next"
|
||||
>
|
||||
<MdOutlineArrowForwardIos />
|
||||
</button>
|
||||
|
||||
@@ -253,7 +253,7 @@ export default class Item extends PureComponent {
|
||||
<MdIosShare />
|
||||
</button>
|
||||
</Tooltip>
|
||||
<Tooltip title="Report" key="report">
|
||||
<Tooltip title={variables.getMessage('modals.main.marketplace.product.buttons.report')} key="report">
|
||||
<button
|
||||
onClick={() =>
|
||||
window.open(
|
||||
|
||||
@@ -490,7 +490,7 @@ export default class Create extends PureComponent {
|
||||
<div className="flexTopMarketplace">
|
||||
{this.state.currentTab !== 1 && (
|
||||
<div className="returnButton">
|
||||
<Tooltip title="Go back" key="backArrow">
|
||||
<Tooltip title={variables.getMessage('modals.main.navbar.marketplace.product.buttons.back')} key="backArrow">
|
||||
<MdArrowBack
|
||||
className="backArrow"
|
||||
onClick={() => this.changeTab(this.state.currentTab - 1)}
|
||||
|
||||
@@ -172,7 +172,7 @@ export default class QuickLinks extends PureComponent {
|
||||
<div>
|
||||
<div className="messageAction">
|
||||
<button className="deleteButton" onClick={() => this.startEditLink(item)}>
|
||||
Edit
|
||||
{variables.getMessage('modals.main.settings.sections.quicklinks.edit')}
|
||||
<MdEdit />
|
||||
</button>
|
||||
<button className="deleteButton" onClick={(e) => this.deleteLink(item.key, e)}>
|
||||
@@ -219,15 +219,15 @@ export default class QuickLinks extends PureComponent {
|
||||
</SettingsItem>
|
||||
<SettingsItem title="Quick Links Styling" description="Customise Quick Links Appearance.">
|
||||
<Dropdown label="Style" name="quickLinksStyle" category="other">
|
||||
<option value="icon">Icon</option>
|
||||
<option value="text">Text Only</option>
|
||||
<option value="metro">Metro</option>
|
||||
<option value="icon">{variables.getMessage('modals.main.settings.sections.quicklinks.options.icon')}</option>
|
||||
<option value="text">{variables.getMessage('modals.main.settings.sections.quicklinks.options.text_only')}</option>
|
||||
<option value="metro">{variables.getMessage('modals.main.settings.sections.quicklinks.options.metro')}</option>
|
||||
</Dropdown>
|
||||
</SettingsItem>
|
||||
|
||||
<SettingsItem title="Quick Links" subtitle="" final={true}>
|
||||
<button onClick={() => this.setState({ showAddModal: true })}>
|
||||
Add Link <MdAddLink />
|
||||
{variables.getMessage('modals.main.settings.sections.quicklinks.add_link')} <MdAddLink />
|
||||
</button>
|
||||
</SettingsItem>
|
||||
|
||||
@@ -235,12 +235,12 @@ export default class QuickLinks extends PureComponent {
|
||||
<div className="photosEmpty">
|
||||
<div className="emptyNewMessage">
|
||||
<MdLinkOff />
|
||||
<span className="title">No quicklinks</span>
|
||||
<span className="title">{variables.getMessage('modals.main.settings.sections.quicklinks.no_quicklinks')}</span>
|
||||
<span className="subtitle">
|
||||
{variables.getMessage('modals.main.settings.sections.message.add_some')}
|
||||
</span>
|
||||
<button onClick={() => this.setState({ showAddModal: true })}>
|
||||
Add Link
|
||||
{variables.getMessage('modals.main.settings.sections.quicklinks.add_link')}
|
||||
<MdAddLink />
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user