first parts of external recipes in frontend

This commit is contained in:
vabene1111
2025-06-03 20:25:00 +02:00
parent c648ee954c
commit cd707d20a1
35 changed files with 389 additions and 6 deletions

View File

@@ -0,0 +1,53 @@
<template>
<model-editor-base
:loading="loading"
:dialog="dialog"
@save="saveObject"
@delete="deleteObject"
@close="emit('close'); editingObjChanged = false"
:is-update="isUpdate()"
:is-changed="editingObjChanged"
:model-class="modelClass"
:object-name="editingObjName()">
<v-card-text>
<v-form :disabled="loading">
<v-text-field :label="$t('Path')" v-model="editingObj.path"></v-text-field>
<v-checkbox :label="$t('Enabled')" v-model="editingObj.active"></v-checkbox>
<p>{{$t('Updated')}}: {{editingObj.updatedAt}}</p>
</v-form>
</v-card-text>
</model-editor-base>
</template>
<script setup lang="ts">
import {onMounted, PropType} from "vue";
import { Sync} from "@/openapi";
import ModelEditorBase from "@/components/model_editors/ModelEditorBase.vue";
import {useModelEditorFunctions} from "@/composables/useModelEditorFunctions";
const props = defineProps({
item: {type: {} as PropType<Sync>, required: false, default: null},
itemId: {type: [Number, String], required: false, default: undefined},
itemDefaults: {type: {} as PropType<Sync>, required: false, default: {} as Sync},
dialog: {type: Boolean, default: false}
})
const emit = defineEmits(['create', 'save', 'delete', 'close'])
const {setupState, deleteObject, saveObject, isUpdate, editingObjName, loading, editingObj, editingObjChanged, modelClass} = useModelEditorFunctions<Sync>('Sync', emit)
// object specific data (for selects/display)
onMounted(() => {
setupState(props.item, props.itemId, {itemDefaults: props.itemDefaults})
})
</script>
<style scoped>
</style>

View File

@@ -115,6 +115,7 @@
"Email": "",
"Empty": "",
"Enable_Amount": "",
"Enabled": "",
"Energy": "",
"Entries": "",
"ErrorUrlListImport": "",
@@ -124,6 +125,7 @@
"Export_Supported": "",
"Export_To_ICal": "",
"External": "",
"ExternalStorage": "",
"External_Recipe_Image": "",
"Failure": "",
"Fats": "",
@@ -375,6 +377,8 @@
"Step_start_time": "",
"Steps": "",
"StepsOverview": "",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "",
"Substitutes": "",
"Success": "",
@@ -386,6 +390,10 @@
"SupermarketHelp": "",
"SupermarketName": "",
"Supermarkets": "",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "",

View File

@@ -112,6 +112,7 @@
"Email": "",
"Empty": "Празно",
"Enable_Amount": "Активиране на сумата",
"Enabled": "",
"Energy": "Енергия",
"Entries": "",
"ErrorUrlListImport": "",
@@ -121,6 +122,7 @@
"Export_Supported": "Поддържа се експорт",
"Export_To_ICal": "Експортиране на .ics",
"External": "Външен",
"ExternalStorage": "",
"External_Recipe_Image": "Външно изображение на рецептата",
"Failure": "Неуспешно",
"Fats": "Мазнини",
@@ -368,6 +370,8 @@
"Step_start_time": "Стъпка Начално време",
"Steps": "",
"StepsOverview": "",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "Имате заместител под ръка.",
"Substitutes": "",
"Success": "Успешно",
@@ -379,6 +383,10 @@
"SupermarketHelp": "",
"SupermarketName": "Име на супермаркет",
"Supermarkets": "Супермаркети",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Съдържание",

View File

@@ -148,6 +148,7 @@
"Empty": "",
"Enable": "",
"Enable_Amount": "Habiliteu quantitat",
"Enabled": "",
"EndDate": "",
"Energy": "",
"Entries": "",
@@ -159,6 +160,7 @@
"Export_Supported": "",
"Export_To_ICal": "",
"External": "",
"ExternalStorage": "",
"External_Recipe_Image": "Imatge externa de la recepta",
"FDC_ID": "",
"FDC_ID_help": "",
@@ -454,6 +456,8 @@
"StepsOverview": "",
"Sticky_Nav": "",
"Sticky_Nav_Help": "",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "",
"Substitutes": "",
"Success": "",
@@ -465,6 +469,10 @@
"SupermarketHelp": "",
"SupermarketName": "",
"Supermarkets": "",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Taula de continguts",

View File

