diff --git a/frontend/locales/de.json b/frontend/locales/de.json new file mode 100644 index 0000000..311ca16 --- /dev/null +++ b/frontend/locales/de.json @@ -0,0 +1,39 @@ +{ + "common": { + "note": "Hinweis", + "file": "Datei", + "advanced": "erweitert", + "create": "erstellen", + "loading": "Läd...", + "mode": "Modus", + "views": "{n, plural, =0 {Ansichten} =1 {1 Ansicht} other {# Ansichten}}", + "minutes": "{n, plural, =0 {Minuten} =1 {1 Minute} other {# Minuten}}", + "max": "max", + "share_link": "Link teilen", + "copy_clipboard": "in die Zwischenablage kopieren" + }, + "home": { + "intro": "Senden Sie ganz einfach vollständig verschlüsselte, sichere Notizen oder Dateien mit einem Klick. Erstellen Sie einfach eine Notiz und teilen Sie den Link.", + "explanation": "die Notiz verfällt und wird nach {type} zerstört.", + "new_note": "neue Note", + "new_note_notice": "Verfügbarkeit:
es ist nicht garantiert, dass die Notiz gespeichert wird, da alles im Speicher gehalten wird. Wenn dieser voll ist, werden die ältesten Notizen entfernt.
(Sie werden wahrscheinlich keine Probleme haben, seien Sie nur gewarnt).", + "errors": { + "note_to_big": "Notiz konnte nicht erstellt werden. Notiz ist zu groß", + "note_error": "konnte keine Notiz erstellen. Bitte versuchen Sie es erneut." + } + }, + "show": { + "errors": { + "not_found": "wurde nicht gefunden oder wurde bereits gelöscht.", + "decryption_failed": "falsches Passwort. konnte nicht entziffert werden. wahrscheinlich ein defekter Link. Notiz wurde zerstört." + }, + "explanation": "Klicken Sie unten, um die Notiz anzuzeigen und zu löschen, wenn der Zähler sein Limit erreicht hat", + "show_note": "Notiz anzeigen", + "warning_will_not_see_again": "haben Sie keine Gelegenheit, die Notiz noch einmal zu sehen.", + "download_all": "alle herunterladen" + }, + "file_upload": { + "selected_files": "Ausgewählte Dateien", + "no_files_selected": "Keine Dateien ausgewählt" + } +} diff --git a/frontend/locales/en.json b/frontend/locales/en.json index dd512db..47c31df 100644 --- a/frontend/locales/en.json +++ b/frontend/locales/en.json @@ -1,49 +1,39 @@ { - "common": { - "note": "note", - "file": "file", - "advanced": "advanced", - "create": "create", - "loading": "loading...", - "mode": "mode", - "views": "{n, plural, =0 {views} =1 {1 view} other {# views}}", - "minutes": "{n, plural, =0 {minutes} =1 {1 minute} other {# minutes}}", - "max": "max", - "share_link": "share link", - "copy_clipboard": "copy to clipboard" - }, - "home": { - "intro": "Easily send fully encrypted, secure notes or files with one click. Just create a note and share the link.", - "explanation": "the note will expire and be destroyed after {type}.", - "new_note": "new note", - "new_note_notice": "availability:
the note is not guaranteed to be stored as everything is kept in ram, if it fills up the oldest notes will be removed.
(you probably will be fine, just be warned.)", - "errors": { - "note_to_big": "could not create note. note is to big", - "note_error": "could not create note. please try again." - } - }, - "show": { - "errors": { - "not_found": "note was not found or was already deleted.", - "decryption_failed": "wrong password. could not decipher. probably a broken link. note was destroyed." - }, - "explanation": "click below to show and delete the note if the counter has reached it's limit", - "show_note": "show note", - "warning_will_not_see_again": "you will not get the chance to see the note again.", - "download_all": "download all" - }, - "file_upload": { - "selected_files": "Selected Files", - "no_files_selected": "No Files Selected" - }, - "theme": { - "auto": "auto", - "dark": "dark", - "light": "light" - }, - "nav": { - "home": "home", - "about": "about", - "code": "code" - } + "common": { + "note": "note", + "file": "file", + "advanced": "advanced", + "create": "create", + "loading": "loading...", + "mode": "mode", + "views": "{n, plural, =0 {views} =1 {1 view} other {# views}}", + "minutes": "{n, plural, =0 {minutes} =1 {1 minute} other {# minutes}}", + "max": "max", + "share_link": "share link", + "copy_clipboard": "copy to clipboard" + }, + "home": { + "intro": "Easily send fully encrypted, secure notes or files with one click. Just create a note and share the link.", + "explanation": "the note will expire and be destroyed after {type}.", + "new_note": "new note", + "new_note_notice": "availability:
the note is not guaranteed to be stored as everything is kept in ram, if it fills up the oldest notes will be removed.
(you probably will be fine, just be warned.)", + "errors": { + "note_to_big": "could not create note. note is to big", + "note_error": "could not create note. please try again." + } + }, + "show": { + "errors": { + "not_found": "note was not found or was already deleted.", + "decryption_failed": "wrong password. could not decipher. probably a broken link. note was destroyed." + }, + "explanation": "click below to show and delete the note if the counter has reached it's limit", + "show_note": "show note", + "warning_will_not_see_again": "you will not get the chance to see the note again.", + "download_all": "download all" + }, + "file_upload": { + "selected_files": "Selected Files", + "no_files_selected": "No Files Selected" + } } diff --git a/frontend/locales/es.json b/frontend/locales/es.json new file mode 100644 index 0000000..005cbc2 --- /dev/null +++ b/frontend/locales/es.json @@ -0,0 +1,39 @@ +{ + "common": { + "note": "nota", + "file": "archivo", + "advanced": "avanzado", + "create": "crear", + "loading": "cargando...", + "mode": "modo", + "views": "{n, plural, =0 {vistas} =1 {1 vista} other {# vistas}}", + "minutes": "{n, plural, =0 {minutos} =1 {1 minuto} other {# minutos}}", + "max": "max", + "share_link": "compartir enlace", + "copy_clipboard": "copiar al portapapeles" + }, + "home": { + "intro": "Envía fácilmente notas o archivos totalmente encriptados y seguros con un solo clic. Solo tienes que crear una nota y compartir el enlace.", + "explanation": "la nota expirará y se destruirá después de {type}.", + "new_note": "nueva nota", + "new_note_notice": "disponibilidad:
no se garantiza que la nota se almacene, ya que todo se guarda en la memoria RAM, si se llena se eliminarán las notas más antiguas.
(probablemente estará bien, sólo está advertido.)", + "errors": { + "note_to_big": "no se pudo crear la nota. la nota es demasiado grande", + "note_error": "No se ha podido crear la nota. Por favor, inténtelo de nuevo." + } + }, + "show": { + "errors": { + "not_found": "la nota no se encontró o ya fue borrada.", + "decryption_failed": "contraseña incorrecta. no se pudo descifrar. probablemente un enlace roto. la nota fue destruida." + }, + "explanation": "pulse abajo para mostrar y borrar la nota si el contador ha llegado a su límite", + "show_note": "mostrar nota", + "warning_will_not_see_again": " no tendrás la oportunidad de volver a ver la nota.", + "download_all": "descargar todo" + }, + "file_upload": { + "selected_files": "Archivos seleccionados", + "no_files_selected": "No hay archivos seleccionados" + } +} diff --git a/frontend/locales/fr.json b/frontend/locales/fr.json new file mode 100644 index 0000000..9e6d933 --- /dev/null +++ b/frontend/locales/fr.json @@ -0,0 +1,39 @@ +{ + "common": { + "note": "note", + "file": "fichier", + "advanced": "avancé", + "create": "créer", + "loading": "chargement...", + "mode": "mode", + "views": "{n, plural, =0 {vues} =1 {1 vue} other {# vues}}", + "minutes": "{n, plural, =0 {minutes} =1 {1 minute} other {# minutes}}", + "max": "max", + "share_link": "partager le lien", + "copy_clipboard": "copier dans le presse-papiers" + }, + "home": { + "intro": "Envoyez facilement des notes ou des fichiers entièrement cryptés et sécurisés en un seul clic. Il suffit de créer une note et de partager le lien.", + "explanation": "la note expirera et sera détruite après {type}.", + "new_note": "nouvelle note", + "new_note_notice": "disponibilité :
la note n'est pas garantie d'être stockée car tout est conservé dans la mémoire vive, si elle se remplit les notes les plus anciennes seront supprimées.
(vous serez probablement bien, soyez juste averti.)", + "errors": { + "note_to_big": "Impossible de créer une note. La note est trop grande", + "note_error": "n'a pas pu créer de note. Veuillez réessayer." + } + }, + "show": { + "errors": { + "not_found": "La note n'a pas été trouvée ou a déjà été supprimée.", + "decryption_failed": "mauvais mot de passe. impossible à déchiffrer. probablement un lien brisé. la note a été détruite." + }, + "explanation": "Cliquez ci-dessous pour afficher et supprimer la note si le compteur a atteint sa limite.", + "show_note": "note de présentation", + "warning_will_not_see_again": "vous n'aurez pas la chance de revoir la note.", + "download_all": "télécharger tout" + }, + "file_upload": { + "selected_files": "Fichiers sélectionnés", + "no_files_selected": "Aucun fichier sélectionné" + } +} diff --git a/frontend/locales/it.json b/frontend/locales/it.json new file mode 100644 index 0000000..a46da1a --- /dev/null +++ b/frontend/locales/it.json @@ -0,0 +1,39 @@ +{ + "common": { + "note": "nota", + "file": "file", + "advanced": "avanzato", + "create": "crea", + "loading": "carica...", + "mode": "modalita", + "views": "{n, plural, =0 {viste} =1 {1 vista} other {# viste}}", + "minutes": "{n, plural, =0 {minuti} =1 {1 minuto} other {# minuti}}", + "max": "max", + "share_link": "condividi link", + "copy_clipboard": "copia negli appunti" + }, + "home": { + "intro": "Invia facilmente note o file completamente criptati e sicuri con un solo clic. Basta creare una nota e condividere il link.", + "explanation": "la nota scadrà e sarà distrutta dopo {type}.", + "new_note": "nuova nota", + "new_note_notice": "disponibilità:
la nota non è garantita per essere memorizzata come tutto è tenuto in ram, se si riempie le note più vecchie saranno rimosse.
(probabilmente andrà bene, basta essere avvertiti).", + "errors": { + "note_to_big": "impossibile creare una nota. la nota è troppo grande", + "note_error": "Impossibile creare la nota. Riprova." + } + }, + "show": { + "errors": { + "not_found": "non è stata trovata o è stata già cancellata.", + "decryption_failed": "password sbagliata. non ha potuto decifrare. probabilmente un link rotto. la nota è stata distrutta." + }, + "explanation": "clicca sotto per mostrare e cancellare la nota se il contatore ha raggiunto il suo limite", + "show_note": "mostra la nota", + "warning_will_not_see_again": " non avrete la possibilità di rivedere la nota.", + "download_all": "scarica tutti" + }, + "file_upload": { + "selected_files": "File selezionati", + "no_files_selected": "Nessun file selezionato" + } +} diff --git a/frontend/src/lib/ui/ThemeToggle.svelte b/frontend/src/lib/ui/ThemeToggle.svelte index 3e84aa4..01028aa 100644 --- a/frontend/src/lib/ui/ThemeToggle.svelte +++ b/frontend/src/lib/ui/ThemeToggle.svelte @@ -34,7 +34,6 @@