mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-18 11:18:28 +00:00
copy compressed version of data, remove translations
This commit is contained in:
parent
5422e32f40
commit
11069c7d45
@ -105,10 +105,6 @@
|
|||||||
"advanced.debug": "debug",
|
"advanced.debug": "debug",
|
||||||
"advanced.debug.title": "enable debug features",
|
"advanced.debug.title": "enable debug features",
|
||||||
"advanced.debug.description": "gives you access to a page with various info that can be useful for debugging.",
|
"advanced.debug.description": "gives you access to a page with various info that can be useful for debugging.",
|
||||||
"advanced.debug.device": "device",
|
|
||||||
"advanced.debug.app": "app",
|
|
||||||
"advanced.debug.settings": "settings",
|
|
||||||
"advanced.debug.version": "version",
|
|
||||||
|
|
||||||
"advanced.data": "settings data",
|
"advanced.data": "settings data",
|
||||||
|
|
||||||
|
@ -12,13 +12,10 @@
|
|||||||
import settings, { storedSettings } from "$lib/state/settings";
|
import settings, { storedSettings } from "$lib/state/settings";
|
||||||
|
|
||||||
$: sections = [
|
$: sections = [
|
||||||
{ title: $t("settings.advanced.debug.device"), data: device },
|
{ title: "device", data: device },
|
||||||
{ title: $t("settings.advanced.debug.app"), data: app },
|
{ title: "app", data: app },
|
||||||
{
|
{ title: "settings", data: $storedSettings },
|
||||||
title: $t("settings.advanced.debug.settings"),
|
{ title: "version", data: $version },
|
||||||
data: $storedSettings,
|
|
||||||
},
|
|
||||||
{ title: $t("settings.advanced.debug.version"), data: $version },
|
|
||||||
];
|
];
|
||||||
|
|
||||||
let lastCopiedSection: number | null = null;
|
let lastCopiedSection: number | null = null;
|
||||||
@ -51,7 +48,7 @@
|
|||||||
on:click={() => {
|
on:click={() => {
|
||||||
clearTimeout(lastCopiedSectionResetTimeout);
|
clearTimeout(lastCopiedSectionResetTimeout);
|
||||||
lastCopiedSection = i;
|
lastCopiedSection = i;
|
||||||
copyURL(JSON.stringify(data, null, 2));
|
copyURL(JSON.stringify(data));
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<CopyIcon regularIcon check={lastCopiedSection === i} />
|
<CopyIcon regularIcon check={lastCopiedSection === i} />
|
||||||
|
Loading…
Reference in New Issue
Block a user