@@ -148,6 +148,7 @@
"Empty": "Prázdné",
"Enable": "Aktivovat",
"Enable_Amount": "Zobrazit množství",
"Enabled": "",
"EndDate": "Konečné datum",
"Energy": "Energie",
"Entries": "",
@@ -159,6 +160,7 @@
"Export_Supported": "Export podporován",
"Export_To_ICal": "Export ovat .ics",
"External": "Externí",
"ExternalStorage": "",
"External_Recipe_Image": "Externí obrázek receptu",
"FDC_ID": "FDC ID",
"FDC_ID_help": "ID v databázi FDC",
@@ -450,6 +452,8 @@
"StepsOverview": "",
"Sticky_Nav": "Připnout navigační panel",
"Sticky_Nav_Help": "Vždy zobrazit navigační panel na vrchu stránky.",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "Máte k dispozici náhradu.",
"Substitutes": "",
"Success": "Úspěch",
@@ -461,6 +465,10 @@
"SupermarketHelp": "",
"SupermarketName": "Název obchodu",
"Supermarkets": "Obchody",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Obsah",

View File

@@ -138,6 +138,7 @@
"Email": "",
"Empty": "Tom",
"Enable_Amount": "Aktiver antal",
"Enabled": "",
"EndDate": "Slutdato",
"Energy": "Energi",
"Entries": "",
@@ -148,6 +149,7 @@
"Export_Supported": "Eksport understøttet",
"Export_To_ICal": "Eksporter .ics",
"External": "Ekstern",
"ExternalStorage": "",
"External_Recipe_Image": "Eksternt billede af opskrift",
"FDC_ID": "FDC ID",
"FDC_ID_help": "FDC database ID",
@@ -430,6 +432,8 @@
"StepsOverview": "",
"Sticky_Nav": "Fastlåst navigation",
"Sticky_Nav_Help": "Vis altid navigationsmenuen øverst på skærmen.",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "Du har erstatninger tilgængeligt.",
"Substitutes": "",
"Success": "Succes",
@@ -441,6 +445,10 @@
"SupermarketHelp": "",
"SupermarketName": "Navn på supermarked",
"Supermarkets": "Supermarkeder",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Indholdsfortegnelse",

View File

@@ -151,6 +151,7 @@
"Empty": "Leer",
"Enable": "Aktivieren",
"Enable_Amount": "Menge aktivieren",
"Enabled": "Aktiviert",
"EndDate": "Enddatum",
"Energy": "Energie",
"Entries": "Einträge",
@@ -162,6 +163,7 @@
"Export_Supported": "Exportieren wird unterstützt",
"Export_To_ICal": "Export als .ics",
"External": "Extern",
"ExternalStorage": "Externer Speicher",
"External_Recipe_Image": "Externes Rezeptbild",
"FDC_ID": "FDC ID",
"FDC_ID_help": "FDC Datenbank ID",
@@ -458,6 +460,8 @@
"StepsOverview": "Schrittübersicht",
"Sticky_Nav": "Navigationsleiste immer sichtbar (sticky navigation)",
"Sticky_Nav_Help": "Navigationsleiste immer im Seitenkopf anzeigen.",
"Storage": "Externer speicher",
"StorageHelp": "Externe Speicherorte an denen Rezepte als Dateien (Foto/PDF) abgelegt und mit Tandor syncronisiert werden können.",
"SubstituteOnHand": "Du hast eine Alternative vorrätig.",
"Substitutes": "Alternativen",
"Success": "Erfolgreich",
@@ -469,6 +473,10 @@
"SupermarketHelp": "In Supermärkten können Kategorien zugeordnet werden um die Einkaufsliste automatisch zu sortieren oder zu filtern. ",
"SupermarketName": "Name Supermarkt",
"Supermarkets": "Supermärkte",
"SyncLog": "Syncronisations Log",
"SyncLogHelp": "Protokoll über die syncronisation externer Datenquellen.",
"SyncedPath": "Überwachter Ordner",
"SyncedPathHelp": "Ordner auf externen Speicherorten die Überwacht werden. ",
"System": "System",
"Table": "Tabelle",
"Table_of_Contents": "Inhaltsverzeichnis",

View File

@@ -137,6 +137,7 @@
"Email": "",
"Empty": "Κενό",
"Enable_Amount": "Ενεργοποίηση ποσότητας",
"Enabled": "",
"Energy": "Ενέργεια",
"Entries": "",
"ErrorUrlListImport": "",
@@ -146,6 +147,7 @@
"Export_Supported": "Υποστηρίζεται εξαγωγή",
"Export_To_ICal": "Εξαγωγή .ics",
"External": "Εξωτερική",
"ExternalStorage": "",
"External_Recipe_Image": "Εξωτερική εικόνα συνταγής",
"Failure": "Αποτυχία",
"Fats": "Λιπαρά",
@@ -421,6 +423,8 @@
"StepsOverview": "",
"Sticky_Nav": "Κολλητική πλοήγηση",
"Sticky_Nav_Help": "Μόνιμη εμφάνιση του μενού πλοήγησης στο πάνω μέρος της οθόνης.",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "Έχετε διαθέσιμο ένα υποκατάστατο.",
"Substitutes": "",
"Success": "Επιτυχία",
@@ -432,6 +436,10 @@
"SupermarketHelp": "",
"SupermarketName": "Όνομα supermarket",
"Supermarkets": "Supermarket",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Πίνακας περιεχομένων",

