refactor: adjust wording for backups

This commit is contained in:
2023-12-02 20:23:15 +01:00
parent 5c06c2206c
commit c37ae7da7b
4 changed files with 10 additions and 9 deletions

View File

@@ -89,6 +89,7 @@ const config: IconsConfig = {
"sentiment_worried", "sentiment_worried",
"timer", "timer",
"target", "target",
"download",
], ],
codePoints: { codePoints: {
speed: "e9e4", speed: "e9e4",

View File

@@ -1,4 +1,4 @@
import type { Translation } from "../i18n-types" import type {Translation} from "../i18n-types"
const de = { const de = {
TITLE: "CharaChorder Gerätemanager", TITLE: "CharaChorder Gerätemanager",
@@ -13,11 +13,11 @@ const de = {
TITLE_WRITE: "Änderungen werden gespeichert", TITLE_WRITE: "Änderungen werden gespeichert",
}, },
backup: { backup: {
TITLE: "Sicherungskopie", TITLE: "Verlauf speichern",
INDIVIDUAL: "Einzeldateien", INDIVIDUAL: "Einzeldateien",
DISCLAIMER: DISCLAIMER:
"Sicherungskopien verlassen unter keinen Umständen diesen Computer und werden nie mit uns geteilt oder auf Server hochgeladen.", "Der Verlauf wird als Backup in diesem Browser gespeichert. Der Verlauf bleibt auf diesem Computer.",
DOWNLOAD: "Vollständig Speichern", DOWNLOAD: "Alles herunterladen",
RESTORE: "Wiederherstellen", RESTORE: "Wiederherstellen",
}, },
modal: { modal: {

View File

@@ -1,4 +1,4 @@
import type { BaseTranslation } from "../i18n-types" import type {BaseTranslation} from "../i18n-types"
const en = { const en = {
TITLE: "CharaChorder Device Manager", TITLE: "CharaChorder Device Manager",
@@ -9,10 +9,10 @@ const en = {
SAVE: "Save", SAVE: "Save",
}, },
backup: { backup: {
TITLE: "Local Backup", TITLE: "Store History",
INDIVIDUAL: "Individual backups", INDIVIDUAL: "Individual backups",
DISCLAIMER: "Backups remain on your computer and are never shared with us or uploaded to our servers.", DISCLAIMER: "Your history is stored as a backup in this browser. The history remains on your computer.",
DOWNLOAD: "Full Backup", DOWNLOAD: "Download Everything",
RESTORE: "Restore", RESTORE: "Restore",
}, },
sync: { sync: {

View File

@@ -33,7 +33,7 @@
</fieldset> </fieldset>
<div class="save"> <div class="save">
<button class="primary" on:click={downloadBackup} <button class="primary" on:click={downloadBackup}
><span class="icon">save</span>{$LL.backup.DOWNLOAD()}</button ><span class="icon">download</span>{$LL.backup.DOWNLOAD()}</button
> >
<label class="button" <label class="button"
><input on:input={restoreBackup} type="file" /><span class="icon">settings_backup_restore</span ><input on:input={restoreBackup} type="file" /><span class="icon">settings_backup_restore</span