chore: release 5.3.1

This commit is contained in:
David Ralph
2021-08-23 12:01:25 +01:00
parent 66ac192c09
commit 1d99622123
15 changed files with 17 additions and 17 deletions

View File

@@ -35,4 +35,4 @@ export const OFFLINE_IMAGES = 20;
// Version
export const BETA_VERSION = false;
export const VERSION = '5.3.0';
export const VERSION = '5.3.1';

View File

@@ -91,8 +91,8 @@ export function loadSettings(hotreload) {
const js = localStorage.getItem('customjs');
if (js) {
try {
// eslint-disable-next-line no-new-func
Function(`'use strict'; return (${js})`)();
// eslint-disable-next-line no-eval
eval(js);
} catch (e) {
console.error('Failed to run custom JS: ', e);
}

View File

@@ -58,7 +58,7 @@ export default class Stats {
payload: {
website: this.id,
url: '/',
language: localStorage.getItem('language').replace('_', '-'),
language: window.languagecode.replace('_', '-'),
screen: `${window.screen.width}x${window.screen.height}`
}
})

View File

@@ -292,7 +292,7 @@
},
"stats": {
"title": "Stats",
"warning": "You need to enable usage data in order to use this feature. This will also post anonymous statistics to our umami instance.",
"warning": "You need to enable usage data in order to use this feature. This will post anonymous statistics to our umami instance.",
"sections": {
"tabs_opened": "Tabs opened",
"backgrounds_favourited": "Backgrounds favourited",

View File

@@ -292,7 +292,7 @@
},
"stats": {
"title": "Stats",
"warning": "You need to enable usage data in order to use this feature. This will also post anonymous statistics to our umami instance.",
"warning": "You need to enable usage data in order to use this feature. This will post anonymous statistics to our umami instance.",
"sections": {
"tabs_opened": "Tabs opened",
"backgrounds_favourited": "Backgrounds favourited",

View File

@@ -292,7 +292,7 @@
},
"stats": {
"title": "Stats",
"warning": "You need to enable usage data in order to use this feature. This will also post anonymous statistics to our umami instance.",
"warning": "You need to enable usage data in order to use this feature. This will post anonymous statistics to our umami instance.",
"sections": {
"tabs_opened": "Tabs opened",
"backgrounds_favourited": "Backgrounds favourited",

View File

@@ -292,7 +292,7 @@
},
"stats": {
"title": "Estadísticas",
"warning": "Tienes que activar las estadísticas de uso para poder utilizar esta función. Esto también enviará estadísticas anónimas a nuestra instancia de umami.",
"warning": "Tienes que activar las estadísticas de uso para poder utilizar esta función. Esto enviará estadísticas anónimas a nuestra instancia de umami.",
"sections": {
"tabs_opened": "Pestañas abiertas",
"backgrounds_favourited": "Fondos favoritos",

View File

@@ -292,7 +292,7 @@
},
"stats": {
"title": "Stats",
"warning": "You need to enable usage data in order to use this feature. This will also post anonymous statistics to our umami instance.",
"warning": "You need to enable usage data in order to use this feature. This will post anonymous statistics to our umami instance.",
"sections": {
"tabs_opened": "Tabs opened",
"backgrounds_favourited": "Backgrounds favourited",

View File

@@ -292,7 +292,7 @@
},
"stats": {
"title": "Stats",
"warning": "You need to enable usage data in order to use this feature. This will also post anonymous statistics to our umami instance.",
"warning": "You need to enable usage data in order to use this feature. This will post anonymous statistics to our umami instance.",
"sections": {
"tabs_opened": "Tabs opened",
"backgrounds_favourited": "Backgrounds favourited",

View File

@@ -292,7 +292,7 @@
},
"stats": {
"title": "Stats",
"warning": "You need to enable usage data in order to use this feature. This will also post anonymous statistics to our umami instance.",
"warning": "You need to enable usage data in order to use this feature. This will post anonymous statistics to our umami instance.",
"sections": {
"tabs_opened": "Tabs opened",
"backgrounds_favourited": "Backgrounds favourited",

View File

@@ -292,7 +292,7 @@
},
"stats": {
"title": "Stats",
"warning": "You need to enable usage data in order to use this feature. This will also post anonymous statistics to our umami instance.",
"warning": "You need to enable usage data in order to use this feature. This will post anonymous statistics to our umami instance.",
"sections": {
"tabs_opened": "Tabs opened",
"backgrounds_favourited": "Backgrounds favourited",

View File

@@ -292,7 +292,7 @@
},
"stats": {
"title": "Stats",
"warning": "You need to enable usage data in order to use this feature. This will also post anonymous statistics to our umami instance.",
"warning": "You need to enable usage data in order to use this feature. This will post anonymous statistics to our umami instance.",
"sections": {
"tabs_opened": "Tabs opened",
"backgrounds_favourited": "Backgrounds favourited",