View File

@@ -149,6 +149,7 @@
"Empty": "Empty",
"Enable": "Enable",
"Enable_Amount": "Enable Amount",
"Enabled": "Enabled",
"EndDate": "End Date",
"Energy": "Energy",
"Entries": "Entries",
@@ -160,6 +161,7 @@
"Export_Supported": "Export supported",
"Export_To_ICal": "Export .ics",
"External": "External",
"ExternalStorage": "External storage",
"External_Recipe_Image": "External Recipe Image",
"FDC_ID": "FDC ID",
"FDC_ID_help": "FDC database ID",
@@ -456,6 +458,8 @@
"StepsOverview": "Steps Overview",
"Sticky_Nav": "Sticky Navigation",
"Sticky_Nav_Help": "Always show the navigation menu at the top of the screen.",
"Storage": "External Storage",
"StorageHelp": "External storage locations where recipe files (image/pdf) can be stored and synced with Tandoor.",
"SubstituteOnHand": "You have a substitute on hand.",
"Substitutes": "Substitutes",
"Success": "Success",
@@ -467,6 +471,10 @@
"SupermarketHelp": "With supermarkets you can link categories to automatically sort and filter shopping lists. ",
"SupermarketName": "Supermarket Name",
"Supermarkets": "Supermarkets",
"SyncLog": "Syncronization Log",
"SyncLogHelp": "Protocol for external recipe sync.",
"SyncedPath": "Synced folder",
"SyncedPathHelp": "Folders on external storage locations that are monitored. ",
"System": "System",
"Table": "Table",
"Table_of_Contents": "Table of Contents",

View File

@@ -149,6 +149,7 @@
"Empty": "Vacio",
"Enable": "Activado",
"Enable_Amount": "Habilitar cantidad",
"Enabled": "",
"EndDate": "Fecha de Fin",
"Energy": "Energia",
"Entries": "",
@@ -160,6 +161,7 @@
"Export_Supported": "Exportación soportada",
"Export_To_ICal": "Exportar .ics",
"External": "Externo",
"ExternalStorage": "",
"External_Recipe_Image": "Imagen externa de la receta",
"FDC_ID": "FDC ID",
"FDC_ID_help": "FDC ID de base de datos",
@@ -454,6 +456,8 @@
"StepsOverview": "",
"Sticky_Nav": "Navegación Fija",
"Sticky_Nav_Help": "Mostrar siempre el menú de navegación el la parte superior de la pantalla.",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "Tienen un sustituto disponible.",
"Substitutes": "",
"Success": "Exito",
@@ -465,6 +469,10 @@
"SupermarketHelp": "",
"SupermarketName": "Nombre del Supermercado",
"Supermarkets": "Supermercados",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Tabla de contenido",

View File

@@ -91,6 +91,7 @@
"Email": "",
"Empty": "Tyhjä",
"Enable_Amount": "Ota Määrä käyttöön",
"Enabled": "",
"Energy": "Energia",
"Entries": "",
"ErrorUrlListImport": "",
@@ -98,6 +99,7 @@
"Export_As_ICal": "Vie nykyinen jakso iCal muotoon",
"Export_To_ICal": "Vie .ics",
"External": "Ulkoinen",
"ExternalStorage": "",
"External_Recipe_Image": "Ulkoinen reseptin kuva",
"Failure": "Epäonnistui",
"Fats": "Rasvat",
@@ -297,12 +299,18 @@
"Step_start_time": "Vaiheen aloitusaika",
"Steps": "",
"StepsOverview": "",
"Storage": "",
"StorageHelp": "",
"Substitutes": "",
"Success": "Onnistui",
"Sunday": "",
"Supermarket": "Supermarket",
"SupermarketCategoryHelp": "",
"SupermarketHelp": "",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Sisällysluettelo",

View File

@@ -148,6 +148,7 @@
"Empty": "Vider",
"Enable": "Activer",
"Enable_Amount": "Activer la quantité",
"Enabled": "",
"EndDate": "Date de fin",
"Energy": "Énergie",
"Entries": "",
@@ -159,6 +160,7 @@
"Export_Supported": "Exportation prise en charge",
"Export_To_ICal": "Exporter .ics",
"External": "Externe",
"ExternalStorage": "",
"External_Recipe_Image": "Image de recette externe",
"FDC_ID": "ID FCD",
"FDC_ID_help": "ID de base de données FDC",
@@ -454,6 +456,8 @@
"StepsOverview": "",
"Sticky_Nav": "Barre de navigation collante",
"Sticky_Nav_Help": "Toujours afficher le menu de navigation en haut de lécran.",
"Storage": "",
"StorageHelp": "",
"Substitutes": "",
"Success": "Réussite",
"SuccessClipboard": "Liste de courses copiée dans le presse-papiers",
@@ -464,6 +468,10 @@
"SupermarketHelp": "",
"SupermarketName": "Nom du supermarché",
"Supermarkets": "Supermarchés",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Table des Matières",

