mirror of
https://github.com/mue/mue.git
synced 2026-07-22 16:27:32 +02:00
fix: various fixes
This commit is contained in:
@@ -63,17 +63,6 @@ class Header extends PureComponent {
|
||||
)}
|
||||
<span className="mainTitle">{this.props.title}</span>
|
||||
<div className="headerActions">
|
||||
<button
|
||||
className="sideload"
|
||||
onClick={() =>
|
||||
window.open(
|
||||
variables.constants.BUG_REPORT + this.props.title.split(' ').join('+'),
|
||||
'_blank',
|
||||
)
|
||||
}
|
||||
>
|
||||
{variables.getMessage('modals.main.settings.sections.header.report_issue')} <MdFlag />
|
||||
</button>
|
||||
{this.props.switch && (
|
||||
<button className="sideload" onClick={() => this.changeSetting()}>
|
||||
{this.state[this.props.setting] ? (
|
||||
@@ -89,6 +78,17 @@ class Header extends PureComponent {
|
||||
)}
|
||||
</button>
|
||||
)}
|
||||
<button
|
||||
className="sideload"
|
||||
onClick={() =>
|
||||
window.open(
|
||||
variables.constants.BUG_REPORT + this.props.title.split(' ').join('+'),
|
||||
'_blank',
|
||||
)
|
||||
}
|
||||
>
|
||||
{variables.getMessage('modals.main.settings.sections.header.report_issue')} <MdFlag />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
{this.props.zoomSetting && (
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import variables from 'modules/variables';
|
||||
import { PureComponent } from 'react';
|
||||
|
||||
import { MdOutlineOpenInNew } from 'react-icons/md';
|
||||
|
||||
import Radio from '../Radio';
|
||||
|
||||
import languages from 'modules/languages.json';
|
||||
@@ -67,9 +69,26 @@ export default class LanguageSettings extends PureComponent {
|
||||
render() {
|
||||
return (
|
||||
<>
|
||||
<span className="mainTitle">
|
||||
{variables.getMessage('modals.main.settings.sections.language.title')}
|
||||
</span>
|
||||
<div className="flexTopMarketplace topAddons">
|
||||
<span className="mainTitle">
|
||||
{variables.getMessage('modals.main.settings.sections.language.title')}
|
||||
</span>
|
||||
<div className="headerActions">
|
||||
{/*<a className="link" href="" target="_blank" rel="noopener noreferrer">
|
||||
Improve
|
||||
<MdOutlineOpenInNew />
|
||||
</a>*/}
|
||||
<a
|
||||
className="link"
|
||||
href="https://hosted.weblate.org/new-lang/mue/mue-tab/"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Add translation
|
||||
<MdOutlineOpenInNew />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div className="languageSettings">
|
||||
<Radio name="language" options={languages} element=".other" />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user