mirror of
https://github.com/mue/mue.git
synced 2026-07-16 21:44:22 +02:00
fix: offline mode fixes, about tab fix, update modal text
This commit is contained in:
@@ -18,11 +18,11 @@ export default class About extends PureComponent {
|
||||
contributors: [],
|
||||
sponsors: [],
|
||||
other_contributors: [],
|
||||
photographers: this.getMessage('modals.main.loading'),
|
||||
photographers: [],
|
||||
update: this.getMessage('modals.main.settings.sections.about.version.checking_update'),
|
||||
loading: this.getMessage('modals.main.loading'),
|
||||
image:
|
||||
localStorage.getItem('theme') === 'dark'
|
||||
document.body.classList.contains('dark')
|
||||
? 'public/icons/mue_dark.png'
|
||||
: 'public/icons/mue_light.png',
|
||||
};
|
||||
@@ -178,7 +178,7 @@ export default class About extends PureComponent {
|
||||
</span>
|
||||
<div className="aboutContact">
|
||||
<a
|
||||
class="donateButton"
|
||||
className="donateButton"
|
||||
href="https://muetab.com/contact"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
@@ -225,11 +225,11 @@ export default class About extends PureComponent {
|
||||
development
|
||||
</p>
|
||||
<div className="aboutContact">
|
||||
<a class="donateButton" href={variables.constants.DONATE_LINK}>
|
||||
<a className="donateButton" href={variables.constants.DONATE_LINK}>
|
||||
<BiDonateHeart />
|
||||
Donate
|
||||
</a>
|
||||
<Tooltip title={'Github Sponsors'}>
|
||||
<Tooltip title={'GitHub Sponsors'}>
|
||||
<a
|
||||
href={'https://github.com/sponsors/' + variables.constants.SPONSORS_USERNAME}
|
||||
target="_blank"
|
||||
@@ -355,6 +355,7 @@ export default class About extends PureComponent {
|
||||
<span className="title">
|
||||
{this.getMessage('modals.main.settings.sections.about.photographers')}
|
||||
</span>
|
||||
<p>{this.state.loading}</p>
|
||||
<span className="subtitle">{this.state.photographers}</span>
|
||||
</div>
|
||||
</>
|
||||
|
||||
@@ -70,7 +70,7 @@ export default class AdvancedSettings extends PureComponent {
|
||||
) : null}
|
||||
<SettingsItem
|
||||
title={getMessage('modals.main.settings.sections.advanced.timezone.title')}
|
||||
subtitle="Choose a timezone from a list of hundreds instead of the automatic default."
|
||||
subtitle="Choose a timezone from a list instead of the automatic default from your computer."
|
||||
>
|
||||
<Dropdown name="timezone" category="timezone" manual={true}>
|
||||
<MenuItem value="auto">
|
||||
|
||||
@@ -22,7 +22,7 @@ export default function AppearanceSettings() {
|
||||
<span className="title">
|
||||
{getMessage('modals.main.settings.sections.appearance.theme.title')}
|
||||
</span>
|
||||
<span className="subtitle">subtitle</span>
|
||||
<span className="subtitle">Change the theme of the Mue widgets and modals</span>
|
||||
</div>
|
||||
<div className="action">
|
||||
<Radio
|
||||
@@ -50,7 +50,7 @@ export default function AppearanceSettings() {
|
||||
<span className="title">
|
||||
{getMessage('modals.main.settings.sections.appearance.font.title')}
|
||||
</span>
|
||||
<span className="subtitle">subtitle</span>
|
||||
<span className="subtitle">Change the font used in Mue</span>
|
||||
</div>
|
||||
<div className="action">
|
||||
<Checkbox
|
||||
|
||||
@@ -17,8 +17,6 @@ export default class DateSettings extends PureComponent {
|
||||
render() {
|
||||
const getMessage = (text) => variables.language.getMessage(variables.languagecode, text);
|
||||
|
||||
let dateSettings;
|
||||
|
||||
const longSettings = (
|
||||
<>
|
||||
<Dropdown label="Long Format" name="longFormat" category="date">
|
||||
@@ -72,12 +70,6 @@ export default class DateSettings extends PureComponent {
|
||||
</>
|
||||
);
|
||||
|
||||
if (this.state.dateType === 'long') {
|
||||
dateSettings = longSettings;
|
||||
} else {
|
||||
dateSettings = shortSettings;
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<Header
|
||||
@@ -113,7 +105,7 @@ export default class DateSettings extends PureComponent {
|
||||
text={getMessage('modals.main.settings.sections.time.digital.zero')}
|
||||
category="date"
|
||||
/>
|
||||
{dateSettings}
|
||||
{(this.state.dateType === 'long') ? longSettings : shortSettings}
|
||||
</SettingsItem>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user