View File

@@ -149,6 +149,7 @@
"Empty": "ריק",
"Enable": "הפעל",
"Enable_Amount": "אפשר כמות",
"Enabled": "",
"EndDate": "תאריך סיום",
"Energy": "אנרגיה",
"Entries": "",
@@ -160,6 +161,7 @@
"Export_Supported": "ייצוא נתמך",
"Export_To_ICal": "ייצא .ics",
"External": "חיצוני",
"ExternalStorage": "",
"External_Recipe_Image": "תמונת מתכון חיצונית",
"FDC_ID": "מספר FDC",
"FDC_ID_help": "מספר FDC",
@@ -455,6 +457,8 @@
"StepsOverview": "",
"Sticky_Nav": "ניווט דביק",
"Sticky_Nav_Help": "תמיד הצג את תפריט הניווט בראש העמוד.",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "יש לך תחלופה זמינה.",
"Substitutes": "",
"Success": "הצלחה",
@@ -466,6 +470,10 @@
"SupermarketHelp": "",
"SupermarketName": "שם סופרמרקט",
"Supermarkets": "סופרמרקטים",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "תוכן עניינים",

View File

@@ -136,6 +136,7 @@
"Email": "",
"Empty": "Üres",
"Enable_Amount": "Összeg bekapcsolása",
"Enabled": "",
"EndDate": "Befejezés dátuma",
"Energy": "Energia",
"Entries": "",
@@ -146,6 +147,7 @@
"Export_Supported": "",
"Export_To_ICal": "",
"External": "Külső",
"ExternalStorage": "",
"External_Recipe_Image": "Külső receptkép",
"Failure": "Hiba",
"Fats": "Zsírok",
@@ -423,6 +425,8 @@
"Steps": "",
"StepsOverview": "",
"Sticky_Nav_Help": "A navigációs menü mindig a képernyő tetején jelenjen meg.",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "Van elérhető helyettesítője.",
"Substitutes": "",
"Success": "Sikeres",
@@ -434,6 +438,10 @@
"SupermarketHelp": "",
"SupermarketName": "Szupermarket neve",
"Supermarkets": "Szupermarketek",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Tartalomjegyzék",

View File

@@ -74,11 +74,13 @@
"Edit_Recipe": "Խմբագրել բաղադրատոմսը",
"Email": "",
"Empty": "Դատարկ",
"Enabled": "",
"Energy": "",
"Entries": "",
"ErrorUrlListImport": "",
"Export": "",
"External": "",
"ExternalStorage": "",
"External_Recipe_Image": "",
"Fats": "",
"File": "",
@@ -235,12 +237,18 @@
"Step_start_time": "Քայլի սկսելու ժամանակը",
"Steps": "",
"StepsOverview": "",
"Storage": "",
"StorageHelp": "",
"Substitutes": "",
"Success": "",
"Sunday": "",
"Supermarket": "",
"SupermarketCategoryHelp": "",
"SupermarketHelp": "",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Բովանդակություն",

View File

@@ -126,6 +126,7 @@
"Email": "",
"Empty": "",
"Enable_Amount": "Aktifkan Jumlah",
"Enabled": "",
"Energy": "Energi",
"Entries": "",
"ErrorUrlListImport": "",
@@ -135,6 +136,7 @@
"Export_Supported": "",
"Export_To_ICal": "",
"External": "Luar",
"ExternalStorage": "",
"External_Recipe_Image": "Gambar Resep Eksternal",
"Failure": "Kegagalan",
"Fats": "Lemak",
@@ -399,6 +401,8 @@
"StepsOverview": "",
"Sticky_Nav": "",
"Sticky_Nav_Help": "",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "",
"Substitutes": "",
"Success": "Sukses",
@@ -410,6 +414,10 @@
"SupermarketHelp": "",
"SupermarketName": "",
"Supermarkets": "",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Daftar isi",

View File

@@ -148,6 +148,7 @@
"Empty": "",
"Enable": "",
"Enable_Amount": "",
"Enabled": "",
"EndDate": "",
"Energy": "",
"Entries": "",
@@ -159,6 +160,7 @@
"Export_Supported": "",
"Export_To_ICal": "",
"External": "",
"ExternalStorage": "",
"External_Recipe_Image": "",
"FDC_ID": "",
"FDC_ID_help": "",
@@ -453,6 +455,8 @@
"StepsOverview": "",
"Sticky_Nav": "",
"Sticky_Nav_Help": "",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "",
"Substitutes": "",
"Success": "",
@@ -464,6 +468,10 @@
"SupermarketHelp": "",
"SupermarketName": "",
"Supermarkets": "",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "",

View File

