import utils from "../../services/utils.js";
import server from "../../services/server.js";
import toastService from "../../services/toast.js";
const TPL = `
Spell check
These options apply only for desktop builds, browsers will use their own native spell check. App restart is required after change.
Multiple languages can be separated by comma, e.g. en-US, de-DE, cs. Changes to the spell check options will take effect after application restart.
Available language codes:
Image compression
Note erasure timeout
Deleted notes are at first only marked as deleted and it is possible to recover them
from Recent Notes dialog. After a period of time, deleted notes are "erased" which means
their content is not recoverable anymore. This setting allows you to configure the length
of the period between deleting and erasing the note.
You can also trigger erasing manually:
Protected session timeout
Protected session timeout is a time period after which the protected session is wiped from
the browser's memory. This is measured from the last interaction with protected notes. See wiki for more info.
Note revisions snapshot interval
Note revision snapshot time interval is time in seconds after which a new note revision will be created for the note. See wiki for more info.