Skip to content

Commit

Permalink
Fix misspelled "vacuum" (#2595)
Browse files Browse the repository at this point in the history
  • Loading branch information
iLynxcat authored Jul 9, 2024
1 parent 391e18f commit b4193b7
Show file tree
Hide file tree
Showing 16 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion core/src/api/libraries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ pub(crate) fn mount() -> AlphaRouter<Ctx> {
}),
)
.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
Expand Down
12 changes: 6 additions & 6 deletions interface/app/$libraryId/settings/library/general.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function toMaybeUndefined<T>(v: T | null | undefined): MaybeUndefined<T> {
export const Component = () => {
const { library } = useLibraryContext();
const editLibrary = useBridgeMutation('library.edit');
const vaccumLibrary = useLibraryMutation('library.vaccumDb');
const vacuumLibrary = useLibraryMutation('library.vacuumDb');

const { t } = useLocale();

Expand Down Expand Up @@ -103,18 +103,18 @@ export const Component = () => {

<Setting
mini
title={t('vaccum_library')}
description={t('vaccum_library_description')}
title={t('vacuum_library')}
description={t('vacuum_library_description')}
>
<div className="mt-2">
<Button
onClick={() => vaccumLibrary.mutate(null)}
disabled={vaccumLibrary.isLoading}
onClick={() => vacuumLibrary.mutate(null)}
disabled={vacuumLibrary.isLoading}
size="sm"
variant="gray"
className="whitespace-nowrap"
>
{t('vaccum')}
{t('vacuum')}
</Button>
</div>
</Setting>
Expand Down
6 changes: 3 additions & 3 deletions interface/locales/ar/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
6 changes: 3 additions & 3 deletions interface/locales/be/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
6 changes: 3 additions & 3 deletions interface/locales/de/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
6 changes: 3 additions & 3 deletions interface/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
6 changes: 3 additions & 3 deletions interface/locales/es/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
6 changes: 3 additions & 3 deletions interface/locales/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
6 changes: 3 additions & 3 deletions interface/locales/it/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
6 changes: 3 additions & 3 deletions interface/locales/ja/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
6 changes: 3 additions & 3 deletions interface/locales/nl/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
6 changes: 3 additions & 3 deletions interface/locales/ru/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
6 changes: 3 additions & 3 deletions interface/locales/tr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
6 changes: 3 additions & 3 deletions interface/locales/zh-CN/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
6 changes: 3 additions & 3 deletions interface/locales/zh-TW/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export type Procedures = {
{ key: "library.edit", input: EditLibraryArgs, result: null } |
{ key: "library.startActor", input: LibraryArgs<string>, result: null } |
{ key: "library.stopActor", input: LibraryArgs<string>, result: null } |
{ key: "library.vaccumDb", input: LibraryArgs<null>, result: null } |
{ key: "library.vacuumDb", input: LibraryArgs<null>, result: null } |
{ key: "locations.addLibrary", input: LibraryArgs<LocationCreateArgs>, result: number | null } |
{ key: "locations.create", input: LibraryArgs<LocationCreateArgs>, result: number | null } |
{ key: "locations.delete", input: LibraryArgs<number>, result: null } |
Expand Down

0 comments on commit b4193b7

Please sign in to comment.