@@ -131,6 +131,7 @@
"Email": "",
"Empty": "Vuoto",
"Enable_Amount": "Abilita Quantità",
"Enabled": "",
"Energy": "Energia",
"Entries": "",
"ErrorUrlListImport": "",
@@ -140,6 +141,7 @@
"Export_Supported": "Esportazione supportata",
"Export_To_ICal": "Esporta .ics",
"External": "Esterna",
"ExternalStorage": "",
"External_Recipe_Image": "Immagine ricetta esterna",
"Failure": "Errore",
"Fats": "Grassi",
@@ -408,6 +410,8 @@
"StepsOverview": "",
"Sticky_Nav": "Navigazione con menu fissato",
"Sticky_Nav_Help": "Mostra sempre il menu di navigazione in alto.",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "Hai un sostituto disponibile.",
"Substitutes": "",
"Success": "Riuscito",
@@ -419,6 +423,10 @@
"SupermarketHelp": "",
"SupermarketName": "Nome supermercato",
"Supermarkets": "Supermercati",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Indice dei contenuti",

View File

@@ -138,6 +138,7 @@
"Email": "",
"Empty": "",
"Enable_Amount": "Įjungti sumą",
"Enabled": "",
"EndDate": "",
"Energy": "",
"Entries": "",
@@ -148,6 +149,7 @@
"Export_Supported": "",
"Export_To_ICal": "",
"External": "",
"ExternalStorage": "",
"External_Recipe_Image": "Išorinis recepto vaizdas",
"Failure": "",
"Fats": "",
@@ -428,6 +430,8 @@
"StepsOverview": "",
"Sticky_Nav": "",
"Sticky_Nav_Help": "",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "",
"Substitutes": "",
"Success": "",
@@ -439,6 +443,10 @@
"SupermarketHelp": "",
"SupermarketName": "",
"Supermarkets": "",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Turinys",

View File

@@ -135,6 +135,7 @@
"Email": "",
"Empty": "Tom",
"Enable_Amount": "Aktiver mengde",
"Enabled": "",
"Energy": "Energi",
"Entries": "",
"ErrorUrlListImport": "",
@@ -144,6 +145,7 @@
"Export_Supported": "",
"Export_To_ICal": "Eksporter .ics",
"External": "Ekstern",
"ExternalStorage": "",
"External_Recipe_Image": "Bilde av ekstern oppskrift",
"Failure": "Feil",
"Fats": "Fett",
@@ -419,6 +421,8 @@
"StepsOverview": "",
"Sticky_Nav": "",
"Sticky_Nav_Help": "",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "",
"Substitutes": "",
"Success": "Vellykket",
@@ -430,6 +434,10 @@
"SupermarketHelp": "",
"SupermarketName": "Butikk Navn",
"Supermarkets": "Butikker",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Innholdsfortegnelse",

View File

@@ -139,6 +139,7 @@
"Email": "",
"Empty": "Leeg",
"Enable_Amount": "Schakel hoeveelheid in",
"Enabled": "",
"Energy": "Energie",
"Entries": "",
"ErrorUrlListImport": "",
@@ -148,6 +149,7 @@
"Export_Supported": "Export ondersteund",
"Export_To_ICal": "Exporteer .ics",
"External": "Externe",
"ExternalStorage": "",
"External_Recipe_Image": "Externe Afbeelding Recept",
"Failure": "Storing",
"Fats": "Vetten",
@@ -423,6 +425,8 @@
"StepsOverview": "",
"Sticky_Nav": "Navigatie altijd zichbaar",
"Sticky_Nav_Help": "Geef navigatiemenu altijd bovenin weer.",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "Je hebt een vervanger op voorraad.",
"Substitutes": "",
"Success": "Succes",
@@ -434,6 +438,10 @@
"SupermarketHelp": "",
"SupermarketName": "Naam supermarkt",
"Supermarkets": "Supermarkten",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Inhoudsopgave",

View File

@@ -150,6 +150,7 @@
"Empty": "Pusty",
"Enable": "Włączyć",
"Enable_Amount": "Włącz ilość",
"Enabled": "",
"EndDate": "Data końcowa",
"Energy": "Energia",
"Entries": "",
@@ -161,6 +162,7 @@
"Export_Supported": "Eksportowanie wspierane",
"Export_To_ICal": "Eksportuj .ics",
"External": "Zewnętrzny",
"ExternalStorage": "",
"External_Recipe_Image": "Zewnętrzny obraz dla przepisu",
"FDC_ID": "Identyfikator FDC",
"FDC_ID_help": "Identyfikator bazy FDC",
@@ -456,6 +458,8 @@
"StepsOverview": "",
"Sticky_Nav": "Przyklejona nawigacja",
"Sticky_Nav_Help": "Zawsze pokazuj menu nawigacyjne u góry ekranu.",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "Masz pod ręką zamienniki.",
"Substitutes": "",
"Success": "Powodzenie",
@@ -467,6 +471,10 @@
"SupermarketHelp": "",
"SupermarketName": "Nazwa supermarketu",
"Supermarkets": "Supermarkety",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Spis treści",

View File

