aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Settings
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-02-06 06:14:28 -0800
committerFuwn <[email protected]>2024-02-06 06:14:28 -0800
commite8f574892dbec351c495368af9747e7afb8d6038 (patch)
treea69f793243b87b6ff815769261ddf5db27ed1bfb /src/lib/Settings
parentfeat(settings): recommend site data clear (diff)
downloaddue.moe-e8f574892dbec351c495368af9747e7afb8d6038.tar.xz
due.moe-e8f574892dbec351c495368af9747e7afb8d6038.zip
feat(locale): localise debug settings
Diffstat (limited to 'src/lib/Settings')
-rw-r--r--src/lib/Settings/Categories/Debug.svelte16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/lib/Settings/Categories/Debug.svelte b/src/lib/Settings/Categories/Debug.svelte
index d8da8aa8..4da6c256 100644
--- a/src/lib/Settings/Categories/Debug.svelte
+++ b/src/lib/Settings/Categories/Debug.svelte
@@ -3,6 +3,7 @@
import { getNotificationsContext } from 'svelte-notifications';
import SettingHint from '../SettingHint.svelte';
import { options } from '$lib/Notification/options';
+ import locale from '$stores/locale';
const { addNotification } = getNotificationsContext();
</script>
@@ -16,7 +17,7 @@
heading: 'Anime and manga list caches successfully cleared'
})
);
- }}>Clear anime and manga list caches</button
+ }}>{$locale().debug.clearCaches}</button
>
<p />
@@ -29,10 +30,12 @@
heading: 'All settings successfully reset'
})
);
- }}>Reset <b>ALL</b> settings</button
+ }}
>
+ {$locale().debug.resetAllSettings.title}
+</button>
<SettingHint lineBreak>
- Resets all settings present on this page to their default values
+ {$locale().debug.resetAllSettings.hint}
</SettingHint>
<p />
@@ -45,11 +48,10 @@
heading: '<code>localStorage</code> successfully cleared'
})
);
- }}>Clear <code>localStorage</code></button
+ }}>{$locale().debug.clearLocalStorage.title} <code>localStorage</code></button
>
<SettingHint lineBreak>
- Resets all of your settings to their default values and clears both AniList media list and manga
- data caches
+ {$locale().debug.clearLocalStorage.hint1}
<br />
- If you are having issues with data loading or logging out, it is recommended to clear your site data.
+ {$locale().debug.clearLocalStorage.hint2}
</SettingHint>