From 5ddd26d4929c3e614813291e380b59aaad595155 Mon Sep 17 00:00:00 2001 From: David Ralph Date: Sun, 21 Aug 2022 12:41:05 +0100 Subject: [PATCH] fix: minor fixes and cleanup --- package.json | 20 ++-- .../helpers/sharemodal/ShareModal.jsx | 4 +- .../modals/main/marketplace/Items.jsx | 15 ++- .../main/marketplace/sections/Create.jsx | 5 +- .../main/marketplace/sections/Marketplace.jsx | 1 - .../main/scss/modules/_tab-content.scss | 2 +- .../main/settings/sections/Experimental.jsx | 21 ++-- .../modals/main/settings/sections/Message.jsx | 2 +- .../modals/main/settings/sections/Order.jsx | 105 ------------------ .../modals/main/settings/sections/Stats.jsx | 10 +- .../modals/main/settings/sections/Time.jsx | 55 ++++----- .../settings/sections/advanced/Advanced.jsx | 6 +- .../settings/sections/background/Custom.jsx | 49 -------- .../sections/overview_skeletons/Clock.jsx | 6 +- .../sections/overview_skeletons/Greeting.jsx | 6 +- .../overview_skeletons/QuickLinks.jsx | 19 +++- .../sections/overview_skeletons/Quote.jsx | 16 +-- .../modals/welcome/WelcomeSections.jsx | 15 ++- src/components/modals/welcome/welcome.scss | 2 +- src/components/widgets/message/Message.jsx | 2 +- src/components/widgets/navbar/Notes.jsx | 6 +- src/components/widgets/navbar/Todo.jsx | 2 +- .../widgets/quicklinks/QuickLinks.jsx | 2 +- src/components/widgets/quote/Quote.jsx | 6 +- src/components/widgets/time/Clock.jsx | 8 +- src/components/widgets/time/clock.scss | 3 +- src/components/widgets/weather/Weather.jsx | 2 +- .../achievement_translations/de_DE.json | 14 +-- .../achievement_translations/en_GB.json | 14 +-- .../achievement_translations/en_US.json | 14 +-- .../settings/achievement_translations/es.json | 14 +-- .../settings/achievement_translations/fr.json | 14 +-- .../achievement_translations/id_ID.json | 14 +-- .../settings/achievement_translations/nl.json | 14 +-- .../settings/achievement_translations/no.json | 14 +-- .../settings/achievement_translations/ru.json | 14 +-- .../achievement_translations/tr_TR.json | 14 +-- .../achievement_translations/zh_CN.json | 14 +-- 38 files changed, 203 insertions(+), 341 deletions(-) delete mode 100644 src/components/modals/main/settings/sections/Order.jsx diff --git a/package.json b/package.json index 98f74f57..a9527201 100644 --- a/package.json +++ b/package.json @@ -17,10 +17,10 @@ "@floating-ui/react-dom": "^1.0.0", "@fontsource/lexend-deca": "4.4.5", "@fontsource/montserrat": "4.4.5", - "@mui/material": "5.9.3", - "@sentry/react": "^7.8.1", - "embla-carousel-autoplay": "^7.0.0", - "embla-carousel-react": "^7.0.0", + "@mui/material": "5.10.1", + "@sentry/react": "^7.11.1", + "embla-carousel-autoplay": "^7.0.1", + "embla-carousel-react": "^7.0.1", "image-conversion": "^2.1.1", "react": "^18.2.0", "react-clock": "3.1.0", @@ -30,19 +30,19 @@ "react-icons": "^4.4.0", "react-modal": "3.15.1", "react-sortable-hoc": "2.0.0", - "react-toastify": "9.0.7" + "react-toastify": "9.0.8" }, "devDependencies": { "@eartharoid/deep-merge": "^0.0.2", - "@vitejs/plugin-react": "^2.0.0", - "eslint": "^8.21.0", + "@vitejs/plugin-react": "^2.0.1", + "eslint": "^8.22.0", "eslint-config-react-app": "^7.0.1", "prettier": "^2.7.1", - "sass": "^1.54.3", - "stylelint": "^14.9.1", + "sass": "^1.54.5", + "stylelint": "^14.10.0", "stylelint-config-prettier-scss": "^0.0.1", "stylelint-config-standard-scss": "^5.0.0", - "vite": "^3.0.4" + "vite": "^3.0.9" }, "scripts": { "dev": "vite", diff --git a/src/components/helpers/sharemodal/ShareModal.jsx b/src/components/helpers/sharemodal/ShareModal.jsx index 4e78bbbd..463ac045 100644 --- a/src/components/helpers/sharemodal/ShareModal.jsx +++ b/src/components/helpers/sharemodal/ShareModal.jsx @@ -22,9 +22,7 @@ export default function ShareModal({ modalClose, data }) { if (!data.data) { data.data.name = 'this image'; } - } catch (e) { - - } + } catch (e) {} return (
diff --git a/src/components/modals/main/marketplace/Items.jsx b/src/components/modals/main/marketplace/Items.jsx index d5185cfc..86aa7008 100644 --- a/src/components/modals/main/marketplace/Items.jsx +++ b/src/components/modals/main/marketplace/Items.jsx @@ -1,6 +1,11 @@ import variables from 'modules/variables'; import React, { useState } from 'react'; -import { MdAutoFixHigh, MdOutlineArrowForward, MdExpandMore, MdOutlineOpenInNew } from 'react-icons/md'; +import { + MdAutoFixHigh, + MdOutlineArrowForward, + MdExpandMore, + MdOutlineOpenInNew, +} from 'react-icons/md'; export default function Items({ type, @@ -30,7 +35,13 @@ export default function Items({ <>
{collection.display_name} diff --git a/src/components/modals/main/marketplace/sections/Create.jsx b/src/components/modals/main/marketplace/sections/Create.jsx index 016e9e00..5c011ae8 100644 --- a/src/components/modals/main/marketplace/sections/Create.jsx +++ b/src/components/modals/main/marketplace/sections/Create.jsx @@ -207,9 +207,8 @@ export default class Create extends PureComponent {
- {getMessage( - 'modals.main.addons.create.types.' + this.state.addonMetadata.type, - ) || 'marketplace'} + {getMessage('modals.main.addons.create.types.' + this.state.addonMetadata.type) || + 'marketplace'} {getMessage( diff --git a/src/components/modals/main/marketplace/sections/Marketplace.jsx b/src/components/modals/main/marketplace/sections/Marketplace.jsx index b5a5167a..132e1a52 100644 --- a/src/components/modals/main/marketplace/sections/Marketplace.jsx +++ b/src/components/modals/main/marketplace/sections/Marketplace.jsx @@ -391,7 +391,6 @@ export default class Marketplace extends PureComponent { {' '} {this.getMessage('modals.main.marketplace.explore_collection')} -
) : null} diff --git a/src/components/modals/main/scss/modules/_tab-content.scss b/src/components/modals/main/scss/modules/_tab-content.scss index a716afad..71409db0 100644 --- a/src/components/modals/main/scss/modules/_tab-content.scss +++ b/src/components/modals/main/scss/modules/_tab-content.scss @@ -142,7 +142,7 @@ table { .messageText { display: flex; flex-flow: column; - flex-grow: 3; + flex-grow: 3; textarea { @include themed() { color: t($color); diff --git a/src/components/modals/main/settings/sections/Experimental.jsx b/src/components/modals/main/settings/sections/Experimental.jsx index 149e654a..79279d36 100644 --- a/src/components/modals/main/settings/sections/Experimental.jsx +++ b/src/components/modals/main/settings/sections/Experimental.jsx @@ -51,13 +51,20 @@ export default function ExperimentalSettings() { InputLabelProps={{ shrink: true }} /> - - - + + + ); diff --git a/src/components/modals/main/settings/sections/Message.jsx b/src/components/modals/main/settings/sections/Message.jsx index b8a689fa..e6ec3186 100644 --- a/src/components/modals/main/settings/sections/Message.jsx +++ b/src/components/modals/main/settings/sections/Message.jsx @@ -3,8 +3,8 @@ import { PureComponent } from 'react'; import { MdCancel, MdAdd, MdOutlineTextsms } from 'react-icons/md'; import { toast } from 'react-toastify'; import { TextareaAutosize } from '@mui/material'; -import SettingsItem from '../SettingsItem'; +import SettingsItem from '../SettingsItem'; import Header from '../Header'; import EventBus from 'modules/helpers/eventbus'; diff --git a/src/components/modals/main/settings/sections/Order.jsx b/src/components/modals/main/settings/sections/Order.jsx deleted file mode 100644 index e2d6c5ea..00000000 --- a/src/components/modals/main/settings/sections/Order.jsx +++ /dev/null @@ -1,105 +0,0 @@ -import variables from 'modules/variables'; -import { PureComponent } from 'react'; -import { MdOutlineDragIndicator } from 'react-icons/md'; -import { sortableContainer, sortableElement } from 'react-sortable-hoc'; -import { toast } from 'react-toastify'; - -import EventBus from 'modules/helpers/eventbus'; - -const getMessage = (text) => variables.language.getMessage(variables.languagecode, text); -const widget_name = { - greeting: getMessage('modals.main.settings.sections.greeting.title'), - time: getMessage('modals.main.settings.sections.time.title'), - quicklinks: getMessage('modals.main.settings.sections.quicklinks.title'), - quote: getMessage('modals.main.settings.sections.quote.title'), - date: getMessage('modals.main.settings.sections.date.title'), - message: getMessage('modals.main.settings.sections.message.title'), - reminder: 'reminder', -}; - -const SortableItem = sortableElement(({ value }) => ( -
  • - {widget_name[value]} - -
  • -)); - -const SortableContainer = sortableContainer(({ children }) => ( -
      {children}
    -)); - -export default class OrderSettings extends PureComponent { - constructor() { - super(); - this.state = { - items: JSON.parse(localStorage.getItem('order')), - }; - } - - arrayMove(array, oldIndex, newIndex) { - const result = Array.from(array); - const [removed] = result.splice(oldIndex, 1); - result.splice(newIndex, 0, removed); - - return result; - } - - onSortEnd = ({ oldIndex, newIndex }) => { - this.setState({ - items: this.arrayMove(this.state.items, oldIndex, newIndex), - }); - }; - - reset = () => { - localStorage.setItem( - 'order', - JSON.stringify(['greeting', 'time', 'quicklinks', 'quote', 'date', 'message', 'reminder']), - ); - - this.setState({ - items: JSON.parse(localStorage.getItem('order')), - }); - - toast(getMessage('toasts.reset')); - }; - - enabled = (setting) => { - switch (setting) { - case 'quicklinks': - return localStorage.getItem('quicklinksenabled') === 'true'; - default: - return localStorage.getItem(setting) === 'true'; - } - }; - - componentDidUpdate() { - localStorage.setItem('order', JSON.stringify(this.state.items)); - variables.stats.postEvent('setting', 'Widget order'); - EventBus.dispatch('refresh', 'widgets'); - } - - render() { - return ( - <> - {getMessage('modals.main.settings.sections.order.title')} - - {getMessage('modals.main.settings.buttons.reset')} - - - {this.state.items.map((value, index) => { - if (!this.enabled(value)) { - return null; - } - - return ; - })} - - - ); - } -} diff --git a/src/components/modals/main/settings/sections/Stats.jsx b/src/components/modals/main/settings/sections/Stats.jsx index b7049e5f..95d8162f 100644 --- a/src/components/modals/main/settings/sections/Stats.jsx +++ b/src/components/modals/main/settings/sections/Stats.jsx @@ -25,7 +25,7 @@ const achievementLanguage = { tr_TR: translations.tr_TR, }; -console.log(achievementLanguage.en_GB) +console.log(achievementLanguage.en_GB); export default class Stats extends PureComponent { constructor() { @@ -117,12 +117,14 @@ export default class Stats extends PureComponent { ); } - const achievementElement = (key, name, description) => ( + const achievementElement = (key, name) => (
    {name} - {achievementLanguage[localStorage.getItem('language')][key]} + + {achievementLanguage[localStorage.getItem('language')][key]} +
    ); @@ -152,7 +154,7 @@ export default class Stats extends PureComponent {
    {this.state.achievements.map((achievement, index) => { if (achievement.achieved) { - return achievementElement(index, achievement.name, achievement.description); + return achievementElement(index, achievement.name); } })}
    diff --git a/src/components/modals/main/settings/sections/Time.jsx b/src/components/modals/main/settings/sections/Time.jsx index acb66725..90bc42cb 100644 --- a/src/components/modals/main/settings/sections/Time.jsx +++ b/src/components/modals/main/settings/sections/Time.jsx @@ -5,13 +5,8 @@ import Header from '../Header'; import Checkbox from '../Checkbox'; import Dropdown from '../Dropdown'; import Radio from '../Radio'; -//import Slider from '../Slider'; -//import Switch from '../Switch'; - import SettingsItem from '../SettingsItem'; -//import { values } from 'modules/helpers/settings/modals'; - export default class TimeSettings extends PureComponent { constructor() { super(); @@ -22,28 +17,12 @@ export default class TimeSettings extends PureComponent { }; } - updateHourColour(event) { - const hourColour = event.target.value; - this.setState({ hourColour }); - localStorage.setItem('hourColour', hourColour); + updateColour(type, event) { + const colour = event.target.value; + this.setState({ [type]: colour }); + localStorage.setItem(type, colour); } - updateMinuteColour(event) { - const minuteColour = event.target.value; - this.setState({ minuteColour }); - localStorage.setItem('minuteColour', minuteColour); - } - - resetHourColour() { - localStorage.setItem('hourColour', '#ffffff') - } - - resetMinuteColour() { - localStorage.setItem('minuteColour', '#ffffff') - } - - - render() { const getMessage = (text) => variables.language.getMessage(variables.languagecode, text); @@ -119,37 +98,45 @@ export default class TimeSettings extends PureComponent { const verticalClock = ( <> - +
    this.updateHourColour(event)} + onChange={(event) => this.updateColour('hour', event)} value={this.state.hourColour} >
    - this.resetHourColour()}> + localStorage.setItem('hourColour', '#ffffff')}> {getMessage('modals.main.settings.buttons.reset')}
    - +
    this.updateMinuteColour(event)} + onChange={(event) => this.updateColour('minute', event)} value={this.state.minuteColour} >
    - this.resetMinuteColour()}> + localStorage.setItem('minuteColour', '#ffffff')}> {getMessage('modals.main.settings.buttons.reset')}
    @@ -194,7 +181,9 @@ export default class TimeSettings extends PureComponent { - +
    {timeSettings} diff --git a/src/components/modals/main/settings/sections/advanced/Advanced.jsx b/src/components/modals/main/settings/sections/advanced/Advanced.jsx index c61ff771..890cc9f2 100644 --- a/src/components/modals/main/settings/sections/advanced/Advanced.jsx +++ b/src/components/modals/main/settings/sections/advanced/Advanced.jsx @@ -19,7 +19,7 @@ import ResetModal from '../../ResetModal'; import Dropdown from '../../Dropdown'; import SettingsItem from '../../SettingsItem'; -import Data from './Data'; +//import Data from './Data'; import time_zones from 'components/widgets/time/timezones.json'; @@ -35,9 +35,9 @@ export default class AdvancedSettings extends PureComponent { render() { const getMessage = (text) => variables.language.getMessage(variables.languagecode, text); - if (this.state.showData) { + /*if (this.state.showData) { return this.setState({ showData: false })} />; - } + }*/ return ( <> diff --git a/src/components/modals/main/settings/sections/background/Custom.jsx b/src/components/modals/main/settings/sections/background/Custom.jsx index 473d547d..46f9f980 100644 --- a/src/components/modals/main/settings/sections/background/Custom.jsx +++ b/src/components/modals/main/settings/sections/background/Custom.jsx @@ -173,55 +173,6 @@ export default class CustomSettings extends PureComponent { return ( <> {this.props.interval} - - {/*
    -
    - {/*
    - {this.state.customBackground.map((url, index) => ( -
    - {'Custom - {this.videoCheck(url) ? : null} - {this.state.customBackground.length > 0 ? ( - - ) : null} -
    - ))} -
    -
    - -
    -
    - - - {this.getMessage('modals.main.settings.sections.background.source.drop_to_upload')} - - - {this.getMessage( - 'modals.main.settings.sections.background.source.available_formats', - { - formats: 'jpeg, png, webp, webm, gif, mp4, webm, ogg', - }, - )} - - -
    - -
    -
    */} -
    diff --git a/src/components/modals/main/settings/sections/overview_skeletons/Clock.jsx b/src/components/modals/main/settings/sections/overview_skeletons/Clock.jsx index df40cfa1..20897075 100644 --- a/src/components/modals/main/settings/sections/overview_skeletons/Clock.jsx +++ b/src/components/modals/main/settings/sections/overview_skeletons/Clock.jsx @@ -1,7 +1,3 @@ export default function ClockSkeleton() { - return ( - - 10:20 - - ); + return 10:20; } diff --git a/src/components/modals/main/settings/sections/overview_skeletons/Greeting.jsx b/src/components/modals/main/settings/sections/overview_skeletons/Greeting.jsx index babf7ce0..8cee1e1e 100644 --- a/src/components/modals/main/settings/sections/overview_skeletons/Greeting.jsx +++ b/src/components/modals/main/settings/sections/overview_skeletons/Greeting.jsx @@ -1,7 +1,3 @@ export default function GreetingSkeleton() { - return ( - - Good Morning - - ); + return Good Morning; } diff --git a/src/components/modals/main/settings/sections/overview_skeletons/QuickLinks.jsx b/src/components/modals/main/settings/sections/overview_skeletons/QuickLinks.jsx index 90877141..04072a53 100644 --- a/src/components/modals/main/settings/sections/overview_skeletons/QuickLinks.jsx +++ b/src/components/modals/main/settings/sections/overview_skeletons/QuickLinks.jsx @@ -1,15 +1,22 @@ import { FaDiscord, FaTwitter } from 'react-icons/fa'; import { SiKofi, SiPatreon } from 'react-icons/si'; - export default function QuicklinksSkeleton() { return (
    -
    -
    -
    -
    -
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    ); diff --git a/src/components/modals/main/settings/sections/overview_skeletons/Quote.jsx b/src/components/modals/main/settings/sections/overview_skeletons/Quote.jsx index d7e4ea89..327737ac 100644 --- a/src/components/modals/main/settings/sections/overview_skeletons/Quote.jsx +++ b/src/components/modals/main/settings/sections/overview_skeletons/Quote.jsx @@ -4,15 +4,15 @@ export default function QuoteSkeleton() { return (
    "Never gonna give you up" -
    -
    - -
    -
    - Rick Astley - Music Genius -
    +
    +
    +
    +
    + Rick Astley + English singer-songwriter +
    +
    ); } diff --git a/src/components/modals/welcome/WelcomeSections.jsx b/src/components/modals/welcome/WelcomeSections.jsx index 7410d590..ca7376e6 100644 --- a/src/components/modals/welcome/WelcomeSections.jsx +++ b/src/components/modals/welcome/WelcomeSections.jsx @@ -55,7 +55,7 @@ export default class WelcomeSections extends PureComponent { loadSettings(true); } - changeStyle(type) { + changeStyle(type) { this.setState({ newStyle: type === 'new' ? 'toggle newStyle active' : 'toggle newStyle', legacyStyle: type === 'legacy' ? 'toggle legacyStyle active' : 'toggle legacyStyle', @@ -170,7 +170,7 @@ export default class WelcomeSections extends PureComponent { Join our Discord Talk with the Mue community and developers
    - + Join
    @@ -182,7 +182,7 @@ export default class WelcomeSections extends PureComponent { Contribute on GitHub Report bugs, add features or donate
    - + Open
    @@ -241,8 +241,11 @@ export default class WelcomeSections extends PureComponent { const style = ( <> - Choose a theme - Mue currently offers the choice between the legacy styling and the newly released modern styling. + Choose a theme + + Mue currently offers the choice between the legacy styling and the newly released modern + styling. +
    this.changeStyle('legacy')}> @@ -256,7 +259,7 @@ export default class WelcomeSections extends PureComponent {
    - ) + ); const settings = ( <> diff --git a/src/components/modals/welcome/welcome.scss b/src/components/modals/welcome/welcome.scss index c9ca824a..96a042d4 100644 --- a/src/components/modals/welcome/welcome.scss +++ b/src/components/modals/welcome/welcome.scss @@ -279,4 +279,4 @@ a.privacy { @include themed() { background-color: t($modal-sidebarActive) !important; } -} \ No newline at end of file +} diff --git a/src/components/widgets/message/Message.jsx b/src/components/widgets/message/Message.jsx index f8c9cad1..9e331b61 100644 --- a/src/components/widgets/message/Message.jsx +++ b/src/components/widgets/message/Message.jsx @@ -48,7 +48,7 @@ export default class Message extends PureComponent {
    ))} - + ); } } diff --git a/src/components/widgets/navbar/Notes.jsx b/src/components/widgets/navbar/Notes.jsx index 3ce1a5e8..b01cf8da 100644 --- a/src/components/widgets/navbar/Notes.jsx +++ b/src/components/widgets/navbar/Notes.jsx @@ -127,10 +127,12 @@ class Notes extends PureComponent { - + )} + > diff --git a/src/components/widgets/navbar/Todo.jsx b/src/components/widgets/navbar/Todo.jsx index 5e4813b0..7fb6da98 100644 --- a/src/components/widgets/navbar/Todo.jsx +++ b/src/components/widgets/navbar/Todo.jsx @@ -202,7 +202,7 @@ class Todo extends PureComponent { onChange={(data) => this.updateTodo('set', index, data)} readOnly={this.state.todo[index].done} /> - this.updateTodo('remove', index)} /> + this.updateTodo('remove', index)} />
    } diff --git a/src/components/widgets/quicklinks/QuickLinks.jsx b/src/components/widgets/quicklinks/QuickLinks.jsx index 59183821..bd817ae7 100644 --- a/src/components/widgets/quicklinks/QuickLinks.jsx +++ b/src/components/widgets/quicklinks/QuickLinks.jsx @@ -49,7 +49,7 @@ export default class QuickLinks extends PureComponent { // eslint-disable-next-line no-useless-escape if ( url.length <= 0 || - /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()!@:%_\+.~#?&\/\/=]*)/.test( + /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()!@:%_.~#?&=]*)/.test( url, ) === false ) { diff --git a/src/components/widgets/quote/Quote.jsx b/src/components/widgets/quote/Quote.jsx index 026c30f0..949d8e22 100644 --- a/src/components/widgets/quote/Quote.jsx +++ b/src/components/widgets/quote/Quote.jsx @@ -462,7 +462,11 @@ export default class Quote extends PureComponent { {this.state.authorOccupation !== 'Unknown' ? ( {this.state.authorOccupation} ) : null} - {this.state.authorimglicense ? this.state.authorimglicense.replace(' undefined. ', ' ') : null} + + {this.state.authorimglicense + ? this.state.authorimglicense.replace(' undefined. ', ' ') + : null} +
    ) : (
    diff --git a/src/components/widgets/time/Clock.jsx b/src/components/widgets/time/Clock.jsx index 9f101230..bf15738d 100644 --- a/src/components/widgets/time/Clock.jsx +++ b/src/components/widgets/time/Clock.jsx @@ -190,8 +190,12 @@ export default class Clock extends PureComponent { <> {' '} -
    {this.state.finalHour}
    {' '} -
    {this.state.finalMinute}
    {' '} +
    + {this.state.finalHour} +
    {' '} +
    + {this.state.finalMinute} +
    {' '}
    {this.state.finalSeconds}
    {' '}
    diff --git a/src/components/widgets/time/clock.scss b/src/components/widgets/time/clock.scss index fd5a6c7f..01fcf959 100644 --- a/src/components/widgets/time/clock.scss +++ b/src/components/widgets/time/clock.scss @@ -41,11 +41,10 @@ padding: 1rem; } - .new-clock { line-height: 100%; .seconds { font-size: 0.2em; line-height: 0%; } -} \ No newline at end of file +} diff --git a/src/components/widgets/weather/Weather.jsx b/src/components/widgets/weather/Weather.jsx index 92eac9ca..0bef37a0 100644 --- a/src/components/widgets/weather/Weather.jsx +++ b/src/components/widgets/weather/Weather.jsx @@ -315,7 +315,7 @@ export default class Weather extends PureComponent {
    )}
    - {weatherType == 3 ? expandedInfo() : null} + {weatherType === 3 ? expandedInfo() : null}
    ); } diff --git a/src/modules/helpers/settings/achievement_translations/de_DE.json b/src/modules/helpers/settings/achievement_translations/de_DE.json index 2d27b6bf..8dcc1526 100644 --- a/src/modules/helpers/settings/achievement_translations/de_DE.json +++ b/src/modules/helpers/settings/achievement_translations/de_DE.json @@ -1,8 +1,8 @@ [ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] \ No newline at end of file + "Opened 10 tabs", + "Opened 39 tabs", + "Opened 100 tabs", + "Opened 305 tabs", + "Installed an add-on", + "Installed 5 add-ons" +] diff --git a/src/modules/helpers/settings/achievement_translations/en_GB.json b/src/modules/helpers/settings/achievement_translations/en_GB.json index 2d27b6bf..8dcc1526 100644 --- a/src/modules/helpers/settings/achievement_translations/en_GB.json +++ b/src/modules/helpers/settings/achievement_translations/en_GB.json @@ -1,8 +1,8 @@ [ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] \ No newline at end of file + "Opened 10 tabs", + "Opened 39 tabs", + "Opened 100 tabs", + "Opened 305 tabs", + "Installed an add-on", + "Installed 5 add-ons" +] diff --git a/src/modules/helpers/settings/achievement_translations/en_US.json b/src/modules/helpers/settings/achievement_translations/en_US.json index 2d27b6bf..8dcc1526 100644 --- a/src/modules/helpers/settings/achievement_translations/en_US.json +++ b/src/modules/helpers/settings/achievement_translations/en_US.json @@ -1,8 +1,8 @@ [ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] \ No newline at end of file + "Opened 10 tabs", + "Opened 39 tabs", + "Opened 100 tabs", + "Opened 305 tabs", + "Installed an add-on", + "Installed 5 add-ons" +] diff --git a/src/modules/helpers/settings/achievement_translations/es.json b/src/modules/helpers/settings/achievement_translations/es.json index 2d27b6bf..8dcc1526 100644 --- a/src/modules/helpers/settings/achievement_translations/es.json +++ b/src/modules/helpers/settings/achievement_translations/es.json @@ -1,8 +1,8 @@ [ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] \ No newline at end of file + "Opened 10 tabs", + "Opened 39 tabs", + "Opened 100 tabs", + "Opened 305 tabs", + "Installed an add-on", + "Installed 5 add-ons" +] diff --git a/src/modules/helpers/settings/achievement_translations/fr.json b/src/modules/helpers/settings/achievement_translations/fr.json index 2d27b6bf..8dcc1526 100644 --- a/src/modules/helpers/settings/achievement_translations/fr.json +++ b/src/modules/helpers/settings/achievement_translations/fr.json @@ -1,8 +1,8 @@ [ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] \ No newline at end of file + "Opened 10 tabs", + "Opened 39 tabs", + "Opened 100 tabs", + "Opened 305 tabs", + "Installed an add-on", + "Installed 5 add-ons" +] diff --git a/src/modules/helpers/settings/achievement_translations/id_ID.json b/src/modules/helpers/settings/achievement_translations/id_ID.json index 2d27b6bf..8dcc1526 100644 --- a/src/modules/helpers/settings/achievement_translations/id_ID.json +++ b/src/modules/helpers/settings/achievement_translations/id_ID.json @@ -1,8 +1,8 @@ [ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] \ No newline at end of file + "Opened 10 tabs", + "Opened 39 tabs", + "Opened 100 tabs", + "Opened 305 tabs", + "Installed an add-on", + "Installed 5 add-ons" +] diff --git a/src/modules/helpers/settings/achievement_translations/nl.json b/src/modules/helpers/settings/achievement_translations/nl.json index 2d27b6bf..8dcc1526 100644 --- a/src/modules/helpers/settings/achievement_translations/nl.json +++ b/src/modules/helpers/settings/achievement_translations/nl.json @@ -1,8 +1,8 @@ [ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] \ No newline at end of file + "Opened 10 tabs", + "Opened 39 tabs", + "Opened 100 tabs", + "Opened 305 tabs", + "Installed an add-on", + "Installed 5 add-ons" +] diff --git a/src/modules/helpers/settings/achievement_translations/no.json b/src/modules/helpers/settings/achievement_translations/no.json index 2d27b6bf..8dcc1526 100644 --- a/src/modules/helpers/settings/achievement_translations/no.json +++ b/src/modules/helpers/settings/achievement_translations/no.json @@ -1,8 +1,8 @@ [ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] \ No newline at end of file + "Opened 10 tabs", + "Opened 39 tabs", + "Opened 100 tabs", + "Opened 305 tabs", + "Installed an add-on", + "Installed 5 add-ons" +] diff --git a/src/modules/helpers/settings/achievement_translations/ru.json b/src/modules/helpers/settings/achievement_translations/ru.json index 2d27b6bf..8dcc1526 100644 --- a/src/modules/helpers/settings/achievement_translations/ru.json +++ b/src/modules/helpers/settings/achievement_translations/ru.json @@ -1,8 +1,8 @@ [ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] \ No newline at end of file + "Opened 10 tabs", + "Opened 39 tabs", + "Opened 100 tabs", + "Opened 305 tabs", + "Installed an add-on", + "Installed 5 add-ons" +] diff --git a/src/modules/helpers/settings/achievement_translations/tr_TR.json b/src/modules/helpers/settings/achievement_translations/tr_TR.json index 2d27b6bf..8dcc1526 100644 --- a/src/modules/helpers/settings/achievement_translations/tr_TR.json +++ b/src/modules/helpers/settings/achievement_translations/tr_TR.json @@ -1,8 +1,8 @@ [ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] \ No newline at end of file + "Opened 10 tabs", + "Opened 39 tabs", + "Opened 100 tabs", + "Opened 305 tabs", + "Installed an add-on", + "Installed 5 add-ons" +] diff --git a/src/modules/helpers/settings/achievement_translations/zh_CN.json b/src/modules/helpers/settings/achievement_translations/zh_CN.json index 2d27b6bf..8dcc1526 100644 --- a/src/modules/helpers/settings/achievement_translations/zh_CN.json +++ b/src/modules/helpers/settings/achievement_translations/zh_CN.json @@ -1,8 +1,8 @@ [ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] \ No newline at end of file + "Opened 10 tabs", + "Opened 39 tabs", + "Opened 100 tabs", + "Opened 305 tabs", + "Installed an add-on", + "Installed 5 add-ons" +]