@@ -116,6 +116,7 @@
"Email": "",
"Empty": "Esvaziar",
"Enable_Amount": "Ativar quantidade",
"Enabled": "",
"Energy": "Energia",
"Entries": "",
"ErrorUrlListImport": "",
@@ -123,6 +124,7 @@
"Export_As_ICal": "Exportar período atual para o formato ICal",
"Export_To_ICal": "Exportar .ics",
"External": "Externo",
"ExternalStorage": "",
"External_Recipe_Image": "Imagem da receita externa",
"Failure": "Falha",
"Fats": "Gorduras",
@@ -362,6 +364,8 @@
"Step_start_time": "Hora de Inicio do passo",
"Steps": "",
"StepsOverview": "",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "",
"Substitutes": "",
"Success": "Sucesso",
@@ -373,6 +377,10 @@
"SupermarketHelp": "",
"SupermarketName": "",
"Supermarkets": "Supermercados",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Tabela de Conteúdos",

View File

@@ -145,6 +145,7 @@
"Email": "",
"Empty": "Vazio",
"Enable_Amount": "Habilitar Quantidade",
"Enabled": "",
"EndDate": "Data Fim",
"Energy": "Energia",
"Entries": "",
@@ -155,6 +156,7 @@
"Export_Supported": "Exportação suportada",
"Export_To_ICal": "Exportar .ics",
"External": "Externo",
"ExternalStorage": "",
"External_Recipe_Image": "Imagem externa da receita",
"FDC_ID": "FDC ID",
"FDC_ID_help": "ID do banco de dados FDC",
@@ -438,6 +440,8 @@
"Steps": "",
"StepsOverview": "",
"Sticky_Nav_Help": "Permitir mostrar o menu de navegação no topo da tela.",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "Você tem um substituto disponível.",
"Substitutes": "",
"Success": "Sucesso",
@@ -449,6 +453,10 @@
"SupermarketHelp": "",
"SupermarketName": "Nome do Supermercado",
"Supermarkets": "Supermercados",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Índice",

View File

@@ -133,6 +133,7 @@
"Email": "",
"Empty": "Gol",
"Enable_Amount": "Activare cantitate",
"Enabled": "",
"Energy": "Energie",
"Entries": "",
"ErrorUrlListImport": "",
@@ -142,6 +143,7 @@
"Export_Supported": "Export compatibil",
"Export_To_ICal": "Exportă .ics",
"External": "Extern",
"ExternalStorage": "",
"External_Recipe_Image": "Imagine rețetă externă",
"Failure": "Eșec",
"Fats": "Grăsimi",
@@ -412,6 +414,8 @@
"StepsOverview": "",
"Sticky_Nav": "Navigare lipicioasă",
"Sticky_Nav_Help": "Afișați întotdeauna meniul de navigare din partea de sus a ecranului.",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "Ai un înlocuitor la îndemână.",
"Substitutes": "",
"Success": "Succes",
@@ -423,6 +427,10 @@
"SupermarketHelp": "",
"SupermarketName": "Numele supermarketului",
"Supermarkets": "Supermarket-uri",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Cuprins",

View File

@@ -106,6 +106,7 @@
"Email": "",
"Empty": "Пустой",
"Enable_Amount": "Активировать Количество",
"Enabled": "",
"Energy": "Энергетическая ценность",
"Entries": "",
"ErrorUrlListImport": "",
@@ -113,6 +114,7 @@
"Export_As_ICal": "Экспорт текущего периода в iCal формат",
"Export_To_ICal": "Экспортировать .ics",
"External": "Внешний",
"ExternalStorage": "",
"External_Recipe_Image": "Изображение рецепта из внешнего источника",
"Failure": "Ошибка",
"Fats": "Жиры",
@@ -347,6 +349,8 @@
"Step_start_time": "Время начала шага",
"Steps": "",
"StepsOverview": "",
"Storage": "",
"StorageHelp": "",
"Substitutes": "",
"Success": "Успешно",
"Sunday": "",
@@ -355,6 +359,10 @@
"SupermarketCategoryHelp": "",
"SupermarketHelp": "",
"Supermarkets": "Супермаркеты",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Содержимое",

View File

@@ -106,6 +106,7 @@
"Email": "",
"Empty": "Prazno",
"Enable_Amount": "Omogoči količino",
"Enabled": "",
"Energy": "Energija",
"Entries": "",
"ErrorUrlListImport": "",
@@ -113,6 +114,7 @@
"Export_As_ICal": "Izvozi trenutno obdobje v iCal format",
"Export_To_ICal": "Izvoz.ics",
"External": "Zunanje",
"ExternalStorage": "",
"External_Recipe_Image": "Zunanja slika recepta",
"Failure": "Napaka",
"Fats": "Maščobe",
@@ -336,6 +338,8 @@
"Step_start_time": "Začetni čas koraka",
"Steps": "",
"StepsOverview": "",
"Storage": "",
"StorageHelp": "",
"Substitutes": "",
"Success": "Uspešno",
"SuccessClipboard": "Nakupovalni listek je kopiran v odložišče",
@@ -345,6 +349,10 @@
"SupermarketCategoryHelp": "",
"SupermarketHelp": "",
"SupermarketName": "Ime trgovine",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Kazalo vsebine",

