From 6b598383d31f20560bf05adda8472a8f5b437113 Mon Sep 17 00:00:00 2001 From: Weblate Date: Fri, 6 Sep 2024 07:32:16 +0000 Subject: [PATCH 01/31] Translated using Weblate (Polish) Currently translated at 100.0% (90 of 90 strings) Translated using Weblate (Polish) Currently translated at 100.0% (90 of 90 strings) Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (90 of 90 strings) Translated using Weblate (Catalan) Currently translated at 83.3% (75 of 90 strings) Translated using Weblate (Catalan) Currently translated at 83.3% (75 of 90 strings) Co-authored-by: Bart Co-authored-by: Jackxwb Co-authored-by: MyMemory Co-authored-by: Xavier Clotet Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/ca/ Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/pl/ Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/zh_Hans/ Translation: Homebox/Frontend --- frontend/locales/ca.json | 37 +++++++++++++++++++++++++++++++++-- frontend/locales/pl.json | 16 ++++++++++++--- frontend/locales/zh_Hans.json | 2 +- 3 files changed, 49 insertions(+), 6 deletions(-) diff --git a/frontend/locales/ca.json b/frontend/locales/ca.json index 820307a40..08bc7df68 100644 --- a/frontend/locales/ca.json +++ b/frontend/locales/ca.json @@ -72,9 +72,42 @@ "remember_me": "Recorda'm", "set_email": "Quin és el seu correu electrònic?", "set_name": "Com us dieu?", - "set_password": "Definiu la contrasenya" + "set_password": "Definiu la contrasenya", + "tagline": "Feu el seguiment, organitzeu i gestioneu les vostres coses." }, "items": { - "negate_labels": "Nega les etiquetes seleccionades" + "negate_labels": "Nega les etiquetes seleccionades", + "no_results": "No s'ha trobat cap element", + "tip_1": "Els filtres d'ubicació i etiquetes utilitzen l'operació «O». Si se'n selecciona més d'un, \nnomés se'n requerirà un per a coincidència.", + "add": "Afegeix", + "field_selector": "Selector del camp", + "field_value": "Valor del camp", + "first": "Primer", + "include_archive": "Inclou els articles arxivats", + "last": "Últim", + "next_page": "Pàgina següent", + "options": "Opcions", + "order_by": "Ordena per", + "tip_2": "Les cerques amb el prefix «#» sol·licitaran un ID d'un actiu (per exemple, «#000-001»)", + "tip_3": "Els filtres de camp utilitzen l'operació «O». Si se'n selecciona més d'un, \nnomés se'n requerirà un per a coincidència.", + "tips": "Consells", + "tips_sub": "Consells de cerca", + "updated_at": "Actualitzat a", + "query_id": "S'està consultant el número d'identificació de l'actiu: { id }", + "pages": "Pàgina { page } de { totalPages }", + "prev_page": "Pàgina anterior", + "reset_search": "Reinicia la cerca", + "results": "{ total } resultats" + }, + "profile": { + "active": "Actiu", + "change_password": "Canvia contrasenya", + "delete_account_sub": "Elimina el compte i totes les dades associades. Aquesta acció no es pot desfer.", + "enabled": "Habilitat", + "currency_format": "Format de moneda", + "current_password": "Contrasenya actual", + "delete_account": "Suprimeix el compte", + "gen_invite": "Genera un enllaç d'invitació", + "group_settings": "Ajustos del grup" } } diff --git a/frontend/locales/pl.json b/frontend/locales/pl.json index b134cdb03..a0290d5bb 100644 --- a/frontend/locales/pl.json +++ b/frontend/locales/pl.json @@ -4,7 +4,8 @@ "import_dialog": { "description": "Zaimportuj plik CSV zawierający Twoje przedmioty, etykiety i lokalizacje. Zobacz dokumentację, aby uzyskać \nwięcej informacji na temat wymaganego formatu.", "title": "Zaimportuj plik CSV", - "upload": "Prześlij" + "upload": "Prześlij", + "change_warning": "Zachowanie przy imporcie z istniejącymi import_ref zostało zmienione. Jeśli import_ref jest obecny w pliku CSV, \nprzedmiot zostanie zaktualizowany zgodnie z wartościami w pliku CSV." } }, "global": { @@ -110,9 +111,18 @@ "group_settings_sub": "Ustawienia grupy udostępnione. Możesz potrzebować odświeżyć przeglądarkę, aby niektóre ustawienia zostały zastosowane.", "inactive": "Nieaktywny", "new_password": "Nowe hasło", - "notifier_modal": "{ type, select, true {Edit} false {Create} other {Other}} Powiadomiony", + "notifier_modal": "{type, select, true {Edytuj} false {Utwórz} other {Inny}} Powiadomiacz", "enabled": "Włączone", "gen_invite": "Wygeneruj link z zaproszeniem", - "group_settings": "Ustawienia grupy" + "group_settings": "Ustawienia grupy", + "notifiers": "Powiadomiacze", + "notifiers_sub": "Otrzymuj powiadomienia o nadchodzących przypomnieniach o konserwacji", + "theme_settings_sub": "Ustawienia motywu są przechowywane w lokalnej pamięci przeglądarki. Możesz zmienić motyw w dowolnym momencie. \nJeśli masz problemy z ustawieniem motywu, spróbuj odświeżyć przeglądarkę.", + "test": "Test", + "theme_settings": "Ustawienia tematu", + "update_group": "Zaktualizuj grupę", + "url": "Adres URL", + "user_profile": "Profil użytkownika", + "user_profile_sub": "Zaproś użytkowników i zarządzaj swoim kontem." } } diff --git a/frontend/locales/zh_Hans.json b/frontend/locales/zh_Hans.json index 18c156146..fefb2bcb7 100644 --- a/frontend/locales/zh_Hans.json +++ b/frontend/locales/zh_Hans.json @@ -17,7 +17,7 @@ "selectable": { "card": "卡片模式", "items": "物品", - "no_items": "没有物品可用展示", + "no_items": "没有可展示的物品", "table": "表格模式" } } From 25d72044e9faea2b717bf23c1ab0ac7dbd2d70e5 Mon Sep 17 00:00:00 2001 From: Weblate Date: Fri, 6 Sep 2024 11:25:56 +0000 Subject: [PATCH 02/31] Added translation using Weblate (Hungarian) Co-authored-by: Adam Kleizer --- frontend/locales/hu.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 frontend/locales/hu.json diff --git a/frontend/locales/hu.json b/frontend/locales/hu.json new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/frontend/locales/hu.json @@ -0,0 +1 @@ +{} From 15925de2f09e8cb01334f2a966846ad89cc25dfb Mon Sep 17 00:00:00 2001 From: Tonya Date: Fri, 6 Sep 2024 14:49:28 +0000 Subject: [PATCH 03/31] feat: add eslint-plugin-tailwindcss (#199) --- frontend/.eslintrc.js | 1 + frontend/components/App/Header.vue | 20 ++--- frontend/components/App/ImportDialog.vue | 8 +- frontend/components/App/Toast.vue | 12 +-- frontend/components/Base/Card.vue | 8 +- frontend/components/Base/Container.vue | 2 +- frontend/components/Base/Modal.vue | 8 +- frontend/components/Base/SectionHeader.vue | 2 +- frontend/components/DetailAction.vue | 2 +- frontend/components/Form/Autocomplete.vue | 6 +- frontend/components/Form/Autocomplete2.vue | 14 +-- frontend/components/Form/Multiselect.vue | 8 +- frontend/components/Form/Password.vue | 4 +- frontend/components/Form/TextArea.vue | 4 +- frontend/components/Form/TextField.vue | 2 +- frontend/components/Item/AttachmentsList.vue | 8 +- frontend/components/Item/Card.vue | 36 ++------ frontend/components/Item/CreateModal.vue | 12 +-- frontend/components/Item/View/Selectable.vue | 16 ++-- frontend/components/Item/View/Table.vue | 16 ++-- frontend/components/Label/Chip.vue | 6 +- frontend/components/Label/CreateModal.vue | 6 +- frontend/components/Location/Card.vue | 10 +-- frontend/components/Location/CreateModal.vue | 6 +- frontend/components/Location/Selector.vue | 4 +- frontend/components/Location/Tree/Node.vue | 16 ++-- frontend/components/Location/Tree/Root.vue | 2 +- frontend/components/Search/Filter.vue | 23 ++--- .../global/DetailsSection/DetailsSection.vue | 12 +-- frontend/components/global/DropZone.vue | 2 +- frontend/components/global/PageQRCode.vue | 2 +- frontend/components/global/PasswordScore.vue | 2 +- frontend/components/global/Spacer.vue | 2 +- .../components/global/StatCard/StatCard.vue | 4 +- frontend/components/global/Subtitle.vue | 2 +- frontend/components/global/Table.vue | 2 +- frontend/layouts/404.vue | 2 +- frontend/layouts/default.vue | 32 +++---- frontend/package.json | 1 + frontend/pages/[...all].vue | 4 +- frontend/pages/assets/[id].vue | 2 +- frontend/pages/home/index.vue | 6 +- frontend/pages/index.vue | 85 ++++++++++++------- frontend/pages/item/[id]/index.vue | 44 +++++----- frontend/pages/item/[id]/index/edit.vue | 58 ++++++------- .../pages/item/[id]/index/maintenance.vue | 12 +-- frontend/pages/item/new.vue | 8 +- frontend/pages/items.vue | 62 +++++++------- frontend/pages/label/[id].vue | 12 +-- frontend/pages/location/[id].vue | 16 ++-- frontend/pages/locations.vue | 4 +- frontend/pages/profile.vue | 78 +++++++++-------- frontend/pages/reports/label-generator.vue | 14 +-- frontend/pages/tools.vue | 8 +- frontend/plugins/i18n.ts | 10 +-- frontend/pnpm-lock.yaml | 15 ++++ 56 files changed, 392 insertions(+), 371 deletions(-) diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js index c567952cf..e018b4b1c 100644 --- a/frontend/.eslintrc.js +++ b/frontend/.eslintrc.js @@ -11,6 +11,7 @@ module.exports = { "@nuxtjs/eslint-config-typescript", "plugin:vue/vue3-recommended", "plugin:prettier/recommended", + "plugin:tailwindcss/recommended", ], parserOptions: { ecmaVersion: "latest", diff --git a/frontend/components/App/Header.vue b/frontend/components/App/Header.vue index b42da7f66..c3703730b 100644 --- a/frontend/components/App/Header.vue +++ b/frontend/components/App/Header.vue @@ -68,23 +68,23 @@ -
+
- + -

+

HomeB - + x

-
+
-
+