mirror of
https://github.com/mue/mue.git
synced 2026-06-11 02:59:06 +02:00
fix: missing translations, create tab back button
This commit is contained in:
@@ -494,12 +494,12 @@ export default class Create extends PureComponent {
|
||||
{this.state.currentTab !== 1 && (
|
||||
<div className="returnButton">
|
||||
<Tooltip
|
||||
title={variables.getMessage('modals.main.navbar.marketplace.product.buttons.back')}
|
||||
title={variables.getMessage('modals.main.marketplace.product.buttons.back')}
|
||||
key="backArrow"
|
||||
>
|
||||
<MdArrowBack
|
||||
className="backArrow"
|
||||
onClick={() => this.changeTab(this.state.currentTab - 1)}
|
||||
onClick={() => this.changeTab(1)}
|
||||
/>
|
||||
</Tooltip>
|
||||
</div>
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
import variables from 'modules/variables';
|
||||
import TextField from '@mui/material/TextField';
|
||||
import { PureComponent } from 'react';
|
||||
import { toast } from 'react-toastify';
|
||||
import {
|
||||
MdWifiOff,
|
||||
MdLocalMall,
|
||||
MdOutlineKeyboardArrowRight,
|
||||
MdRefresh,
|
||||
MdSearch,
|
||||
MdOutlineArrowForward,
|
||||
} from 'react-icons/md';
|
||||
@@ -365,8 +363,8 @@ export default class Marketplace extends PureComponent {
|
||||
<div>
|
||||
<form className="marketplaceSearch">
|
||||
<input
|
||||
label="Search"
|
||||
placeholder="Search"
|
||||
label={variables.getMessage('widgets.search')}
|
||||
placeholder={variables.getMessage('widgets.search')}
|
||||
name="filter"
|
||||
id="filter"
|
||||
value={this.state.filter}
|
||||
|
||||
@@ -384,7 +384,7 @@ export default class WelcomeSections extends PureComponent {
|
||||
<div className="toggle" onClick={() => this.props.switchTab(3)}>
|
||||
<span>
|
||||
{variables.getMessage('modals.main.settings.sections.appearance.theme.title')}:{' '}
|
||||
{this.getSetting('theme')}
|
||||
{variables.getMessage('modals.main.settings.sections.appearance.theme.' + localStorage.getItem('theme'))}
|
||||
</span>
|
||||
</div>
|
||||
{this.state.importedSettings.length !== 0 ? (
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// since there is so much code in the component, we have moved it to a separate file
|
||||
import offlineImages from './offlineImages.json';
|
||||
|
||||
export function videoCheck(url) {
|
||||
return (
|
||||
url.startsWith('data:video/') ||
|
||||
|
||||
Reference in New Issue
Block a user