View File

@@ -150,6 +150,7 @@
"Empty": "Tom",
"Enable": "Aktivera",
"Enable_Amount": "Aktivera belopp",
"Enabled": "",
"EndDate": "Slutdatum",
"Energy": "Energi",
"Entries": "",
@@ -161,6 +162,7 @@
"Export_Supported": "Export stöds",
"Export_To_ICal": "Exportera .ics",
"External": "Extern",
"ExternalStorage": "",
"External_Recipe_Image": "Extern receptbild",
"FDC_ID": "FDC ID",
"FDC_ID_help": "FDC databas ID",
@@ -456,6 +458,8 @@
"StepsOverview": "",
"Sticky_Nav": "Fastlåst navigering",
"Sticky_Nav_Help": "Visa alltid navigeringsmenyn högst upp på skärmen.",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "Du har ett substitut till hands.",
"Substitutes": "",
"Success": "Lyckas",
@@ -467,6 +471,10 @@
"SupermarketHelp": "",
"SupermarketName": "Mataffärens namn",
"Supermarkets": "Mataffärer",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Innehållsförteckning",

View File

@@ -149,6 +149,7 @@
"Empty": "Boş",
"Enable": "Etkinleştir",
"Enable_Amount": "Tutarı Etkinleştir",
"Enabled": "",
"EndDate": "Bitiş Tarihi",
"Energy": "Enerji",
"Entries": "",
@@ -160,6 +161,7 @@
"Export_Supported": "Desteklenen Dışa Aktarma",
"Export_To_ICal": ".ics olarak dışa aktar",
"External": "Harici",
"ExternalStorage": "",
"External_Recipe_Image": "Harici Tarif Resim",
"FDC_ID": "FDC Kimlik",
"FDC_ID_help": "FDC veritabanı Kimlik",
@@ -455,6 +457,8 @@
"StepsOverview": "",
"Sticky_Nav": "Yapışkan Gezinme Çubuğu",
"Sticky_Nav_Help": "Gezinme menüsünü her zaman ekranın üst kısmında gösterin.",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "Elinizde bir yedek var.",
"Substitutes": "",
"Success": "Başarılı",
@@ -466,6 +470,10 @@
"SupermarketHelp": "",
"SupermarketName": "Süpermarket Adı",
"Supermarkets": "Marketler",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "İçindekiler Tablosu",

View File

@@ -121,6 +121,7 @@
"Email": "",
"Empty": "Пусто",
"Enable_Amount": "Включити Кількість",
"Enabled": "",
"Energy": "Енергія",
"Entries": "",
"ErrorUrlListImport": "",
@@ -130,6 +131,7 @@
"Export_Supported": "",
"Export_To_ICal": "Експортувати .ics",
"External": "Зовнішній",
"ExternalStorage": "",
"External_Recipe_Image": "Зображення Зовнішнього Рецепту",
"Failure": "Невдало",
"Fats": "Жири",
@@ -383,6 +385,8 @@
"Step_start_time": "Час початку кроку",
"Steps": "",
"StepsOverview": "",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "",
"Substitutes": "",
"Success": "Успішно",
@@ -394,6 +398,10 @@
"SupermarketHelp": "",
"SupermarketName": "",
"Supermarkets": "",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "Зміст",

View File

@@ -146,6 +146,7 @@
"Empty": "空的",
"Enable": "启用",
"Enable_Amount": "启用金额",
"Enabled": "",
"EndDate": "结束日期",
"Energy": "能量",
"Entries": "",
@@ -156,6 +157,7 @@
"Export_Supported": "导出支持",
"Export_To_ICal": "导出 .ics",
"External": "外部",
"ExternalStorage": "",
"External_Recipe_Image": "外部食谱图像",
"FDC_ID": "FDC ID",
"FDC_ID_help": "FDC数据库ID",
@@ -449,6 +451,8 @@
"StepsOverview": "",
"Sticky_Nav": "粘性导航",
"Sticky_Nav_Help": "始终在屏幕顶部显示导航菜单。",
"Storage": "",
"StorageHelp": "",
"SubstituteOnHand": "你手头有一个替代品。",
"Substitutes": "",
"Success": "成功",
@@ -460,6 +464,10 @@
"SupermarketHelp": "",
"SupermarketName": "超市名",
"Supermarkets": "超市",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "目录",

View File

@@ -62,11 +62,13 @@
"DuplicateFoundInfo": "",
"Edit": "",
"Email": "",
"Enabled": "",
"Energy": "",
"Entries": "",
"ErrorUrlListImport": "",
"Export": "",
"External": "",
"ExternalStorage": "",
"External_Recipe_Image": "外部食譜圖片",
"Failure": "",
"Fats": "",
@@ -205,12 +207,18 @@
"Step_start_time": "步驟開始時間",
"Steps": "",
"StepsOverview": "",
"Storage": "",
"StorageHelp": "",
"Substitutes": "",
"Success": "",
"Sunday": "",
"Supermarket": "",
"SupermarketCategoryHelp": "",
"SupermarketHelp": "",
"SyncLog": "",
"SyncLogHelp": "",
"SyncedPath": "",
"SyncedPathHelp": "",
"System": "",
"Table": "",
"Table_of_Contents": "目錄",

