diff --git a/packages/frontend/locales/cs.json b/packages/frontend/locales/cs.json index 2450acf..c7d7140 100644 --- a/packages/frontend/locales/cs.json +++ b/packages/frontend/locales/cs.json @@ -25,7 +25,7 @@ "new_note": "Nová poznámka", "new_note_notice": "Dostupnost:
Poznámka není zaručeně uchována, protože je uložena pouze v paměti RAM. Pokud se paměť zaplní, nejstarší poznámky budou automaticky smazány.
(Obvykle to nebývá problém, ale je dobré o tom vědět.)", "errors": { - "note_to_big": "Poznámku nelze vytvořit. Je příliš velká.", + "note_too_big": "Poznámku nelze vytvořit. Je příliš velká.", "note_error": "Poznámku nelze vytvořit. Zkuste to prosím znovu.", "max": "Max: {n}", "empty_content": "Poznámka je prázdná." diff --git a/packages/frontend/locales/de.json b/packages/frontend/locales/de.json index a43e794..195335b 100644 --- a/packages/frontend/locales/de.json +++ b/packages/frontend/locales/de.json @@ -25,7 +25,7 @@ "new_note": "Neue Notiz", "new_note_notice": "Wichtiger Hinweis zur Verfügbarkeit:
Es kann nicht garantiert werden, dass diese Notiz gespeichert wird, da diese ausschließlich im Speicher gehalten werden. Ist dieser voll, werden die ältesten Notizen entfernt.
(Wahrscheinlich gibt es keine derartigen Probleme, seien Sie nur vorgewarnt).", "errors": { - "note_to_big": "Notiz konnte nicht erstellt werden, da sie zu groß ist.", + "note_too_big": "Notiz konnte nicht erstellt werden, da sie zu groß ist.", "note_error": "Notiz konnte nicht erstellt werden. Bitte versuchen Sie es erneut.", "max": "max: {n}", "empty_content": "Notiz ist leer." diff --git a/packages/frontend/locales/en.json b/packages/frontend/locales/en.json index adc9829..cb1f13c 100644 --- a/packages/frontend/locales/en.json +++ b/packages/frontend/locales/en.json @@ -25,7 +25,7 @@ "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 too big", + "note_too_big": "could not create note. note is too big", "note_error": "could not create note. please try again.", "max": "max: {n}", "empty_content": "note is empty." diff --git a/packages/frontend/locales/es.json b/packages/frontend/locales/es.json index e17d18b..49f3b2f 100644 --- a/packages/frontend/locales/es.json +++ b/packages/frontend/locales/es.json @@ -25,7 +25,7 @@ "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, solo está advertido.)", "errors": { - "note_to_big": "no se pudo crear la nota. la nota es demasiado grande", + "note_too_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.", "max": "max: {n}", "empty_content": "la nota está vacía." diff --git a/packages/frontend/locales/fr.json b/packages/frontend/locales/fr.json index 1c655fb..9dad9aa 100644 --- a/packages/frontend/locales/fr.json +++ b/packages/frontend/locales/fr.json @@ -25,7 +25,7 @@ "new_note": "nouvelle note", "new_note_notice": "disponibilité :
il n'est pas garanti que la note reste stockée car tout est conservé dans la mémoire vive; si elle se remplit, les notes les plus anciennes seront supprimées.
(tout ira probablement bien, soyez juste averti.)", "errors": { - "note_to_big": "Impossible de créer une note. La note est trop grande.", + "note_too_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.", "max": "max: {n}", "empty_content": "La note est vide." diff --git a/packages/frontend/locales/it.json b/packages/frontend/locales/it.json index 32b156d..e95d8ed 100644 --- a/packages/frontend/locales/it.json +++ b/packages/frontend/locales/it.json @@ -25,7 +25,7 @@ "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_too_big": "impossibile creare una nota. la nota è troppo grande", "note_error": "Impossibile creare la nota. Riprova.", "max": "max: {n}", "empty_content": "la nota è vuota." diff --git a/packages/frontend/locales/ja.json b/packages/frontend/locales/ja.json index 9e3d625..f76655c 100644 --- a/packages/frontend/locales/ja.json +++ b/packages/frontend/locales/ja.json @@ -25,7 +25,7 @@ "new_note": "新しいメモ", "new_note_notice": "可用性:
すべてが RAM に保持されるため、メモが保存されるとは限りません。いっぱいになると、最も古いメモが削除されます。
(大丈夫だと思いますが、ご了承ください。)", "errors": { - "note_to_big": "メモを作成できませんでした。メモが大きすぎる", + "note_too_big": "メモを作成できませんでした。メモが大きすぎる", "note_error": "メモを作成できませんでした。もう一度お試しください。", "max": "最大ファイルサイズ: {n}", "empty_content": "メモは空です。" diff --git a/packages/frontend/locales/pl.json b/packages/frontend/locales/pl.json index 930c1b5..2ea0cb2 100644 --- a/packages/frontend/locales/pl.json +++ b/packages/frontend/locales/pl.json @@ -25,7 +25,7 @@ "new_note": "nowa notatka", "new_note_notice": "dostępność:
nie ma gwarancji, że notatka będzie przechowywana, ponieważ wszystko jest przechowywane w pamięci RAM, jeśli się zapełni, najstarsze notatki zostaną usunięte.
(prawdopodobnie nic się nie stanie, ale warto ostrzec.)", "errors": { - "note_to_big": "nie można utworzyć notatki. notatka jest za duża", + "note_too_big": "nie można utworzyć notatki. notatka jest za duża", "note_error": "nie można utworzyć notatki. spróbuj ponownie.", "max": "maks.: {n}", "empty_content": "notatka jest pusta." diff --git a/packages/frontend/locales/ru.json b/packages/frontend/locales/ru.json index 1c304f2..84ea5f1 100644 --- a/packages/frontend/locales/ru.json +++ b/packages/frontend/locales/ru.json @@ -25,7 +25,7 @@ "new_note": "новая заметка", "new_note_notice": "доступность:
сохранение заметки не гарантируется, поскольку все хранится в оперативной памяти; если она заполнится, самые старые заметки будут удалены.
( вероятно, все будет в порядке, просто будьте осторожны.)", "errors": { - "note_to_big": "нельзя создать новую заметку. заметка слишком большая", + "note_too_big": "нельзя создать новую заметку. заметка слишком большая", "note_error": "нельзя создать новую заметку. пожалуйста попробуйте позже.", "max": "макс: {n}", "empty_content": "пустая заметка." diff --git a/packages/frontend/locales/zh-TW.json b/packages/frontend/locales/zh-TW.json index 2dd31f7..24e1896 100644 --- a/packages/frontend/locales/zh-TW.json +++ b/packages/frontend/locales/zh-TW.json @@ -25,7 +25,7 @@ "new_note": "新筆記", "new_note_notice": "可用性:
筆記不保證被儲存,因為所有內容都保留在 RAM 中,如果 RAM 填滿,最舊的筆記將被移除。
(您可能會沒事,只是提醒一下。)", "errors": { - "note_to_big": "無法創建筆記。筆記過大", + "note_too_big": "無法創建筆記。筆記過大", "note_error": "無法創建筆記。請再試一次。", "max": "最大值:{n}", "empty_content": "筆記內容為空。" diff --git a/packages/frontend/locales/zh.json b/packages/frontend/locales/zh.json index 7aaf1d9..ae2b7a4 100644 --- a/packages/frontend/locales/zh.json +++ b/packages/frontend/locales/zh.json @@ -25,7 +25,7 @@ "new_note": "新建密信", "new_note_notice": "提醒:
密信保存在内存中,如果内存满了,则最早的密信将被删除以释放内存,因此不保证该密信的可用性。一般不会出现这种情况,无需担心。", "errors": { - "note_to_big": "创建失败,密信过大。", + "note_too_big": "创建失败,密信过大。", "note_error": "创建失败,请稍后重试。", "max": "次数上限:{n}", "empty_content": "密信不能为空。" diff --git a/packages/frontend/src/lib/views/Create.svelte b/packages/frontend/src/lib/views/Create.svelte index 983120b..9ec737d 100644 --- a/packages/frontend/src/lib/views/Create.svelte +++ b/packages/frontend/src/lib/views/Create.svelte @@ -149,7 +149,7 @@ notify.success($t('home.messages.note_created')) } catch (e) { if (e instanceof PayloadToLargeError) { - notify.error($t('home.errors.note_to_big')) + notify.error($t('home.errors.note_too_big')) } else if (e instanceof EmptyContentError) { notify.error($t('home.errors.empty_content')) } else {