From b4193b74abbe215964625e2acb91c5bb56757dcd Mon Sep 17 00:00:00 2001 From: Lynx <141365347+iLynxcat@users.noreply.github.com> Date: Tue, 9 Jul 2024 14:28:06 -0500 Subject: [PATCH] Fix misspelled "vacuum" (#2595) --- core/src/api/libraries.rs | 2 +- .../app/$libraryId/settings/library/general.tsx | 12 ++++++------ interface/locales/ar/common.json | 6 +++--- interface/locales/be/common.json | 6 +++--- interface/locales/de/common.json | 6 +++--- interface/locales/en/common.json | 6 +++--- interface/locales/es/common.json | 6 +++--- interface/locales/fr/common.json | 6 +++--- interface/locales/it/common.json | 6 +++--- interface/locales/ja/common.json | 6 +++--- interface/locales/nl/common.json | 6 +++--- interface/locales/ru/common.json | 6 +++--- interface/locales/tr/common.json | 6 +++--- interface/locales/zh-CN/common.json | 6 +++--- interface/locales/zh-TW/common.json | 6 +++--- packages/client/src/core.ts | 2 +- 16 files changed, 47 insertions(+), 47 deletions(-) diff --git a/core/src/api/libraries.rs b/core/src/api/libraries.rs index fdd0a8362..29f05c572 100644 --- a/core/src/api/libraries.rs +++ b/core/src/api/libraries.rs @@ -503,7 +503,7 @@ pub(crate) fn mount() -> AlphaRouter { }), ) .procedure( - "vaccumDb", + "vacuumDb", R.with2(library()) .mutation(|(_, library), _: ()| async move { // We retry a few times because if the DB is being actively used, the vacuum will fail diff --git a/interface/app/$libraryId/settings/library/general.tsx b/interface/app/$libraryId/settings/library/general.tsx index 6498ccffe..d79b29363 100644 --- a/interface/app/$libraryId/settings/library/general.tsx +++ b/interface/app/$libraryId/settings/library/general.tsx @@ -26,7 +26,7 @@ function toMaybeUndefined(v: T | null | undefined): MaybeUndefined { export const Component = () => { const { library } = useLibraryContext(); const editLibrary = useBridgeMutation('library.edit'); - const vaccumLibrary = useLibraryMutation('library.vaccumDb'); + const vacuumLibrary = useLibraryMutation('library.vacuumDb'); const { t } = useLocale(); @@ -103,18 +103,18 @@ export const Component = () => {
diff --git a/interface/locales/ar/common.json b/interface/locales/ar/common.json index 66fac55c8..8b7bbf72d 100644 --- a/interface/locales/ar/common.json +++ b/interface/locales/ar/common.json @@ -735,9 +735,9 @@ "uploaded_file": "Uploaded file!", "usage": "الاستخدام", "usage_description": "استخدام المكتبة الخاصة بك ومعلومات الأجهزة", - "vaccum": "تنظيف", - "vaccum_library": "تنظيف المكتبة", - "vaccum_library_description": "إعادة ترتيب قاعدة البيانات الخاصة بك لتحرير مساحة غير ضرورية.", + "vacuum": "تنظيف", + "vacuum_library": "تنظيف المكتبة", + "vacuum_library_description": "إعادة ترتيب قاعدة البيانات الخاصة بك لتحرير مساحة غير ضرورية.", "value": "القيمة", "value_required": "القيمة مطلوبة", "version": "الإصدار {{version}}", diff --git a/interface/locales/be/common.json b/interface/locales/be/common.json index 431a3a9b4..a99137e3e 100644 --- a/interface/locales/be/common.json +++ b/interface/locales/be/common.json @@ -720,9 +720,9 @@ "uploaded_file": "Загружаны файл!", "usage": "Выкарыстанне", "usage_description": "Інфармацыя пра выкарыстанне бібліятэкі і інфармацыя пра ваша апаратнае забеспячэнне", - "vaccum": "Вакуум", - "vaccum_library": "Вакуум бібліятэкі", - "vaccum_library_description": "Перапакуйце базу дадзеных, каб вызваліць непатрэбную прастору.", + "vacuum": "Вакуум", + "vacuum_library": "Вакуум бібліятэкі", + "vacuum_library_description": "Перапакуйце базу дадзеных, каб вызваліць непатрэбную прастору.", "value": "Значэнне", "value_required": "Патрабуецца значэнне", "version": "Версія {{version}}", diff --git a/interface/locales/de/common.json b/interface/locales/de/common.json index 3798af6a6..ab04be580 100644 --- a/interface/locales/de/common.json +++ b/interface/locales/de/common.json @@ -715,9 +715,9 @@ "uploaded_file": "Uploaded file!", "usage": "Verwendung", "usage_description": "Deine Bibliotheksnutzung und Hardwareinformationen", - "vaccum": "Vakuum", - "vaccum_library": "Vakuumbibliothek", - "vaccum_library_description": "Packe deine Datenbank neu, um unnötigen Speicherplatz freizugeben.", + "vacuum": "Vakuum", + "vacuum_library": "Vakuumbibliothek", + "vacuum_library_description": "Packe deine Datenbank neu, um unnötigen Speicherplatz freizugeben.", "value": "Wert", "value_required": "Wert erforderlich", "version": "Version {{version}}", diff --git a/interface/locales/en/common.json b/interface/locales/en/common.json index d93ec6ab5..14630e917 100644 --- a/interface/locales/en/common.json +++ b/interface/locales/en/common.json @@ -730,9 +730,9 @@ "uploaded_file": "Uploaded file!", "usage": "Usage", "usage_description": "Your library usage and hardware information", - "vaccum": "Vaccum", - "vaccum_library": "Vaccum Library", - "vaccum_library_description": "Repack your database to free up unnecessary space.", + "vacuum": "Vacuum", + "vacuum_library": "Vacuum Library", + "vacuum_library_description": "Repack your database to free up unnecessary space.", "value": "Value", "value_required": "Value required", "version": "Version {{version}}", diff --git a/interface/locales/es/common.json b/interface/locales/es/common.json index d3e58bf78..d8ffaac9b 100644 --- a/interface/locales/es/common.json +++ b/interface/locales/es/common.json @@ -717,9 +717,9 @@ "uploaded_file": "Uploaded file!", "usage": "Uso", "usage_description": "Tu uso de la biblioteca e información del hardware", - "vaccum": "vacío", - "vaccum_library": "Biblioteca de vacío", - "vaccum_library_description": "Vuelva a empaquetar su base de datos para liberar espacio innecesario.", + "vacuum": "vacío", + "vacuum_library": "Biblioteca de vacío", + "vacuum_library_description": "Vuelva a empaquetar su base de datos para liberar espacio innecesario.", "value": "Valor", "value_required": "Valor requerido", "version": "Versión {{version}}", diff --git a/interface/locales/fr/common.json b/interface/locales/fr/common.json index dfb4bba07..4d1f36e4c 100644 --- a/interface/locales/fr/common.json +++ b/interface/locales/fr/common.json @@ -716,9 +716,9 @@ "uploaded_file": "Uploaded file!", "usage": "Utilisation", "usage_description": "Votre utilisation de la bibliothèque et les informations matérielles", - "vaccum": "Vide", - "vaccum_library": "Bibliothèque sous vide", - "vaccum_library_description": "Remballez votre base de données pour libérer de l'espace inutile.", + "vacuum": "Vide", + "vacuum_library": "Bibliothèque sous vide", + "vacuum_library_description": "Remballez votre base de données pour libérer de l'espace inutile.", "value": "Valeur", "value_required": "Valeur requise", "version": "Version {{version}}", diff --git a/interface/locales/it/common.json b/interface/locales/it/common.json index fa428a14f..188df3fd8 100644 --- a/interface/locales/it/common.json +++ b/interface/locales/it/common.json @@ -716,9 +716,9 @@ "uploaded_file": "Uploaded file!", "usage": "Utilizzo", "usage_description": "Informazioni sull'utilizzo della libreria e sull'hardware", - "vaccum": "Vuoto", - "vaccum_library": "Biblioteca dei vaccini", - "vaccum_library_description": "Ricomponi il tuo database per liberare spazio non necessario.", + "vacuum": "Vuoto", + "vacuum_library": "Biblioteca dei vaccini", + "vacuum_library_description": "Ricomponi il tuo database per liberare spazio non necessario.", "value": "Valore", "value_required": "Valore richiesto", "version": "Versione {{versione}}", diff --git a/interface/locales/ja/common.json b/interface/locales/ja/common.json index 6b4c4e4ba..2c5192abe 100644 --- a/interface/locales/ja/common.json +++ b/interface/locales/ja/common.json @@ -709,9 +709,9 @@ "uploaded_file": "ファイルをアップロードしました", "usage": "利用状況", "usage_description": "ライブラリの利用状況とハードウェア情報", - "vaccum": "バキューム", - "vaccum_library": "バキュームライブラリ", - "vaccum_library_description": "データベースを再パックして、不要なスペースを解放します。", + "vacuum": "バキューム", + "vacuum_library": "バキュームライブラリ", + "vacuum_library_description": "データベースを再パックして、不要なスペースを解放します。", "value": "値", "value_required": "必要な値", "version": "バージョン {{version}}", diff --git a/interface/locales/nl/common.json b/interface/locales/nl/common.json index 5651dffdb..4d95d9fbd 100644 --- a/interface/locales/nl/common.json +++ b/interface/locales/nl/common.json @@ -715,9 +715,9 @@ "uploaded_file": "Uploaded file!", "usage": "Gebruik", "usage_description": "Je bibliotheek gebruik en hardware informatie", - "vaccum": "Vacuüm", - "vaccum_library": "Vacuüm Bibliotheek", - "vaccum_library_description": "Pak uw database opnieuw in om onnodige ruimte vrij te maken.", + "vacuum": "Vacuüm", + "vacuum_library": "Vacuüm Bibliotheek", + "vacuum_library_description": "Pak uw database opnieuw in om onnodige ruimte vrij te maken.", "value": "Waarde", "value_required": "Waarde vereist", "version": "Versie {{version}}", diff --git a/interface/locales/ru/common.json b/interface/locales/ru/common.json index 0a985e129..d98078ae0 100644 --- a/interface/locales/ru/common.json +++ b/interface/locales/ru/common.json @@ -720,9 +720,9 @@ "uploaded_file": "Загружен файл!", "usage": "Использование", "usage_description": "Информация об использовании библиотеки и информация об вашем аппаратном обеспечении", - "vaccum": "Вакуум", - "vaccum_library": "Вакуум библиотеки", - "vaccum_library_description": "Переупакуйте базу данных, чтобы освободить ненужное пространство.", + "vacuum": "Вакуум", + "vacuum_library": "Вакуум библиотеки", + "vacuum_library_description": "Переупакуйте базу данных, чтобы освободить ненужное пространство.", "value": "Значение", "value_required": "Требуется значение", "version": "Версия {{version}}", diff --git a/interface/locales/tr/common.json b/interface/locales/tr/common.json index 8ddb2eb9e..301dc8375 100644 --- a/interface/locales/tr/common.json +++ b/interface/locales/tr/common.json @@ -715,9 +715,9 @@ "uploaded_file": "Uploaded file!", "usage": "Kullanım", "usage_description": "Kütüphanenizi kullanımı ve donanım bilgileri", - "vaccum": "Vakum", - "vaccum_library": "Vakum Kütüphanesi", - "vaccum_library_description": "Gereksiz alanı boşaltmak için veritabanınızı yeniden paketleyin.", + "vacuum": "Vakum", + "vacuum_library": "Vakum Kütüphanesi", + "vacuum_library_description": "Gereksiz alanı boşaltmak için veritabanınızı yeniden paketleyin.", "value": "Değer", "value_required": "Gerekli değer", "version": "Sürüm {{version}}", diff --git a/interface/locales/zh-CN/common.json b/interface/locales/zh-CN/common.json index e5cf6bb80..3c8c822eb 100644 --- a/interface/locales/zh-CN/common.json +++ b/interface/locales/zh-CN/common.json @@ -709,9 +709,9 @@ "uploaded_file": "文件成功上传!", "usage": "使用情况", "usage_description": "您的库使用情况和硬件信息", - "vaccum": "清理", - "vaccum_library": "清理库", - "vaccum_library_description": "重新打包数据库以释放不必要的空间。", + "vacuum": "清理", + "vacuum_library": "清理库", + "vacuum_library_description": "重新打包数据库以释放不必要的空间。", "value": "值", "value_required": "所需值", "version": "版本 {{version}}", diff --git a/interface/locales/zh-TW/common.json b/interface/locales/zh-TW/common.json index 7068195df..3f7d9e2dd 100644 --- a/interface/locales/zh-TW/common.json +++ b/interface/locales/zh-TW/common.json @@ -710,9 +710,9 @@ "uploaded_file": "Uploaded file!", "usage": "使用情況", "usage_description": "您的圖書館使用情況和硬體資訊。", - "vaccum": "真空", - "vaccum_library": "真空庫", - "vaccum_library_description": "重新打包資料庫以釋放不必要的空間。", + "vacuum": "真空", + "vacuum_library": "真空庫", + "vacuum_library_description": "重新打包資料庫以釋放不必要的空間。", "value": "值", "value_required": "所需值", "version": "版本 {{version}}", diff --git a/packages/client/src/core.ts b/packages/client/src/core.ts index 1758f89e3..dc5a361ab 100644 --- a/packages/client/src/core.ts +++ b/packages/client/src/core.ts @@ -104,7 +104,7 @@ export type Procedures = { { key: "library.edit", input: EditLibraryArgs, result: null } | { key: "library.startActor", input: LibraryArgs, result: null } | { key: "library.stopActor", input: LibraryArgs, result: null } | - { key: "library.vaccumDb", input: LibraryArgs, result: null } | + { key: "library.vacuumDb", input: LibraryArgs, result: null } | { key: "locations.addLibrary", input: LibraryArgs, result: number | null } | { key: "locations.create", input: LibraryArgs, result: number | null } | { key: "locations.delete", input: LibraryArgs, result: null } |