View File

@@ -49,13 +49,26 @@
<database-model-col model="Automation"></database-model-col>
<database-model-col model="UserFile"></database-model-col>
<database-model-col model="CustomFilter"></database-model-col>
<database-link-col :to="{name: 'IngredientEditorPage'}"
<database-model-col model="CookLog"></database-model-col>
<database-model-col model="ViewLog"></database-model-col>
<database-link-col :to="{name: 'IngredientEditorPage'}"
prepend-icon="fa-solid fa-table-list"
:title="$t('Ingredient Editor')"
:subtitle="$t('IngredientEditorHelp')">
</database-link-col>
</v-row>
<v-row>
<v-col>
<h2>{{ $t('External') }}</h2>
</v-col>
</v-row>
<v-row dense>
<database-model-col model="Sync"></database-model-col>
<database-model-col model="SyncLog"></database-model-col>
<database-model-col model="Storage"></database-model-col>
</v-row>
</v-container>

View File

@@ -12,9 +12,9 @@
<v-row dense>
<v-col>
<v-card :prepend-icon="genericModel.model.icon" :title="$t(genericModel.model.localizationKey)">
<template #subtitle v-if="TFood.localizationKeyDescription">
<template #subtitle v-if="genericModel.model.localizationKeyDescription">
<div class="text-wrap">
{{ $t(TFood.localizationKeyDescription) }}
{{ $t(genericModel.model.localizationKeyDescription) }}
</div>
</template>
<template #append>

View File

@@ -1,6 +1,6 @@
import {
AccessToken,
ApiApi, Automation, type AutomationTypeEnum, CustomFilter,
ApiApi, Automation, type AutomationTypeEnum, CookLog, CustomFilter,
Food,
Ingredient,
InviteLink, Keyword,
@@ -10,10 +10,10 @@ import {
Recipe, RecipeBook, RecipeBookEntry, ShoppingListEntry,
Step,
Supermarket,
SupermarketCategory,
SupermarketCategory, Sync, SyncLog,
Unit,
UnitConversion, User, UserFile,
UserSpace
UserSpace, ViewLog
} from "@/openapi";
import {VDataTable} from "vuetify/components";
import {getNestedProperty} from "@/utils/utils";
@@ -135,6 +135,11 @@ export type EditorSupportedModels =
| 'RecipeBook'
| 'RecipeBookEntry'
| 'CustomFilter'
| 'Sync'
| 'SyncLog'
| 'Storage'
| 'CookLog'
| 'ViewLog'
// used to type methods/parameters in conjunction with configuration type
export type EditorSupportedTypes =
@@ -161,6 +166,11 @@ export type EditorSupportedTypes =
| RecipeBook
| RecipeBookEntry
| CustomFilter
| Sync
| SyncLog
| Storage
| CookLog
| ViewLog
export const TFood = {
name: 'Food',
@@ -612,6 +622,65 @@ export const TInviteLink = {
} as Model
registerModel(TInviteLink)
export const TStorage = {
name: 'Storage',
localizationKey: 'Storage',
localizationKeyDescription: 'StorageHelp',
icon: 'fa-solid fa-cloud',
disableListView: false,
toStringKeys: ['name'],
isPaginated: false,
tableHeaders: [
{title: 'Name', key: 'name'},
{title: 'Actions', key: 'action', align: 'end'},
]
} as Model
registerModel(TStorage)
export const TSync = {
name: 'Sync',
localizationKey: 'SyncedPath',
localizationKeyDescription: 'SyncedPathHelp',
icon: 'fa-solid fa-folder-plus',
disableListView: false,
toStringKeys: ['path'],
isPaginated: true,
tableHeaders: [
{title: 'SyncedPath', key: 'path'},
{title: 'ExternalStorage', key: 'storage.name'},
{title: 'Updated', key: 'lastChecked'},
{title: 'Actions', key: 'action', align: 'end'},
]
} as Model
registerModel(TSync)
export const TSyncLog = {
name: 'SyncLog',
localizationKey: 'SyncLog',
localizationKeyDescription: 'SyncLogHelp',
icon: 'fa-solid fa-bars-staggered',
disableListView: false,
toStringKeys: ['sync.path'],
isPaginated: true,
disableCreate: true,
disableDelete: true,
disableUpdate: true,
tableHeaders: [
{title: 'SyncedPath', key: 'sync.path'},
{title: 'Status', key: 'status'},
{title: 'Created', key: 'createdAt'},
{title: 'Actions', key: 'action', align: 'end'},
]
} as Model
registerModel(TSyncLog)
export const TFoodInheritField = {
name: 'FoodInheritField',
localizationKey: 'FoodInherit',