Better description for shrink database button (#4814)

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
Frank Elsinga
2024-10-04 02:54:28 +02:00
committed by GitHub
parent a309cf0e2c
commit e40ce59e66
40 changed files with 9 additions and 40 deletions

View File

@@ -32,7 +32,14 @@
<button class="btn btn-outline-info me-2" @click="shrinkDatabase">
{{ $t("Shrink Database") }} ({{ databaseSizeDisplay }})
</button>
<div class="form-text mt-2 mb-4 ms-2">{{ $t("shrinkDatabaseDescription") }}</div>
<i18n-t tag="div" keypath="shrinkDatabaseDescriptionSqlite" class="form-text mt-2 mb-4 ms-2">
<template #vacuum>
<code>VACUUM</code>
</template>
<template #auto_vacuum>
<code>AUTO_VACUUM</code>
</template>
</i18n-t>
</div>
<button
id="clearAllStats-btn"