diff --git a/Taskfile.yml b/Taskfile.yml index c54c075db..5352a3ca3 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -71,6 +71,7 @@ tasks: desc: run code generators cmds: - poetry run python dev/code-generation/main.py {{ .CLI_ARGS }} + - task: docs:gen - task: py:format dev:services: diff --git a/dev/code-generation/gen_ts_types.py b/dev/code-generation/gen_ts_types.py index 408262f25..8a8932299 100644 --- a/dev/code-generation/gen_ts_types.py +++ b/dev/code-generation/gen_ts_types.py @@ -8,8 +8,8 @@ from utils import log # ============================================================ template = """// This Code is auto generated by gen_ts_types.py -{% for name in global %}import {{ name }} from "@/components/global/{{ name }}.vue"; -{% endfor %}{% for name in layout %}import {{ name }} from "@/components/layout/{{ name }}.vue"; +{% for name in global %}import type {{ name }} from "@/components/global/{{ name }}.vue"; +{% endfor %}{% for name in layout %}import type {{ name }} from "@/components/layout/{{ name }}.vue"; {% endfor %} declare module "vue" { export interface GlobalComponents { diff --git a/docker/Dockerfile b/docker/Dockerfile index e745a574d..b859a2610 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,7 +1,8 @@ ############################################### # Frontend Build ############################################### -FROM node:20 AS frontend-builder +FROM node:20@sha256:572a90df10a58ebb7d3f223d661d964a6c2383a9c2b5763162b4f631c53dc56a \ + AS frontend-builder WORKDIR /frontend @@ -20,7 +21,8 @@ RUN yarn generate ############################################### # Base Image - Python ############################################### -FROM python:3.12-slim AS python-base +FROM python:3.12-slim@sha256:2267adc248a477c1f1a852a07a5a224d42abe54c28aafa572efa157dfb001bba \ + AS python-base ENV MEALIE_HOME="/app" @@ -132,7 +134,7 @@ RUN apt-get update \ gosu \ iproute2 \ libldap-common \ - libldap-2.5 \ + libldap2 \ && rm -rf /var/lib/apt/lists/* # create directory used for Docker Secrets diff --git a/docs/docs/overrides/api.html b/docs/docs/overrides/api.html index 64a6e5cf4..0dc543851 100644 --- a/docs/docs/overrides/api.html +++ b/docs/docs/overrides/api.html @@ -14,7 +14,7 @@
diff --git a/frontend/components/Domain/Cookbook/CookbookPage.vue b/frontend/components/Domain/Cookbook/CookbookPage.vue index a8cff6753..2267276cc 100644 --- a/frontend/components/Domain/Cookbook/CookbookPage.vue +++ b/frontend/components/Domain/Cookbook/CookbookPage.vue @@ -70,7 +70,7 @@ import RecipeCardSection from "@/components/Domain/Recipe/RecipeCardSection.vue" import { useCookbookStore } from "~/composables/store/use-cookbook-store"; import { useCookbook } from "~/composables/use-group-cookbooks"; import { useLoggedInState } from "~/composables/use-logged-in-state"; -import type { RecipeCookBook } from "~/lib/api/types/cookbook"; +import type { ReadCookBook } from "~/lib/api/types/cookbook"; import CookbookEditor from "~/components/Domain/Cookbook/CookbookEditor.vue"; const $auth = useMealieAuth(); @@ -100,7 +100,7 @@ const dialogStates = reactive({ edit: false, }); -const editTarget = ref(null); +const editTarget = ref(null); function handleEditCookbook() { dialogStates.edit = true; editTarget.value = book.value; diff --git a/frontend/components/Domain/Recipe/RecipeList.vue b/frontend/components/Domain/Recipe/RecipeList.vue index 667e78cbf..98857de52 100644 --- a/frontend/components/Domain/Recipe/RecipeList.vue +++ b/frontend/components/Domain/Recipe/RecipeList.vue @@ -1,5 +1,5 @@ + diff --git a/frontend/composables/api/static-routes.ts b/frontend/composables/api/static-routes.ts index 3b65d183d..31eda446e 100644 --- a/frontend/composables/api/static-routes.ts +++ b/frontend/composables/api/static-routes.ts @@ -4,43 +4,39 @@ function UnknownToString(ukn: string | unknown) { export const useStaticRoutes = () => { const { $config } = useNuxtApp(); - const serverBase = useRequestURL().origin; - const prefix = `${$config.public.SUB_PATH}/api`.replace("//", "/"); - const fullBase = serverBase + prefix; - // Methods to Generate reference urls for assets/images * function recipeImage(recipeId: string, version: string | unknown = "", key: string | number = 1) { - return `${fullBase}/media/recipes/${recipeId}/images/original.webp?rnd=${key}&version=${UnknownToString(version)}`; + return `${prefix}/media/recipes/${recipeId}/images/original.webp?rnd=${key}&version=${UnknownToString(version)}`; } function recipeSmallImage(recipeId: string, version: string | unknown = "", key: string | number = 1) { - return `${fullBase}/media/recipes/${recipeId}/images/min-original.webp?rnd=${key}&version=${UnknownToString( + return `${prefix}/media/recipes/${recipeId}/images/min-original.webp?rnd=${key}&version=${UnknownToString( version, )}`; } function recipeTinyImage(recipeId: string, version: string | unknown = "", key: string | number = 1) { - return `${fullBase}/media/recipes/${recipeId}/images/tiny-original.webp?rnd=${key}&version=${UnknownToString( + return `${prefix}/media/recipes/${recipeId}/images/tiny-original.webp?rnd=${key}&version=${UnknownToString( version, )}`; } function recipeTimelineEventImage(recipeId: string, timelineEventId: string) { - return `${fullBase}/media/recipes/${recipeId}/images/timeline/${timelineEventId}/original.webp`; + return `${prefix}/media/recipes/${recipeId}/images/timeline/${timelineEventId}/original.webp`; } function recipeTimelineEventSmallImage(recipeId: string, timelineEventId: string) { - return `${fullBase}/media/recipes/${recipeId}/images/timeline/${timelineEventId}/min-original.webp`; + return `${prefix}/media/recipes/${recipeId}/images/timeline/${timelineEventId}/min-original.webp`; } function recipeTimelineEventTinyImage(recipeId: string, timelineEventId: string) { - return `${fullBase}/media/recipes/${recipeId}/images/timeline/${timelineEventId}/tiny-original.webp`; + return `${prefix}/media/recipes/${recipeId}/images/timeline/${timelineEventId}/tiny-original.webp`; } function recipeAssetPath(recipeId: string, assetName: string) { - return `${fullBase}/media/recipes/${recipeId}/assets/${assetName}`; + return `${prefix}/media/recipes/${recipeId}/assets/${assetName}`; } return { diff --git a/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-copy.ts b/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-copy.ts new file mode 100644 index 000000000..f4f87c235 --- /dev/null +++ b/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-copy.ts @@ -0,0 +1,50 @@ +import type { ShoppingListItemOut } from "~/lib/api/types/household"; +import { useCopyList } from "~/composables/use-copy"; + +type CopyTypes = "plain" | "markdown"; + +/** + * Composable for managing shopping list copy functionality + */ +export function useShoppingListCopy() { + const copy = useCopyList(); + + function copyListItems(itemsByLabel: { [key: string]: ShoppingListItemOut[] }, copyType: CopyTypes) { + const text: string[] = []; + Object.entries(itemsByLabel).forEach(([label, items], idx) => { + if (idx) { + text.push(""); + } + + text.push(formatCopiedLabelHeading(copyType, label)); + items.forEach(item => text.push(formatCopiedListItem(copyType, item))); + }); + + copy.copyPlain(text); + } + + function formatCopiedListItem(copyType: CopyTypes, item: ShoppingListItemOut): string { + const display = item.display || ""; + switch (copyType) { + case "markdown": + return `- [ ] ${display}`; + default: + return display; + } + } + + function formatCopiedLabelHeading(copyType: CopyTypes, label: string): string { + switch (copyType) { + case "markdown": + return `# ${label}`; + default: + return `[${label}]`; + } + } + + return { + copyListItems, + formatCopiedListItem, + formatCopiedLabelHeading, + }; +} diff --git a/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-crud.ts b/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-crud.ts new file mode 100644 index 000000000..05911b81d --- /dev/null +++ b/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-crud.ts @@ -0,0 +1,263 @@ +import type { ShoppingListOut, ShoppingListItemOut, ShoppingListMultiPurposeLabelOut } from "~/lib/api/types/household"; +import { useUserApi } from "~/composables/api"; +import { uuid4 } from "~/composables/use-utils"; + +/** + * Composable for managing shopping list item CRUD operations + */ +export function useShoppingListCrud( + shoppingList: Ref, + loadingCounter: Ref, + listItems: { unchecked: ShoppingListItemOut[]; checked: ShoppingListItemOut[] }, + shoppingListItemActions: any, + refresh: () => void, + sortCheckedItems: (a: ShoppingListItemOut, b: ShoppingListItemOut) => number, + updateListItemOrder: () => void, +) { + const { t } = useI18n(); + const userApi = useUserApi(); + + const createListItemData = ref(listItemFactory()); + const localLabels = ref(); + + function listItemFactory(): ShoppingListItemOut { + return { + id: uuid4(), + shoppingListId: shoppingList.value?.id || "", + checked: false, + position: shoppingList.value?.listItems?.length || 1, + quantity: 0, + note: "", + labelId: undefined, + unitId: undefined, + foodId: undefined, + } as ShoppingListItemOut; + } + + // Check/Uncheck All operations + function checkAllItems() { + let hasChanged = false; + shoppingList.value?.listItems?.forEach((item) => { + if (!item.checked) { + hasChanged = true; + item.checked = true; + } + }); + if (hasChanged) { + updateUncheckedListItems(); + } + } + + function uncheckAllItems() { + let hasChanged = false; + shoppingList.value?.listItems?.forEach((item) => { + if (item.checked) { + hasChanged = true; + item.checked = false; + } + }); + if (hasChanged) { + listItems.unchecked = [...listItems.unchecked, ...listItems.checked]; + listItems.checked = []; + updateUncheckedListItems(); + } + } + + function deleteCheckedItems() { + const checked = shoppingList.value?.listItems?.filter(item => item.checked); + + if (!checked || checked?.length === 0) { + return; + } + + loadingCounter.value += 1; + deleteListItems(checked); + loadingCounter.value -= 1; + refresh(); + } + + function saveListItem(item: ShoppingListItemOut) { + if (!shoppingList.value) { + return; + } + + // set a temporary updatedAt timestamp prior to refresh so it appears at the top of the checked items + item.updatedAt = new Date().toISOString(); + + // make updates reflect immediately + if (shoppingList.value.listItems) { + shoppingList.value.listItems.forEach((oldListItem: ShoppingListItemOut, idx: number) => { + if (oldListItem.id === item.id && shoppingList.value?.listItems) { + shoppingList.value.listItems[idx] = item; + } + }); + // Immediately update checked/unchecked arrays for UI + listItems.unchecked = shoppingList.value.listItems.filter(i => !i.checked); + listItems.checked = shoppingList.value.listItems.filter(i => i.checked) + .sort(sortCheckedItems); + } + + // Update the item if it's checked, otherwise updateUncheckedListItems will handle it + if (item.checked) { + shoppingListItemActions.updateItem(item); + } + + updateListItemOrder(); + updateUncheckedListItems(); + } + + function deleteListItem(item: ShoppingListItemOut) { + if (!shoppingList.value) { + return; + } + + shoppingListItemActions.deleteItem(item); + + // remove the item from the list immediately so the user sees the change + if (shoppingList.value.listItems) { + shoppingList.value.listItems = shoppingList.value.listItems.filter(itm => itm.id !== item.id); + } + + refresh(); + } + + function deleteListItems(items: ShoppingListItemOut[]) { + if (!shoppingList.value) { + return; + } + + items.forEach((item) => { + shoppingListItemActions.deleteItem(item); + }); + // remove the items from the list immediately so the user sees the change + if (shoppingList.value?.listItems) { + const deletedItems = new Set(items.map(item => item.id)); + shoppingList.value.listItems = shoppingList.value.listItems.filter(itm => !deletedItems.has(itm.id)); + } + + refresh(); + } + + function createListItem() { + if (!shoppingList.value) { + return; + } + + if (!createListItemData.value.foodId && !createListItemData.value.note) { + // don't create an empty item + return; + } + + loadingCounter.value += 1; + + // make sure it's inserted into the end of the list, which may have been updated + createListItemData.value.position = shoppingList.value?.listItems?.length + ? (shoppingList.value.listItems.reduce((a, b) => (a.position || 0) > (b.position || 0) ? a : b).position || 0) + 1 + : 0; + + createListItemData.value.createdAt = new Date().toISOString(); + createListItemData.value.updatedAt = createListItemData.value.createdAt; + + updateListItemOrder(); + + shoppingListItemActions.createItem(createListItemData.value); + loadingCounter.value -= 1; + + if (shoppingList.value.listItems) { + // add the item to the list immediately so the user sees the change + shoppingList.value.listItems.push(createListItemData.value); + updateListItemOrder(); + } + createListItemData.value = listItemFactory(); + refresh(); + } + + function updateUncheckedListItems() { + if (!shoppingList.value?.listItems) { + return; + } + + // Set position for unchecked items + listItems.unchecked.forEach((item: ShoppingListItemOut, idx: number) => { + item.position = idx; + shoppingListItemActions.updateItem(item); + }); + + refresh(); + } + + // Label management + function updateLabelOrder(labelSettings: ShoppingListMultiPurposeLabelOut[]) { + if (!shoppingList.value) { + return; + } + + labelSettings.forEach((labelSetting, index) => { + labelSetting.position = index; + return labelSetting; + }); + + localLabels.value = labelSettings; + } + + function cancelLabelOrder() { + loadingCounter.value -= 1; + if (!shoppingList.value) { + return; + } + // restore original state + localLabels.value = shoppingList.value.labelSettings; + } + + async function saveLabelOrder(updateItemsByLabel: () => void) { + if (!shoppingList.value || !localLabels.value || (localLabels.value === shoppingList.value.labelSettings)) { + return; + } + + loadingCounter.value += 1; + const { data } = await userApi.shopping.lists.updateLabelSettings(shoppingList.value.id, localLabels.value); + loadingCounter.value -= 1; + + if (data) { + // update shoppingList labels using the API response + shoppingList.value.labelSettings = (data as ShoppingListOut).labelSettings; + updateItemsByLabel(); + } + } + + function toggleReorderLabelsDialog(reorderLabelsDialog: Ref) { + // stop polling and populate localLabels + loadingCounter.value += 1; + reorderLabelsDialog.value = !reorderLabelsDialog.value; + localLabels.value = shoppingList.value?.labelSettings; + } + + // Context menu actions + const contextActions = { + delete: "delete", + }; + + const contextMenu = [ + { title: t("general.delete"), action: contextActions.delete }, + ]; + + return { + createListItemData, + localLabels, + listItemFactory, + checkAllItems, + uncheckAllItems, + deleteCheckedItems, + saveListItem, + deleteListItem, + deleteListItems, + createListItem, + updateUncheckedListItems, + updateLabelOrder, + cancelLabelOrder, + saveLabelOrder, + toggleReorderLabelsDialog, + contextActions, + contextMenu, + }; +} diff --git a/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-data.ts b/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-data.ts new file mode 100644 index 000000000..39f128a8e --- /dev/null +++ b/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-data.ts @@ -0,0 +1,117 @@ +import { useOnline, useIdle } from "@vueuse/core"; +import type { ShoppingListOut } from "~/lib/api/types/household"; +import { useShoppingListItemActions } from "~/composables/use-shopping-list-item-actions"; + +/** + * Composable for managing shopping list data fetching and polling + */ +export function useShoppingListData(listId: string, shoppingList: Ref, loadingCounter: Ref) { + const isOffline = computed(() => useOnline().value === false); + const { idle } = useIdle(5 * 60 * 1000); // 5 minutes + const shoppingListItemActions = useShoppingListItemActions(listId); + + async function fetchShoppingList() { + const data = await shoppingListItemActions.getList(); + return data; + } + + async function refresh(updateListItemOrder: () => void) { + loadingCounter.value += 1; + try { + await shoppingListItemActions.process(); + } + catch (error) { + console.error(error); + } + + let newListValue: typeof shoppingList.value = null; + try { + newListValue = await fetchShoppingList(); + } + catch (error) { + console.error(error); + } + + loadingCounter.value -= 1; + + // only update the list with the new value if we're not loading, to prevent UI jitter + if (loadingCounter.value) { + return; + } + + // Prevent overwriting local changes with stale backend data when offline + if (isOffline.value) { + // Do not update shoppingList.value from backend when offline + updateListItemOrder(); + return; + } + + // if we're not connected to the network, this will be null, so we don't want to clear the list + if (newListValue) { + shoppingList.value = newListValue; + } + + updateListItemOrder(); + } + + // constantly polls for changes + async function pollForChanges(updateListItemOrder: () => void) { + // pause polling if the user isn't active or we're busy + if (idle.value || loadingCounter.value) { + return; + } + + try { + await refresh(updateListItemOrder); + + if (shoppingList.value) { + attempts = 0; + return; + } + + // if the refresh was unsuccessful, the shopping list will be null, so we increment the attempt counter + attempts++; + } + catch { + attempts++; + } + + // if we hit too many errors, stop polling + if (attempts >= maxAttempts) { + clearInterval(pollTimer); + } + } + + // start polling + loadingCounter.value -= 1; + + // max poll time = pollFrequency * maxAttempts = 24 hours + // we use a long max poll time since polling stops when the user is idle anyway + const pollFrequency = 5000; + const maxAttempts = 17280; + let attempts = 0; + let pollTimer: ReturnType; + + function startPolling(updateListItemOrder: () => void) { + pollForChanges(updateListItemOrder); // populate initial list + + pollTimer = setInterval(() => { + pollForChanges(updateListItemOrder); + }, pollFrequency); + } + + function stopPolling() { + if (pollTimer) { + clearInterval(pollTimer); + } + } + + return { + isOffline, + fetchShoppingList, + refresh, + startPolling, + stopPolling, + shoppingListItemActions, + }; +} diff --git a/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-labels.ts b/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-labels.ts new file mode 100644 index 000000000..3cd9d5c1b --- /dev/null +++ b/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-labels.ts @@ -0,0 +1,73 @@ +import { useToggle } from "@vueuse/core"; +import type { ShoppingListOut, ShoppingListItemOut } from "~/lib/api/types/household"; + +/** + * Composable for managing shopping list label state and operations + */ +export function useShoppingListLabels(shoppingList: Ref) { + const { t } = useI18n(); + const labelOpenState = ref<{ [key: string]: boolean }>({}); + const [showChecked, toggleShowChecked] = useToggle(false); + + const initializeLabelOpenStates = () => { + if (!shoppingList.value?.listItems) return; + + const existingLabels = new Set(Object.keys(labelOpenState.value)); + let hasChanges = false; + + for (const item of shoppingList.value.listItems) { + const labelName = item.label?.name || t("shopping-list.no-label"); + if (!existingLabels.has(labelName) && !(labelName in labelOpenState.value)) { + labelOpenState.value[labelName] = true; + hasChanges = true; + } + } + + if (hasChanges) { + labelOpenState.value = { ...labelOpenState.value }; + } + }; + + const labelNames = computed(() => { + return new Set( + shoppingList.value?.listItems + ?.map(item => item.label?.name || t("shopping-list.no-label")) + .filter(Boolean) ?? [], + ); + }); + + watch(labelNames, initializeLabelOpenStates, { immediate: true }); + + function toggleShowLabel(key: string) { + labelOpenState.value[key] = !labelOpenState.value[key]; + } + + function getLabelColor(item: ShoppingListItemOut | null) { + return item?.label?.color; + } + + const presentLabels = computed(() => { + const labels: Array<{ id: string; name: string }> = []; + + shoppingList.value?.listItems?.forEach((item) => { + if (item.labelId && item.label) { + labels.push({ + name: item.label.name, + id: item.labelId, + }); + } + }); + + return labels; + }); + + return { + labelOpenState, + showChecked, + toggleShowChecked, + toggleShowLabel, + getLabelColor, + presentLabels, + initializeLabelOpenStates, + }; +} diff --git a/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-recipes.ts b/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-recipes.ts new file mode 100644 index 000000000..38a8704da --- /dev/null +++ b/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-recipes.ts @@ -0,0 +1,51 @@ +import type { ShoppingListOut } from "~/lib/api/types/household"; +import { useUserApi } from "~/composables/api"; + +/** + * Composable for managing shopping list recipe references + */ +export function useShoppingListRecipes( + shoppingList: Ref, + loadingCounter: Ref, + recipeReferenceLoading: Ref, + refresh: () => void, +) { + const userApi = useUserApi(); + + async function addRecipeReferenceToList(recipeId: string) { + if (!shoppingList.value || recipeReferenceLoading.value) { + return; + } + + loadingCounter.value += 1; + recipeReferenceLoading.value = true; + const { data } = await userApi.shopping.lists.addRecipes(shoppingList.value.id, [{ recipeId }]); + recipeReferenceLoading.value = false; + loadingCounter.value -= 1; + + if (data) { + refresh(); + } + } + + async function removeRecipeReferenceToList(recipeId: string) { + if (!shoppingList.value || recipeReferenceLoading.value) { + return; + } + + loadingCounter.value += 1; + recipeReferenceLoading.value = true; + const { data } = await userApi.shopping.lists.removeRecipe(shoppingList.value.id, recipeId); + recipeReferenceLoading.value = false; + loadingCounter.value -= 1; + + if (data) { + refresh(); + } + } + + return { + addRecipeReferenceToList, + removeRecipeReferenceToList, + }; +} diff --git a/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-sorting.ts b/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-sorting.ts new file mode 100644 index 000000000..290ee49c9 --- /dev/null +++ b/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-sorting.ts @@ -0,0 +1,135 @@ +import type { ShoppingListOut, ShoppingListItemOut } from "~/lib/api/types/household"; + +interface ListItemGroup { + position: number; + createdAt: string; + items: ShoppingListItemOut[]; +} + +/** + * Composable for managing shopping list item sorting and organization + */ +export function useShoppingListSorting() { + const { t } = useI18n(); + + function sortItems(a: ShoppingListItemOut | ListItemGroup, b: ShoppingListItemOut | ListItemGroup) { + // Sort by position ASC, then by createdAt ASC + const posA = a.position ?? 0; + const posB = b.position ?? 0; + if (posA !== posB) { + return posA - posB; + } + const createdA = a.createdAt ?? ""; + const createdB = b.createdAt ?? ""; + if (createdA !== createdB) { + return createdA < createdB ? -1 : 1; + } + return 0; + } + + function groupAndSortListItemsByFood(shoppingList: ShoppingListOut) { + if (!shoppingList?.listItems?.length) { + return; + } + + const checkedItemKey = "__checkedItem"; + const listItemGroupsMap = new Map(); + listItemGroupsMap.set(checkedItemKey, { position: Number.MAX_SAFE_INTEGER, createdAt: "", items: [] }); + + // group items by checked status, food, or note + shoppingList.listItems.forEach((item) => { + const key = item.checked + ? checkedItemKey + : item.food?.name + ? item.food.name + : item.note || ""; + + const group = listItemGroupsMap.get(key); + if (!group) { + listItemGroupsMap.set(key, { position: item.position || 0, createdAt: item.createdAt || "", items: [item] }); + } + else { + group.items.push(item); + } + }); + + const listItemGroups = Array.from(listItemGroupsMap.values()); + listItemGroups.sort(sortItems); + + // sort group items, then aggregate them + const sortedItems: ShoppingListItemOut[] = []; + let nextPosition = 0; + listItemGroups.forEach((listItemGroup) => { + listItemGroup.items.sort(sortItems); + listItemGroup.items.forEach((item) => { + item.position = nextPosition; + nextPosition += 1; + sortedItems.push(item); + }); + }); + + shoppingList.listItems = sortedItems; + } + + function sortListItems(shoppingList: ShoppingListOut) { + if (!shoppingList?.listItems?.length) { + return; + } + + shoppingList.listItems.sort(sortItems); + } + + function updateItemsByLabel(shoppingList: ShoppingListOut) { + const items: { [prop: string]: ShoppingListItemOut[] } = {}; + const noLabelText = t("shopping-list.no-label"); + const noLabel = [] as ShoppingListItemOut[]; + + shoppingList?.listItems?.forEach((item) => { + if (item.checked) { + return; + } + + if (item.labelId) { + if (item.label && item.label.name in items) { + items[item.label.name].push(item); + } + else if (item.label) { + items[item.label.name] = [item]; + } + } + else { + noLabel.push(item); + } + }); + + if (noLabel.length > 0) { + items[noLabelText] = noLabel; + } + + // sort the map by label order + const orderedLabelNames = shoppingList?.labelSettings?.map(labelSetting => labelSetting.label.name); + if (!orderedLabelNames) { + return items; + } + + const itemsSorted: { [prop: string]: ShoppingListItemOut[] } = {}; + if (noLabelText in items) { + itemsSorted[noLabelText] = items[noLabelText]; + } + + orderedLabelNames.forEach((labelName) => { + if (labelName in items) { + itemsSorted[labelName] = items[labelName]; + } + }); + + return itemsSorted; + } + + return { + sortItems, + groupAndSortListItemsByFood, + sortListItems, + updateItemsByLabel, + }; +} diff --git a/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-state.ts b/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-state.ts new file mode 100644 index 000000000..1e2133247 --- /dev/null +++ b/frontend/composables/shopping-list-page/sub-composables/use-shopping-list-state.ts @@ -0,0 +1,70 @@ +import type { ShoppingListOut, ShoppingListItemOut } from "~/lib/api/types/household"; + +/** + * Composable for managing shopping list state and reactive data + */ +export function useShoppingListState() { + const shoppingList = ref(null); + const loadingCounter = ref(1); + const recipeReferenceLoading = ref(false); + const preserveItemOrder = ref(false); + + // UI state + const edit = ref(false); + const threeDot = ref(false); + const reorderLabelsDialog = ref(false); + const createEditorOpen = ref(false); + + // Dialog states + const state = reactive({ + checkAllDialog: false, + uncheckAllDialog: false, + deleteCheckedDialog: false, + }); + + // Hydrate listItems from shoppingList.value?.listItems + const listItems = reactive({ + unchecked: [] as ShoppingListItemOut[], + checked: [] as ShoppingListItemOut[], + }); + + function sortCheckedItems(a: ShoppingListItemOut, b: ShoppingListItemOut) { + if (a.updatedAt! === b.updatedAt!) { + return ((a.position || 0) > (b.position || 0)) ? -1 : 1; + } + return a.updatedAt! < b.updatedAt! ? 1 : -1; + } + + watch( + () => shoppingList.value?.listItems, + (items) => { + listItems.unchecked = (items?.filter(item => !item.checked) ?? []); + listItems.checked = (items?.filter(item => item.checked) + .sort(sortCheckedItems) ?? []); + }, + { immediate: true }, + ); + + const recipeMap = computed(() => new Map( + (shoppingList.value?.recipeReferences?.map(ref => ref.recipe) ?? []) + .map(recipe => [recipe.id || "", recipe])), + ); + + const recipeList = computed(() => Array.from(recipeMap.value.values())); + + return { + shoppingList, + loadingCounter, + recipeReferenceLoading, + preserveItemOrder, + edit, + threeDot, + reorderLabelsDialog, + createEditorOpen, + state, + listItems, + recipeMap, + recipeList, + sortCheckedItems, + }; +} diff --git a/frontend/composables/shopping-list-page/use-shopping-list-page.ts b/frontend/composables/shopping-list-page/use-shopping-list-page.ts new file mode 100644 index 000000000..0c42f09a4 --- /dev/null +++ b/frontend/composables/shopping-list-page/use-shopping-list-page.ts @@ -0,0 +1,194 @@ +import type { ShoppingListItemOut } from "~/lib/api/types/household"; +import { useShoppingListState } from "~/composables/shopping-list-page/sub-composables/use-shopping-list-state"; +import { useShoppingListData } from "~/composables/shopping-list-page/sub-composables/use-shopping-list-data"; +import { useShoppingListSorting } from "~/composables/shopping-list-page/sub-composables/use-shopping-list-sorting"; +import { useShoppingListLabels } from "~/composables/shopping-list-page/sub-composables/use-shopping-list-labels"; +import { useShoppingListCopy } from "~/composables/shopping-list-page/sub-composables/use-shopping-list-copy"; +import { useShoppingListCrud } from "~/composables/shopping-list-page/sub-composables/use-shopping-list-crud"; +import { useShoppingListRecipes } from "~/composables/shopping-list-page/sub-composables/use-shopping-list-recipes"; + +/** + * Main composable that orchestrates all shopping list page functionality + */ +export function useShoppingListPage(listId: string) { + // Initialize state + const state = useShoppingListState(); + const { + shoppingList, + loadingCounter, + recipeReferenceLoading, + preserveItemOrder, + listItems, + sortCheckedItems, + } = state; + + // Initialize sorting functionality + const sorting = useShoppingListSorting(); + const { groupAndSortListItemsByFood, sortListItems, updateItemsByLabel } = sorting; + + // Track items organized by label + const itemsByLabel = ref<{ [key: string]: ShoppingListItemOut[] }>({}); + + function updateListItemOrder() { + if (!shoppingList.value) return; + + if (!preserveItemOrder.value) { + groupAndSortListItemsByFood(shoppingList.value); + } + else { + sortListItems(shoppingList.value); + } + + const labeledItems = updateItemsByLabel(shoppingList.value); + if (labeledItems) { + itemsByLabel.value = labeledItems; + } + } + + // Initialize data management + const dataManager = useShoppingListData(listId, shoppingList, loadingCounter); + const { isOffline, refresh: baseRefresh, startPolling, stopPolling, shoppingListItemActions } = dataManager; + + const refresh = () => baseRefresh(updateListItemOrder); + + // Initialize shopping list labels + const labels = useShoppingListLabels(shoppingList); + + // Initialize copy functionality + const copyManager = useShoppingListCopy(); + + // Initialize CRUD operations + const crud = useShoppingListCrud( + shoppingList, + loadingCounter, + listItems, + shoppingListItemActions, + refresh, + sortCheckedItems, + updateListItemOrder, + ); + + // Initialize recipe management + const recipes = useShoppingListRecipes( + shoppingList, + loadingCounter, + recipeReferenceLoading, + refresh, + ); + + // Handle item reordering by label + function updateIndexUncheckedByLabel(labelName: string, labeledUncheckedItems: ShoppingListItemOut[]) { + if (!itemsByLabel.value[labelName]) { + return; + } + + // update this label's item order + itemsByLabel.value[labelName] = labeledUncheckedItems; + + // reset list order of all items + const allUncheckedItems: ShoppingListItemOut[] = []; + for (const labelKey in itemsByLabel.value) { + allUncheckedItems.push(...itemsByLabel.value[labelKey]); + } + + // since the user has manually reordered the list, we should preserve this order + preserveItemOrder.value = true; + + // save changes + listItems.unchecked = allUncheckedItems; + listItems.checked = shoppingList.value?.listItems?.filter(item => item.checked) || []; + crud.updateUncheckedListItems(); + } + + // Dialog helpers + function openCheckAll() { + if (shoppingList.value?.listItems?.some(item => !item.checked)) { + state.state.checkAllDialog = true; + } + } + + function openUncheckAll() { + if (shoppingList.value?.listItems?.some(item => item.checked)) { + state.state.uncheckAllDialog = true; + } + } + + function openDeleteChecked() { + if (shoppingList.value?.listItems?.some(item => item.checked)) { + state.state.deleteCheckedDialog = true; + } + } + + function checkAll() { + state.state.checkAllDialog = false; + crud.checkAllItems(); + } + + function uncheckAll() { + state.state.uncheckAllDialog = false; + crud.uncheckAllItems(); + } + + function deleteChecked() { + state.state.deleteCheckedDialog = false; + crud.deleteCheckedItems(); + } + + // Copy functionality wrapper + function copyListItems(copyType: "plain" | "markdown") { + copyManager.copyListItems(itemsByLabel.value, copyType); + } + + // Label reordering helpers + function toggleReorderLabelsDialog() { + crud.toggleReorderLabelsDialog(state.reorderLabelsDialog); + } + + async function saveLabelOrder() { + await crud.saveLabelOrder(() => { + const labeledItems = updateItemsByLabel(shoppingList.value!); + if (labeledItems) { + itemsByLabel.value = labeledItems; + } + }); + } + + // Lifecycle management + onMounted(() => { + startPolling(updateListItemOrder); + }); + + onUnmounted(() => { + stopPolling(); + }); + + return { + itemsByLabel, + isOffline, + + // Sub-composables + ...state, + ...labels, + ...crud, + ...recipes, + + // Specialized functions + updateIndexUncheckedByLabel, + copyListItems, + + // Dialog actions + openCheckAll, + openUncheckAll, + openDeleteChecked, + checkAll, + uncheckAll, + deleteChecked, + + // Label management + toggleReorderLabelsDialog, + saveLabelOrder, + + // Data refresh + refresh, + }; +} diff --git a/frontend/composables/store/use-cookbook-store.ts b/frontend/composables/store/use-cookbook-store.ts index 8f56e9e7b..755bf9da1 100644 --- a/frontend/composables/store/use-cookbook-store.ts +++ b/frontend/composables/store/use-cookbook-store.ts @@ -1,15 +1,15 @@ import type { Composer } from "vue-i18n"; import { useReadOnlyStore, useStore } from "../partials/use-store-factory"; -import type { RecipeCookBook, UpdateCookBook } from "~/lib/api/types/cookbook"; +import type { ReadCookBook, UpdateCookBook } from "~/lib/api/types/cookbook"; import { usePublicExploreApi, useUserApi } from "~/composables/api"; -const cookbooks: Ref = ref([]); +const cookbooks: Ref = ref([]); const loading = ref(false); const publicLoading = ref(false); export const useCookbookStore = function (i18n?: Composer) { const api = useUserApi(i18n); - const store = useStore(cookbooks, loading, api.cookbooks); + const store = useStore(cookbooks, loading, api.cookbooks); const updateAll = async function (updateData: UpdateCookBook[]) { loading.value = true; @@ -25,5 +25,5 @@ export const useCookbookStore = function (i18n?: Composer) { export const usePublicCookbookStore = function (groupSlug: string, i18n?: Composer) { const api = usePublicExploreApi(groupSlug, i18n).explore; - return useReadOnlyStore(cookbooks, publicLoading, api.cookbooks); + return useReadOnlyStore(cookbooks, publicLoading, api.cookbooks); }; diff --git a/frontend/composables/use-locales/available-locales.ts b/frontend/composables/use-locales/available-locales.ts index 172f56984..a5ab0d43d 100644 --- a/frontend/composables/use-locales/available-locales.ts +++ b/frontend/composables/use-locales/available-locales.ts @@ -57,7 +57,7 @@ export const LOCALES = [ { name: "Pусский (Russian)", value: "ru-RU", - progress: 38, + progress: 40, dir: "ltr", }, { @@ -75,13 +75,13 @@ export const LOCALES = [ { name: "Português do Brasil (Brazilian Portuguese)", value: "pt-BR", - progress: 40, + progress: 41, dir: "ltr", }, { name: "Polski (Polish)", value: "pl-PL", - progress: 39, + progress: 40, dir: "ltr", }, { @@ -123,7 +123,7 @@ export const LOCALES = [ { name: "Italiano (Italian)", value: "it-IT", - progress: 38, + progress: 39, dir: "ltr", }, { @@ -141,7 +141,7 @@ export const LOCALES = [ { name: "Hrvatski (Croatian)", value: "hr-HR", - progress: 28, + progress: 27, dir: "ltr", }, { @@ -165,13 +165,13 @@ export const LOCALES = [ { name: "Français canadien (Canadian French)", value: "fr-CA", - progress: 37, + progress: 38, dir: "ltr", }, { name: "Belge (Belgian)", value: "fr-BE", - progress: 37, + progress: 36, dir: "ltr", }, { @@ -213,7 +213,7 @@ export const LOCALES = [ { name: "Deutsch (German)", value: "de-DE", - progress: 65, + progress: 66, dir: "ltr", }, { @@ -225,7 +225,7 @@ export const LOCALES = [ { name: "Čeština (Czech)", value: "cs-CZ", - progress: 40, + progress: 39, dir: "ltr", }, { @@ -243,7 +243,7 @@ export const LOCALES = [ { name: "العربية (Arabic)", value: "ar-SA", - progress: 24, + progress: 23, dir: "rtl", }, { diff --git a/frontend/composables/use-setup/common-settings-form.ts b/frontend/composables/use-setup/common-settings-form.ts index 15c344e09..5b9ada0fb 100644 --- a/frontend/composables/use-setup/common-settings-form.ts +++ b/frontend/composables/use-setup/common-settings-form.ts @@ -4,7 +4,7 @@ import type { AutoFormItems } from "~/types/auto-forms"; export const useCommonSettingsForm = () => { const i18n = useI18n(); - const commonSettingsForm: AutoFormItems = [ + const commonSettingsForm = computed(() => [ { section: i18n.t("profile.group-settings"), label: i18n.t("group.enable-public-access"), @@ -21,7 +21,7 @@ export const useCommonSettingsForm = () => { type: fieldTypes.BOOLEAN, rules: ["required"], }, - ]; + ]); return { commonSettingsForm, diff --git a/frontend/composables/use-users/preferences.ts b/frontend/composables/use-users/preferences.ts index 6b03c58f3..2cede5eb4 100644 --- a/frontend/composables/use-users/preferences.ts +++ b/frontend/composables/use-users/preferences.ts @@ -33,7 +33,6 @@ export interface UserRecipePreferences { export interface UserShoppingListPreferences { viewAllLists: boolean; - viewByLabel: boolean; } export interface UserTimelinePreferences { @@ -129,7 +128,6 @@ export function useShoppingListPreferences(): Ref { "shopping-list-preferences", { viewAllLists: false, - viewByLabel: true, }, { mergeDefaults: true }, // we cast to a Ref because by default it will return an optional type ref diff --git a/frontend/composables/use-users/user-registration-form.ts b/frontend/composables/use-users/user-registration-form.ts index f61b26d56..be24ffd84 100644 --- a/frontend/composables/use-users/user-registration-form.ts +++ b/frontend/composables/use-users/user-registration-form.ts @@ -1,5 +1,5 @@ import { useAsyncValidator } from "~/composables/use-validators"; -import type { VForm } from "~/types/vuetify"; +import type { VForm } from "~/types/auto-forms"; import { usePublicApi } from "~/composables/api/api-client"; const domAccountForm = ref(null); @@ -13,11 +13,13 @@ const advancedOptions = ref(false); export const useUserRegistrationForm = () => { const i18n = useI18n(); - function safeValidate(form: Ref) { - if (form.value && form.value.validate) { - return form.value.validate(); + async function safeValidate(form: Ref) { + if (!form.value) { + return false; } - return false; + + const result = await form.value.validate(); + return result.valid; } // ================================================================ // Provide Group Details @@ -45,11 +47,15 @@ export const useUserRegistrationForm = () => { email, advancedOptions, validate: async () => { - if (!(validUsername.value && validEmail.value)) { + if (!validUsername.value || !validEmail.value) { await Promise.all([validateUsername(), validateEmail()]); } - return (safeValidate(domAccountForm as Ref) && validUsername.value && validEmail.value); + if (!validUsername.value || !validEmail.value) { + return false; + } + + return await safeValidate(domAccountForm as Ref); }, reset: () => { accountDetails.username.value = ""; diff --git a/frontend/lang/messages/af-ZA.json b/frontend/lang/messages/af-ZA.json index 84706fbdc..2498b6eae 100644 --- a/frontend/lang/messages/af-ZA.json +++ b/frontend/lang/messages/af-ZA.json @@ -69,6 +69,7 @@ "new-notification": "Nuwe kennisgewing", "event-notifiers": "Gebeurteniskennisgewers", "apprise-url-skipped-if-blank": "Apprise URL (oorgeslaan indien leeg)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Aktiveer kennisgewer", "what-events": "Op watter gebeurtenisse moet hierdie kennisgewing inteken?", "user-events": "Gebruikersgebeurtenisse", @@ -1168,7 +1169,7 @@ "group-details": "Groep besonderhede", "group-details-description": "Voordat jy 'n rekening skep, moet jy eers 'n groep skep. Jy sal die enigste lid van die groep wees, maar jy kan later ander nooi. Lede van jou groep kan maaltydplanne, inkopielyste, resepte en meer deel!", "use-seed-data": "Gebruik voorbeelddata", - "use-seed-data-description": "Mealie bevat 'n versameling bestanddele, eenhede en etikette wat gebruik kan word om jou groep met nuttige data te vul om jou resepte te organiseer.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Rekening besonderhede" }, "validation": { diff --git a/frontend/lang/messages/ar-SA.json b/frontend/lang/messages/ar-SA.json index 4036e8a32..fb8e985d3 100644 --- a/frontend/lang/messages/ar-SA.json +++ b/frontend/lang/messages/ar-SA.json @@ -69,6 +69,7 @@ "new-notification": "إشعار جديد", "event-notifiers": "إشعار الحدث", "apprise-url-skipped-if-blank": "الرابط Apprise (يتم تجاهله إذا ما كان فارغً)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "تفعيل الإشعارات", "what-events": "ما هي الأحداث التي يجب على هذا المخدم أن يستجيب لها؟", "user-events": "أحداث المستخدمين", @@ -1168,7 +1169,7 @@ "group-details": "تفاصيل المجموعة", "group-details-description": "قبل إنشاء حساب ستحتاج إلى إنشاء مجموعة. المجموعة الخاصة بك سوف تحتوي عليك فقط، ولكن ستتمكن من دعوة الآخرين لاحقاً. يمكن لأعضاء مجموعتك مشاركة خطط الوجبات وقوائم التسوق والوصفات، والمزيد!", "use-seed-data": "Use Seed Data", - "use-seed-data-description": "Mealie يأتي بمجموعة من الأطعمة والوحدات والعلامات التي يمكن استخدامها لتزويد مجموعتك ببيانات مفيدة لتنظيم وصفاتك.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "تفاصيل الحساب" }, "validation": { diff --git a/frontend/lang/messages/bg-BG.json b/frontend/lang/messages/bg-BG.json index 96f2ad8c1..f5f52a6f4 100644 --- a/frontend/lang/messages/bg-BG.json +++ b/frontend/lang/messages/bg-BG.json @@ -69,6 +69,7 @@ "new-notification": "Ново известие", "event-notifiers": "Известия за събитие", "apprise-url-skipped-if-blank": "URL за известяване (пропуска се ако е празно)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Включи известията", "what-events": "За кои събития трябва да се получават известия?", "user-events": "Потребителски събития", @@ -1168,7 +1169,7 @@ "group-details": "Подробности за групата", "group-details-description": "Преди да създадете акаунт, ще трябва да създадете група. Вашата група ще съдържа само Вас, но ще можете да поканите други по-късно. Членовете във вашата група могат да споделят планове за хранене, списъци за пазаруване, рецепти и други!", "use-seed-data": "Използвай предварителни данни", - "use-seed-data-description": "Mealie се доставя с колекция от продукти, мерни единици и етикети за попълване на Вашата група с полезни данни за организиране на рецептите.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Подробни данни за акаунта" }, "validation": { diff --git a/frontend/lang/messages/ca-ES.json b/frontend/lang/messages/ca-ES.json index b5cb706b4..812c0259d 100644 --- a/frontend/lang/messages/ca-ES.json +++ b/frontend/lang/messages/ca-ES.json @@ -69,6 +69,7 @@ "new-notification": "Nova notificació", "event-notifiers": "Notificacions d'esdeveniments", "apprise-url-skipped-if-blank": "Apprise URL (si es deixa buit, s'ignorarà)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Habilita la notificació", "what-events": "Què esdeveniments vols que utilitzen aquest notificador?", "user-events": "Esdeveniments d'usuari", @@ -1168,7 +1169,7 @@ "group-details": "Detalls del grup", "group-details-description": "Abans de crear un compte heu de crear un grup. Al grup només hi serà vostè, però després podeu convidar d'altres. Els membres d'un grup poden compartir menús, llistes de la compra, receptes i molt més!", "use-seed-data": "Afegiu dades predeterminades", - "use-seed-data-description": "Mealie ve configurat amb una col·lecció d'aliments, unitats i etiquetes que poden ser emprades pel vostre grup per a ajudar-vos a organitzar les vostres receptes.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Detalls del compte" }, "validation": { diff --git a/frontend/lang/messages/cs-CZ.json b/frontend/lang/messages/cs-CZ.json index 493d66129..34b61db34 100644 --- a/frontend/lang/messages/cs-CZ.json +++ b/frontend/lang/messages/cs-CZ.json @@ -69,6 +69,7 @@ "new-notification": "Nové oznámení", "event-notifiers": "Notifikace událostí", "apprise-url-skipped-if-blank": "Apprise URL (přeskočeno pokud je prázdné)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Povolit notifikaci", "what-events": "K jakým událostem by se měl tento oznamovatel přihlásit?", "user-events": "Uživatelské události", @@ -1168,7 +1169,7 @@ "group-details": "Podrobnosti o skupině", "group-details-description": "Než vytvoříte svůj účet, musíte vytvořit skupinu. Vaše skupina bude obsahovat pouze vás, ale později budete moct přizvat jiné uživatele. Členové vaší skupiny mohou sdílet jídelníčky, nákupní seznamy, recepty a další!", "use-seed-data": "Použít Seed Data", - "use-seed-data-description": "Mealie obsahuje kolekci potravin, jednotek a popisků, které můžete použít ve své skupině pro organizování svých receptů.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Podrobnosti účtu" }, "validation": { diff --git a/frontend/lang/messages/da-DK.json b/frontend/lang/messages/da-DK.json index 9379588a9..512efcf78 100644 --- a/frontend/lang/messages/da-DK.json +++ b/frontend/lang/messages/da-DK.json @@ -69,6 +69,7 @@ "new-notification": "Ny notifikation", "event-notifiers": "Notifikation om begivenheder", "apprise-url-skipped-if-blank": "Informations link (sprunget over hvis ladet være tomt)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Aktiver Notifikationer", "what-events": "Hvilke begivenheder skal denne anmelder abonnere på?", "user-events": "Brugerhændelser", @@ -1168,7 +1169,7 @@ "group-details": "Gruppeoplysninger", "group-details-description": "Før du opretter en konto, skal du oprette en gruppe. Din gruppe vil kun indeholde dig, men du vil kunne invitere andre senere. Medlemmer i din gruppe kan dele madplaner, indkøbslister, opskrifter og meget mere!", "use-seed-data": "Anved standard data", - "use-seed-data-description": "Mealie indeholder som standard en samling af fødevarer, enheder og etiketter, som du kan bruge til at oprette og organisere dine opskrifter.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Kontodetaljer" }, "validation": { diff --git a/frontend/lang/messages/de-DE.json b/frontend/lang/messages/de-DE.json index 1f42f7677..135f954a6 100644 --- a/frontend/lang/messages/de-DE.json +++ b/frontend/lang/messages/de-DE.json @@ -69,6 +69,7 @@ "new-notification": "Neue Benachrichtigung", "event-notifiers": "Ereignis-Benachrichtigungen", "apprise-url-skipped-if-blank": "Apprise-URL (wird übersprungen, wenn leer)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Benachrichtigen aktivieren", "what-events": "Welche Ereignisse soll diese Benachrichtigung abonnieren?", "user-events": "Benutzer-Ereignisse", @@ -216,7 +217,7 @@ "organizers": "Organisieren", "caution": "Vorsicht", "show-advanced": "Erweiterte Optionen anzeigen", - "add-field": "Feld Hinzufügen", + "add-field": "Bedingung hinzufügen", "date-created": "Erstellungsdatum", "date-updated": "Aktualisiert am" }, @@ -584,7 +585,7 @@ "added-to-timeline": "Zur Zeitleiste hinzugefügt", "failed-to-add-to-timeline": "Fehler beim Hinzufügen zur Zeitleiste", "failed-to-update-recipe": "Fehler beim Aktualisieren des Rezepts", - "added-to-timeline-but-failed-to-add-image": "Zur Zeitleiste hinzugefügt, Bild hinzufügen fehlgeschlagen", + "added-to-timeline-but-failed-to-add-image": "Zum Verlauf hinzugefügt, Bild hinzufügen fehlgeschlagen", "api-extras-description": "Rezepte-Extras sind ein Hauptmerkmal der Mealie API. Sie ermöglichen es dir, benutzerdefinierte JSON Key-Value-Paare zu einem Rezept zu erstellen, um Drittanbieter-Anwendungen zu steuern. Du kannst diese dazu verwenden, um Automatisierungen auszulösen oder benutzerdefinierte Nachrichten an bestimmte Geräte zu senden.", "message-key": "Nachrichten-Schlüssel", "parse": "Parsen", @@ -910,7 +911,7 @@ "migrations": "Migrationen", "profile": "Profil", "search": "Suche", - "site-settings": "Einstellungen", + "site-settings": "Systemeinstellungen", "tags": "Schlagworte", "toolbox": "Werkzeuge", "language": "Sprache", @@ -1168,7 +1169,7 @@ "group-details": "Gruppendetails", "group-details-description": "Bevor du ein Konto erstellst, musst du eine Gruppe erstellen. Deine Gruppe wird nur dich enthalten, aber du kannst andere später einladen. Mitglieder in deiner Gruppe können Essenspläne, Einkaufslisten, Rezepte und vieles mehr teilen!", "use-seed-data": "Musterdaten", - "use-seed-data-description": "Mealie enthält eine Sammlung von Lebensmitteln, Maßeinheiten und Kategorien, die verwendet werden können, um deine Gruppe mit hilfreichen Daten für die Organisation deiner Rezepte zu füllen.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Kontoinformationen" }, "validation": { diff --git a/frontend/lang/messages/el-GR.json b/frontend/lang/messages/el-GR.json index abfb4bb2b..6f89f2c70 100644 --- a/frontend/lang/messages/el-GR.json +++ b/frontend/lang/messages/el-GR.json @@ -69,6 +69,7 @@ "new-notification": "Νέα ειδοποίηση", "event-notifiers": "Ειδοποιητές Συμβάντος", "apprise-url-skipped-if-blank": "Apprise URL (παραλείπεται αν είναι κενό)", + "apprise-url-is-left-intentionally-blank": "Δεδομένου ότι οι διευθύνσεις URL Apprise περιέχουν συνήθως ευαίσθητες πληροφορίες, το πεδίο αυτό παραμένει σκόπιμα κενό κατά την επεξεργασία. Αν θέλετε να ενημερώσετε το URL, παρακαλώ εισάγετε το νέο εδώ, αλλιώς αφήστε το κενό για να διατηρήσετε την τρέχουσα διεύθυνση URL.", "enable-notifier": "Ενεργοποίηση ειδοποιητή", "what-events": "Σε ποια συμβάντα θα πρέπει να εγγραφεί αυτός ο ειδοποιητής;", "user-events": "Συμβάντα Χρήστη", @@ -1168,7 +1169,7 @@ "group-details": "Λεπτομέρειες ομάδας", "group-details-description": "Πριν δημιουργήσετε ένα λογαριασμό θα πρέπει να δημιουργήσετε μια ομάδα. Η ομάδα σας θα περιέχει μόνο εσάς, αλλά θα μπορείτε να προσκαλέσετε άλλους αργότερα. Μέλη της ομάδας σας μπορούν να μοιραστούν προγράμματα γευμάτων, λίστες για ψώνια, συνταγές και πολλά άλλα!", "use-seed-data": "Χρήση δεδομένων από τροφοδοσία", - "use-seed-data-description": "Το Mealie έρχεται με μια συλλογή Τροφίμων, Μονάδων και Ετικετών που μπορούν να χρησιμοποιηθούν για τη συμπλήρωση της ομάδας σας με χρήσιμα δεδομένα για την οργάνωση των συνταγών σας.", + "use-seed-data-description": "Το Mealie έρχεται με μια συλλογή Τροφίμων, Μονάδων και Ετικετών που μπορούν να χρησιμοποιηθούν για τη συμπλήρωση της ομάδας σας με χρήσιμα δεδομένα για την οργάνωση των συνταγών σας. Αυτά είναι μεταφρασμένα στη γλώσσα που έχετε επιλέξει. Μπορείτε πάντα να προσθέσετε ή να τροποποιήσετε αυτά τα δεδομένα αργότερα.", "account-details": "Λεπτομέρειες λογαριασμού" }, "validation": { diff --git a/frontend/lang/messages/en-GB.json b/frontend/lang/messages/en-GB.json index 7e5b6abac..1714849b1 100644 --- a/frontend/lang/messages/en-GB.json +++ b/frontend/lang/messages/en-GB.json @@ -69,6 +69,7 @@ "new-notification": "New Notification", "event-notifiers": "Event Notifiers", "apprise-url-skipped-if-blank": "Apprise URL (skipped if blank)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Enable Notifier", "what-events": "What events should this notifier subscribe to?", "user-events": "User Events", @@ -1168,7 +1169,7 @@ "group-details": "Group Details", "group-details-description": "Before you create an account you'll need to create a group. Your group will only contain you, but you'll be able to invite others later. Members in your group can share meal plans, shopping lists, recipes, and more!", "use-seed-data": "Use Seed Data", - "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Account Details" }, "validation": { diff --git a/frontend/lang/messages/en-US.json b/frontend/lang/messages/en-US.json index 85588bddd..08b98b58c 100644 --- a/frontend/lang/messages/en-US.json +++ b/frontend/lang/messages/en-US.json @@ -69,6 +69,7 @@ "new-notification": "New Notification", "event-notifiers": "Event Notifiers", "apprise-url-skipped-if-blank": "Apprise URL (skipped if blank)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Enable Notifier", "what-events": "What events should this notifier subscribe to?", "user-events": "User Events", @@ -1168,7 +1169,7 @@ "group-details": "Group Details", "group-details-description": "Before you create an account you'll need to create a group. Your group will only contain you, but you'll be able to invite others later. Members in your group can share meal plans, shopping lists, recipes, and more!", "use-seed-data": "Use Seed Data", - "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Account Details" }, "validation": { diff --git a/frontend/lang/messages/es-ES.json b/frontend/lang/messages/es-ES.json index f1d5e8100..ae1a7a5fc 100644 --- a/frontend/lang/messages/es-ES.json +++ b/frontend/lang/messages/es-ES.json @@ -69,6 +69,7 @@ "new-notification": "Nueva notificación", "event-notifiers": "Notificaciones de eventos", "apprise-url-skipped-if-blank": "URL de Apprise (omitida si está en blanco)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Habilitar notificador", "what-events": "¿A qué eventos debe suscribirse este notificador?", "user-events": "Eventos de los usuarios", @@ -80,7 +81,7 @@ "category-events": "Eventos de Categoría", "when-a-new-user-joins-your-group": "Cuando un nuevo usuario se une a tu grupo", "recipe-events": "Eventos de receta", - "label-events": "Label Events" + "label-events": "Eventos de etiqueta" }, "general": { "add": "Agregar", @@ -674,8 +675,8 @@ "upload-another-image": "Subir otra imagen", "upload-images": "Subir imágenes", "upload-more-images": "Subir más imágenes", - "set-as-cover-image": "Set as recipe cover image", - "cover-image": "Cover image" + "set-as-cover-image": "Establecer como imagen de portada de receta", + "cover-image": "Imagen de portada" }, "recipe-finder": { "recipe-finder": "Buscador de recetas", @@ -1168,7 +1169,7 @@ "group-details": "Detalles del grupo", "group-details-description": "Antes de crear una cuenta, debe crear un grupo. En el grupo sólo estará usted, pero puede invitar a otros más tarde. Los miembros de un grupo pueden compartir menús, listas de la compra, recetas y más...", "use-seed-data": "Utilizar datos de ejemplo", - "use-seed-data-description": "Mealie incluye una colección de alimentos, unidades y etiquetas, que puede utilizar como ejemplo en su grupo, para ayudarle a organizar sus recetas.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Información de la cuenta" }, "validation": { diff --git a/frontend/lang/messages/et-EE.json b/frontend/lang/messages/et-EE.json index f86c09e53..fac0b8a7e 100644 --- a/frontend/lang/messages/et-EE.json +++ b/frontend/lang/messages/et-EE.json @@ -69,6 +69,7 @@ "new-notification": "Uus teade", "event-notifiers": "Sündmuste märguanded", "apprise-url-skipped-if-blank": "Apprise URL (kui on tühi, jäetakse vahele)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Luba teavitaja", "what-events": "Millised sündmused peaks see teavitaja tellimaa?", "user-events": "Kasutaja sündmused", @@ -80,7 +81,7 @@ "category-events": "Kategooria sündmused", "when-a-new-user-joins-your-group": "Kui uus kasutaja liitub sinu grupiga", "recipe-events": "Retsepti sündmused", - "label-events": "Label Events" + "label-events": "Sildista sündmused" }, "general": { "add": "Lisa", @@ -1168,7 +1169,7 @@ "group-details": "Grupi detailid", "group-details-description": "Sa pead looma grupi enne konto loomist. Sinu grupis oled vaid sina, kuid sa saad kutsuda teisi sinna hiljem. Su grupi liikmed saavad jagada toitumisplaane, ostunimekirju, retsepte ja muud!", "use-seed-data": "Kasuta baasandmete infot.", - "use-seed-data-description": "Mealsiga on kaasas toiduainete, ühikute ja siltide kogu, mida saate kasutada oma rühma täitmiseks kasuliku teabega retseptide korraldamiseks.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Konto üksikasjad" }, "validation": { diff --git a/frontend/lang/messages/fi-FI.json b/frontend/lang/messages/fi-FI.json index 2d3b1fc3d..e0c11df0d 100644 --- a/frontend/lang/messages/fi-FI.json +++ b/frontend/lang/messages/fi-FI.json @@ -69,6 +69,7 @@ "new-notification": "Uusi ilmoitus", "event-notifiers": "Tapahtumien ilmoitukset", "apprise-url-skipped-if-blank": "Ilmoitusverkko-osoite (voi jättää tyhjäksi)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Ota ilmoittaja käyttöön", "what-events": "Mistä tapahtumista tulisi ilmoittaa?", "user-events": "Käyttäjän tapahtumat", @@ -1168,7 +1169,7 @@ "group-details": "Ryhmän tiedot", "group-details-description": "Ennen kuin luot tilin, sinun on luotava ryhmä. Ryhmässäsi on vain sinä, mutta voit kutsua muita myöhemmin. Ryhmäsi jäsenet voivat jakaa ateriasuunnitelmia, ostoslistoja, reseptejä ja paljon muuta!", "use-seed-data": "Käytä pohjatietoja", - "use-seed-data-description": "Mealien mukana toimitetaan kokoelma elintarvikkeita, yksiköitä ja tarroja, joiden avulla voit täyttää ryhmäsi hyödyllisillä tiedoilla reseptien järjestämiseen.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Tilitiedot" }, "validation": { diff --git a/frontend/lang/messages/fr-BE.json b/frontend/lang/messages/fr-BE.json index cef7a9fd3..d84ddbf0d 100644 --- a/frontend/lang/messages/fr-BE.json +++ b/frontend/lang/messages/fr-BE.json @@ -69,6 +69,7 @@ "new-notification": "Nouvelle notification", "event-notifiers": "Notifications d'événements", "apprise-url-skipped-if-blank": "URL Apprise (ignoré si vide)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Activer la notification", "what-events": "À quels événements cette notification doit-elle s'abonner ?", "user-events": "Evénements utilisateur", @@ -1168,7 +1169,7 @@ "group-details": "Détails du groupe", "group-details-description": "Avant de créer un compte, vous devrez créer un groupe. Votre groupe ne contiendra que vous, mais vous pourrez inviter d’autres personnes plus tard. Les membres de votre groupe peuvent partager leur menu de la semaine, leurs listes d’achat, leurs recettes et plus encore !", "use-seed-data": "Utiliser l'initialisation de données", - "use-seed-data-description": "Mealie inclut avec une liste d’aliments, d’unités et d’étiquettes qui peut être utilisée pour initialiser votre groupe avec des données utiles pour organiser vos recettes.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Détails du compte" }, "validation": { diff --git a/frontend/lang/messages/fr-CA.json b/frontend/lang/messages/fr-CA.json index 9e34083f8..dccbabb71 100644 --- a/frontend/lang/messages/fr-CA.json +++ b/frontend/lang/messages/fr-CA.json @@ -69,6 +69,7 @@ "new-notification": "Nouvelle notification", "event-notifiers": "Notifications d'événements", "apprise-url-skipped-if-blank": "URL Apprise (ignoré si vide)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Activer la notification", "what-events": "À quels événements cette notification doit-elle s'abonner ?", "user-events": "Événements de l'utilisateur", @@ -1168,7 +1169,7 @@ "group-details": "Détails du groupe", "group-details-description": "Avant de créer un compte, vous devrez créer un groupe. Votre groupe ne contiendra que vous, mais vous pourrez inviter d’autres personnes plus tard. Les membres de votre groupe peuvent partager leur menu de la semaine, leurs listes d’achat, leurs recettes et plus encore !", "use-seed-data": "Utiliser l'initialisation de données", - "use-seed-data-description": "Mealie inclut avec une liste d’aliments, d’unités et d’étiquettes qui peut être utilisée pour initialiser votre groupe avec des données utiles pour organiser vos recettes.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Détails du compte" }, "validation": { diff --git a/frontend/lang/messages/fr-FR.json b/frontend/lang/messages/fr-FR.json index bf271e7b6..138b3220c 100644 --- a/frontend/lang/messages/fr-FR.json +++ b/frontend/lang/messages/fr-FR.json @@ -69,6 +69,7 @@ "new-notification": "Nouvelle notification", "event-notifiers": "Notifications d'événements", "apprise-url-skipped-if-blank": "URL Apprise (ignoré si vide)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Activer la notification", "what-events": "À quels événements cette notification doit-elle s'abonner ?", "user-events": "Événements utilisateur", @@ -1168,7 +1169,7 @@ "group-details": "Détails du groupe", "group-details-description": "Avant de créer un compte, vous devrez créer un groupe. Votre groupe ne contiendra que vous, mais vous pourrez inviter d’autres personnes plus tard. Les membres de votre groupe peuvent partager leur menu de la semaine, leurs listes d’achat, leurs recettes et plus encore !", "use-seed-data": "Utiliser l'initialisation de données", - "use-seed-data-description": "Mealie inclut avec une liste d’aliments, d’unités et d’étiquettes qui peut être utilisée pour initialiser votre groupe avec des données utiles pour organiser vos recettes.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Détails du compte" }, "validation": { diff --git a/frontend/lang/messages/gl-ES.json b/frontend/lang/messages/gl-ES.json index 26fb37942..0d502c522 100644 --- a/frontend/lang/messages/gl-ES.json +++ b/frontend/lang/messages/gl-ES.json @@ -69,6 +69,7 @@ "new-notification": "Nova Notificación", "event-notifiers": "Notificadores de Eventos", "apprise-url-skipped-if-blank": "URL de Apprise (omitido se está en branco)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Activar o Notificador", "what-events": "A que eventos debería subscribirse este notificador?", "user-events": "Eventos de Usuario", @@ -639,7 +640,7 @@ "bulk-import-process-has-failed": "Erro no proceso de importación en masa", "report-deletion-failed": "Erro ao eliminar relatorio", "recipe-debugger": "Depurador de Receitas", - "recipe-debugger-description": "Copie o URL da receita que quer depurar e pégueo aqui. O URL será lido polo lector de receitas e os resultados serán mostrados. Se non ves negún dato devolto, a páxina que está a tentar ler non é suportada polo Mealie ou pola sua biblioteca de 'scrapping'.", + "recipe-debugger-description": "Copie o URL da receita que quer depurar e pégueo aqui. O URL será lido polo lector de receitas e os resultados serán mostrados. Se non ve nengún dato devolto, a páxina que está a tentar ler non é suportada polo Mealie ou pola sua biblioteca de 'scrapping'.", "use-openai": "Utilizar OpenAI", "recipe-debugger-use-openai-description": "Utilize o OpenAI para analisar os resultados en vez de depender da biblioteca de scrapers. Ao crear unha receita através dun URL, isto é feito automaticamente se a biblioteca de scrapers falla, mas pode provala manualmente aqui.", "debug": "Depurar", @@ -665,7 +666,7 @@ "no-unit": "Sen unidades", "missing-unit": "Crear a unidade que falta: {unit}", "missing-food": "Crear a comida que falta: {food}", - "this-unit-could-not-be-parsed-automatically": "Non foi posível procesar automaticamente esta unidade", + "this-unit-could-not-be-parsed-automatically": "Non foi posíbel procesar automaticamente esta unidade", "this-food-could-not-be-parsed-automatically": "Non foi posíbel procesar automaticamente este alimento", "no-food": "Sen Comida" }, @@ -679,7 +680,7 @@ }, "recipe-finder": { "recipe-finder": "Localizador de Receitas", - "recipe-finder-description": "Procure receitas con base nos ingredientes que teñas a man. Pode tamén filtrar polas ferramentas disponíveis e definir un número máximo de ingredientes ou ferramentas que faltan.", + "recipe-finder-description": "Procure receitas con base nos ingredientes que teña a man. Pode tamén filtrar polas ferramentas disponíbeis e definir un número máximo de ingredientes ou ferramentas que faltan.", "selected-ingredients": "Ingredientes Selecionados", "no-ingredients-selected": "Nengun ingrediente selecionado", "missing": "En falta", @@ -1168,7 +1169,7 @@ "group-details": "Detalles do Grupo", "group-details-description": "Antes de crear unha conta é necesario crear un grupo. Será o único membro do seu grupo, mas poderá convidar outros mais tarde. Os membros do seu grupo poden compartir menús, listas de compras, receitas e moito mais!", "use-seed-data": "Utilizar datos xerados", - "use-seed-data-description": "O Mealie ven cunha coleción de Alimentos, Unidades e Rótulos que poden ser usados para preencher o seu grupo con datos úteis para organizar as suas receitas.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Detalles da Conta" }, "validation": { diff --git a/frontend/lang/messages/he-IL.json b/frontend/lang/messages/he-IL.json index b4a6dd485..e98aa03e9 100644 --- a/frontend/lang/messages/he-IL.json +++ b/frontend/lang/messages/he-IL.json @@ -69,6 +69,7 @@ "new-notification": "התראה חדשה", "event-notifiers": "מנגנוני התרעה על אירועים", "apprise-url-skipped-if-blank": "כתובת Apprise (דלג אם ריק)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "הפעלת מתריע", "what-events": "לאילו אירועים לרשום את מתריע זה?", "user-events": "אירועי משתמש", @@ -1168,7 +1169,7 @@ "group-details": "פרטי הקבוצה", "group-details-description": "לפני יצירת חשבון יש צורך ליצור קבוצה. הקבוצה תכיל רק אותך אבל תוכל להזמין אחרים בשלב מאוחר יותר. חברים בקבוצה יכולים לשתף תוכנית ארוחות, רשימות קניות, מתכונים ועוד!", "use-seed-data": "השתמש בנתוני האכלוס", - "use-seed-data-description": "Mealie מגיעה עם אוסף של מאכלים, יחידות מדידה ותוויות שניתן להשתמש לאכלוס הקבוצות עם מידע שימושי לארגון המתכונים.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "פרטי חשבון" }, "validation": { diff --git a/frontend/lang/messages/hr-HR.json b/frontend/lang/messages/hr-HR.json index 01d9015e9..57686de91 100644 --- a/frontend/lang/messages/hr-HR.json +++ b/frontend/lang/messages/hr-HR.json @@ -69,6 +69,7 @@ "new-notification": "Nova Obavijest", "event-notifiers": "Obavještavatelji Događaja", "apprise-url-skipped-if-blank": "Apprise URL (preskočeno ako je prazno)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Omogući obavještavanje", "what-events": "Na koje događaje bi ovaj obavještavatelj trebao biti pretplaćen?", "user-events": "Događaji Korisnika", @@ -1168,7 +1169,7 @@ "group-details": "Detalji o Grupi", "group-details-description": "Prije nego što kreirate korisnički račun, morat ćete stvoriti grupu. Vaša grupa će sadržavati samo vas, ali kasnije ćete moći pozvati druge članove. Članovi vaše grupe mogu dijeliti planove obroka, popise za kupovinu, recepte i još mnogo toga!", "use-seed-data": "Koristi Pridržane Podatke", - "use-seed-data-description": "Mealie dolazi s kolekcijom hrane, jedinica i oznaka koje se mogu koristiti za popunjavanje vaše grupe korisnim podacima za organiziranje vaših recepata.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Detalji Računa" }, "validation": { diff --git a/frontend/lang/messages/hu-HU.json b/frontend/lang/messages/hu-HU.json index 7756a479c..2237195be 100644 --- a/frontend/lang/messages/hu-HU.json +++ b/frontend/lang/messages/hu-HU.json @@ -69,6 +69,7 @@ "new-notification": "Új értesítés", "event-notifiers": "Esemény értesítők", "apprise-url-skipped-if-blank": "Értesítendő URL (kihagy, ha üres)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Értesítés engedélyezése", "what-events": "Milyen eseményekre figyeljen ez az értesítés?", "user-events": "Felhasználói Események", @@ -674,8 +675,8 @@ "upload-another-image": "Másik kép feltöltése", "upload-images": "Képek feltöltése", "upload-more-images": "További képek feltöltése", - "set-as-cover-image": "Set as recipe cover image", - "cover-image": "Cover image" + "set-as-cover-image": "Beállítás a recept borítóképének", + "cover-image": "Borítókép" }, "recipe-finder": { "recipe-finder": "Receptkereső", @@ -1168,7 +1169,7 @@ "group-details": "Csoport részletek", "group-details-description": "Mielőtt létrehozna egy fiókot, létre kell hoznia egy csoportot. A csoportban csak ön lesz, de később másokat is meghívhat. A csoport tagjai menüterveket, bevásárlólistákat, recepteket és még sok mást is megoszthatnak egymással!", "use-seed-data": "Mintaadatok használata", - "use-seed-data-description": "Mealie az alapanyagok, a mennyiségi egységek és a címkék gyűjteményét tartalmazza, amelyek megoszthatók a csoporttal és hasznos adataival segítségül szolgálhat a receptek szervezéséhez.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "A fiók részletei" }, "validation": { diff --git a/frontend/lang/messages/is-IS.json b/frontend/lang/messages/is-IS.json index 1bea745c7..81fb0ef27 100644 --- a/frontend/lang/messages/is-IS.json +++ b/frontend/lang/messages/is-IS.json @@ -69,6 +69,7 @@ "new-notification": "Ný tilkynning", "event-notifiers": "Viðburðar tilkynningar", "apprise-url-skipped-if-blank": "Apprise URL (sleppt ef tómt)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Virkja tilkynningar", "what-events": "Hvaða viðburði ætti þessi tilkynnir að vera áskrifandi að?", "user-events": "Notenda viðburðir", @@ -1168,7 +1169,7 @@ "group-details": "Group Details", "group-details-description": "Before you create an account you'll need to create a group. Your group will only contain you, but you'll be able to invite others later. Members in your group can share meal plans, shopping lists, recipes, and more!", "use-seed-data": "Use Seed Data", - "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Account Details" }, "validation": { diff --git a/frontend/lang/messages/it-IT.json b/frontend/lang/messages/it-IT.json index db949901e..d6f08b576 100644 --- a/frontend/lang/messages/it-IT.json +++ b/frontend/lang/messages/it-IT.json @@ -69,6 +69,7 @@ "new-notification": "Nuova Notifica", "event-notifiers": "Notifiche Evento", "apprise-url-skipped-if-blank": "Url di Apprise (ignorato se vuoto)", + "apprise-url-is-left-intentionally-blank": "Poiché gli URL Apprise contengono in genere informazioni sensibili, questo campo viene lasciato intenzionalmente vuoto durante la modifica. Se si desidera aggiornare l'URL, inserire qui il nuovo URL, altrimenti lasciarlo vuoto per mantenere l'URL corrente.", "enable-notifier": "Abilita Notificatore", "what-events": "Quali eventi dovrebbe sottoscrivere questo notificatore?", "user-events": "Eventi Utente", @@ -80,7 +81,7 @@ "category-events": "Categoria Eventi", "when-a-new-user-joins-your-group": "Quando un nuovo utente entra nel tuo gruppo", "recipe-events": "Eventi di ricette", - "label-events": "Label Events" + "label-events": "Eventi Etichetta" }, "general": { "add": "Aggiungi", @@ -473,7 +474,7 @@ "comment": "Commento", "comments": "Commenti", "delete-confirmation": "Sei sicuro di voler eliminare questa ricetta?", - "admin-delete-confirmation": "You're about to delete a recipe that isn't yours using admin permissions. Are you sure?", + "admin-delete-confirmation": "Stai per eliminare una ricetta che non è tua usando i permessi di amministrazione. Sei sicuro?", "delete-recipe": "Elimina Ricetta", "description": "Descrizione", "disable-amount": "Disabilita Quantità Ingredienti", @@ -581,10 +582,10 @@ "made-this": "L'Ho Preparato", "how-did-it-turn-out": "Come è venuto?", "user-made-this": "{user} l'ha preparato", - "added-to-timeline": "Added to timeline", - "failed-to-add-to-timeline": "Failed to add to timeline", - "failed-to-update-recipe": "Failed to update recipe", - "added-to-timeline-but-failed-to-add-image": "Added to timeline, but failed to add image", + "added-to-timeline": "Aggiunto alla cronologia", + "failed-to-add-to-timeline": "Impossibile aggiungere alla cronologia", + "failed-to-update-recipe": "Impossibile aggiornare la ricetta", + "added-to-timeline-but-failed-to-add-image": "Aggiunto alla cronologia, ma non è stato possibile aggiungere l'immagine", "api-extras-description": "Le opzioni extra delle ricette sono una caratteristica fondamentale dell'API Mealie. Consentono di creare json personalizzati con coppie di chiavi/valore all'interno di una ricetta a cui fare riferimento tramite applicazioni terze. È possibile utilizzare queste chiavi per inserire informazioni, per esempio per attivare automazioni oppure per inoltrare messaggi personalizzati al dispositivo desiderato.", "message-key": "Chiave Messaggio", "parse": "Analizza", @@ -606,10 +607,10 @@ "create-recipe-from-an-image": "Crea ricetta da un'immagine", "create-recipe-from-an-image-description": "Crea una ricetta caricando un'immagine di essa. Mealie tenterà di estrarre il testo dall'immagine usando l'IA e creare una ricetta da esso.", "crop-and-rotate-the-image": "Ritaglia e ruota l'immagine in modo che solo il testo sia visibile e che sia orientato correttamente.", - "create-from-images": "Create from Images", + "create-from-images": "Crea da immagini", "should-translate-description": "Traduci la ricetta nella mia lingua", "please-wait-image-procesing": "Attendere, l'immagine è in fase di elaborazione. Potrebbe volerci un po' di tempo.", - "please-wait-images-processing": "Please wait, the images are processing. This may take some time.", + "please-wait-images-processing": "Attendere, le immagini sono in fase di elaborazione. Potrebbe volerci un po' di tempo.", "bulk-url-import": "Importazione multipla URL", "debug-scraper": "Debug Scraper", "create-a-recipe-by-providing-the-name-all-recipes-must-have-unique-names": "Crea una ricetta fornendo il nome. Tutte le ricette devono avere nomi univoci.", @@ -665,17 +666,17 @@ "no-unit": "Nessuna unità", "missing-unit": "Crea unità mancante: {unit}", "missing-food": "Crea cibo mancante: {food}", - "this-unit-could-not-be-parsed-automatically": "This unit could not be parsed automatically", - "this-food-could-not-be-parsed-automatically": "This food could not be parsed automatically", + "this-unit-could-not-be-parsed-automatically": "Questa unità non può essere analizzata automaticamente", + "this-food-could-not-be-parsed-automatically": "Questo alimento non può essere analizzato automaticamente", "no-food": "Nessun Alimento" }, "reset-servings-count": "Reimposta conteggio porzioni", "not-linked-ingredients": "Ingredienti Aggiuntivi", - "upload-another-image": "Upload another image", - "upload-images": "Upload images", - "upload-more-images": "Upload more images", - "set-as-cover-image": "Set as recipe cover image", - "cover-image": "Cover image" + "upload-another-image": "Carica un'altra immagine", + "upload-images": "Carica immagini", + "upload-more-images": "Carica altre immagini", + "set-as-cover-image": "Imposta come immagine di copertina della ricetta", + "cover-image": "Immagine di copertina" }, "recipe-finder": { "recipe-finder": "Trova ricette", @@ -1168,7 +1169,7 @@ "group-details": "Dettagli Gruppo", "group-details-description": "Prima di creare un account, è necessario creare un gruppo. Il gruppo conterrà solo voi, ma potrete invitare altre persone in seguito. I membri del gruppo possono condividere piani alimentari, liste della spesa, ricette e molto altro!", "use-seed-data": "Utilizzo Dati Generati", - "use-seed-data-description": "Mealie viene fornito con una raccolta di alimenti, unità ed etichette che possono essere utilizzate per popolare il tuo gruppo con dati utili per organizzare le tue ricette.", + "use-seed-data-description": "Mealie include una raccolta di Alimenti, Unità ed Etichette che possono essere utilizzate per arricchire il proprio gruppo con dati utili per organizzare le proprie ricette. Questi dati vengono tradotti nella lingua selezionata. Si può sempre aggiungere o modificare questi dati in seguito.", "account-details": "Dettagli dell'Account" }, "validation": { diff --git a/frontend/lang/messages/ja-JP.json b/frontend/lang/messages/ja-JP.json index 91b4e1fcb..48f1813c0 100644 --- a/frontend/lang/messages/ja-JP.json +++ b/frontend/lang/messages/ja-JP.json @@ -69,6 +69,7 @@ "new-notification": "新着通知", "event-notifiers": "イベント通知", "apprise-url-skipped-if-blank": "通知用URL (空欄の場合はスキップ)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "通知を有効にする", "what-events": "この通知はどのイベントを購読すべきですか?", "user-events": "ユーザーイベント", @@ -1168,7 +1169,7 @@ "group-details": "グループの詳細", "group-details-description": "アカウントを作成する前に、グループを作成する必要があります。グループにはあなたしか含まれませんが、後で他の人を招待できます。グループのメンバーは、食事計画、買い物リスト、レシピなどを共有できます!", "use-seed-data": "シードデータを使用", - "use-seed-data-description": "Mealieには、レシピを整理するために役立つデータをグループに追加するために使用できる、食品、単位、ラベルのコレクションが付属しています。", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "アカウントの詳細" }, "validation": { diff --git a/frontend/lang/messages/ko-KR.json b/frontend/lang/messages/ko-KR.json index 5dbcf43e1..a25738473 100644 --- a/frontend/lang/messages/ko-KR.json +++ b/frontend/lang/messages/ko-KR.json @@ -69,6 +69,7 @@ "new-notification": "새 알림", "event-notifiers": "이벤트 알림이", "apprise-url-skipped-if-blank": "Apprise URL (비워두면 생략합니다)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "알림 활성화", "what-events": "이 알리미는 어떤 이벤트를 구독해야 합니까?", "user-events": "사용자 이벤트", @@ -1168,7 +1169,7 @@ "group-details": "Group Details", "group-details-description": "Before you create an account you'll need to create a group. Your group will only contain you, but you'll be able to invite others later. Members in your group can share meal plans, shopping lists, recipes, and more!", "use-seed-data": "Use Seed Data", - "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Account Details" }, "validation": { diff --git a/frontend/lang/messages/lt-LT.json b/frontend/lang/messages/lt-LT.json index e229b3310..9ef34c2e4 100644 --- a/frontend/lang/messages/lt-LT.json +++ b/frontend/lang/messages/lt-LT.json @@ -69,6 +69,7 @@ "new-notification": "Naujas pranešimas", "event-notifiers": "Įvykių pranešimai", "apprise-url-skipped-if-blank": "Apprise URL (praleidžiama, jei tuščia)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Įjungti pranešiklį", "what-events": "Kokie įvykiai turėtų būti sekami?", "user-events": "Naudotojų įvykiai", @@ -1168,7 +1169,7 @@ "group-details": "Grupės informacija", "group-details-description": "Prieš kurdami paskyrą turite sukurti grupę. Jūsų grupėje būsite tik jūs, tačiau vėliau galėsite pakviesti ir kitus. Jūsų grupės nariai galės dalintis maitinimo planais, pirkinių sąrašais, receptais ir kita!", "use-seed-data": "Naudoti pradinius duomenis", - "use-seed-data-description": "\"Mealie\" sistemoje jau yra pradinis duomenų rinkinys su produktais, vienetais ir etiketėmis. Jį galite panaudoti savo grupės užpildymui naudinga informacija, kuri padės organizuoti jūsų receptus.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Paskyros informacija" }, "validation": { diff --git a/frontend/lang/messages/lv-LV.json b/frontend/lang/messages/lv-LV.json index 35dc175be..4c091f6f8 100644 --- a/frontend/lang/messages/lv-LV.json +++ b/frontend/lang/messages/lv-LV.json @@ -69,6 +69,7 @@ "new-notification": "Jauns paziņojums", "event-notifiers": "Notikumu paziņotāji", "apprise-url-skipped-if-blank": "Apprise URL (izlaists, ja tukšs)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Iespējot paziņotāju", "what-events": "Kādus notikumus šim paziņotājam vajadzētu abonēt?", "user-events": "Lietotāju notikumi", @@ -1168,7 +1169,7 @@ "group-details": "Grupas informācija", "group-details-description": "Pirms konta izveides jums būs jāizveido grupa. Jūsu grupā būs tikai jūs, bet vēlāk varēsiet uzaicināt citus. Jūsu grupas dalībnieki var dalīties maltīšu plānos, iepirkumu sarakstos, receptēs un daudz ko citu!", "use-seed-data": "Izmantojiet sēklu datus", - "use-seed-data-description": "Mealie piegādā kopā ar pārtikas produktu, vienību un etiķešu kolekciju, ko var izmantot, lai papildinātu grupu ar noderīgiem datiem recepšu sakārtošanai.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Konta informācija" }, "validation": { diff --git a/frontend/lang/messages/nl-NL.json b/frontend/lang/messages/nl-NL.json index ff291a3a2..2617963c1 100644 --- a/frontend/lang/messages/nl-NL.json +++ b/frontend/lang/messages/nl-NL.json @@ -69,6 +69,7 @@ "new-notification": "Nieuwe melding", "event-notifiers": "Meldingen van gebeurtenissen", "apprise-url-skipped-if-blank": "URL van Apprise (overgeslagen als veld leeg is)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Activeer melding", "what-events": "Op welke gebeurtenissen moet deze melding zich abonneren?", "user-events": "Gebeurtenissen van gebruiker", @@ -674,8 +675,8 @@ "upload-another-image": "Een andere afbeelding uploaden", "upload-images": "Afbeelding uploaden", "upload-more-images": "Meer afbeeldingen uploaden", - "set-as-cover-image": "Set as recipe cover image", - "cover-image": "Cover image" + "set-as-cover-image": "Als recept omslagfoto instellen", + "cover-image": "Omslagfoto" }, "recipe-finder": { "recipe-finder": "Recept zoeker", @@ -1168,7 +1169,7 @@ "group-details": "Groepsdetails", "group-details-description": "Voordat je een account aanmaakt moet je eerst een groep aanmaken. Jij bent het enige lid van de groep, maar je kunt later anderen uitnodigen. Leden van je groep kunnen maaltijdplannen, boodschappenlijstjes, recepten en nog veel meer delen!", "use-seed-data": "Gebruik voorbeeldgegevens", - "use-seed-data-description": "Mealie bevat een verzameling ingrediënten, eenheden en labels die gebruikt kunnen worden om je groep te vullen met handige gegevens voor het organiseren van je recepten.", + "use-seed-data-description": "Mealie komt standaard met lijsten voor Voedsel, Eenheden en Labels. Die gebruik je om je recepten handig in te delen. Of om je groep handige informatie te geven. Ze zijn vertaald in de taal die je voor Mealie hebt ingesteld. Je kunt deze lijsten altijd aanvullen of aanpassen.", "account-details": "Accountgegevens" }, "validation": { diff --git a/frontend/lang/messages/no-NO.json b/frontend/lang/messages/no-NO.json index 59044aaa2..a9fc9a55e 100644 --- a/frontend/lang/messages/no-NO.json +++ b/frontend/lang/messages/no-NO.json @@ -69,6 +69,7 @@ "new-notification": "Nytt varsel", "event-notifiers": "Hendelsesvarsler", "apprise-url-skipped-if-blank": "Apprise-URL (hoppes over hvis tom)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Aktiver varslingsagenten", "what-events": "Hvilke hendelser skal denne varslingsagenten abonnere på?", "user-events": "Brukerhendelser", @@ -473,7 +474,7 @@ "comment": "Kommentar", "comments": "Kommentarer", "delete-confirmation": "Er du sikker på at du vil slette denne oppskriften?", - "admin-delete-confirmation": "You're about to delete a recipe that isn't yours using admin permissions. Are you sure?", + "admin-delete-confirmation": "Du er i ferd med å slette en oppskrift som ikke er din ved å bruke administratortillatelser. Er du sikker?", "delete-recipe": "Slett oppskrift", "description": "Beskrivelse", "disable-amount": "Deaktiver ingrediensmengde", @@ -582,7 +583,7 @@ "how-did-it-turn-out": "Hvordan ble det?", "user-made-this": "{user} har laget dette", "added-to-timeline": "Legg til tidslinje", - "failed-to-add-to-timeline": "Failed to add to timeline", + "failed-to-add-to-timeline": "Kunne ikke legge til på tidslinjen", "failed-to-update-recipe": "Kunne ikke oppdatere oppskriften", "added-to-timeline-but-failed-to-add-image": "Lagt til i tidslinjen, men klarte ikke å legge til bilde", "api-extras-description": "Ekstramaterialer til oppskrifter er en viktig funksjon i Mealie API-en. De lar deg opprette egendefinerte JSON-nøkkel/verdi-par innenfor en oppskrift for å referere fra tredjepartsapplikasjoner. Du kan bruke disse nøklene til å gi informasjon for eksempel for å utløse automatiseringer eller egendefinerte meldinger som skal videreformidles til ønsket enhet.", @@ -674,8 +675,8 @@ "upload-another-image": "Last opp nytt bilde", "upload-images": "Last opp bilder", "upload-more-images": "Last opp flere bilder", - "set-as-cover-image": "Set as recipe cover image", - "cover-image": "Cover image" + "set-as-cover-image": "Bruk som forsidebilde for oppskriften", + "cover-image": "Forsidebilde" }, "recipe-finder": { "recipe-finder": "Oppskriftsfinner", @@ -1168,7 +1169,7 @@ "group-details": "Gruppedetaljer", "group-details-description": "Før du oppretter en konto må du opprette en gruppe. Gruppen din vil bare inneholde deg, men du vil kunne invitere andre senere. Medlemmer i gruppen din kan dele måltider, handlelister, oppskrifter med mer!", "use-seed-data": "Bruk tilføringsdata", - "use-seed-data-description": "Mealie kommer med en samling av matvarer, enheter og etiketter som kan brukes til å fylle gruppen din med nyttige data for å organisere oppskriftene dine.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Kontodetaljer" }, "validation": { diff --git a/frontend/lang/messages/pl-PL.json b/frontend/lang/messages/pl-PL.json index 30df24a3f..7ecec3105 100644 --- a/frontend/lang/messages/pl-PL.json +++ b/frontend/lang/messages/pl-PL.json @@ -69,6 +69,7 @@ "new-notification": "Nowe powiadomienie", "event-notifiers": "Powiadomienia o zdarzeniach", "apprise-url-skipped-if-blank": "URL Apprise (pominięty, jeśli puste)", + "apprise-url-is-left-intentionally-blank": "Ponieważ adresy URL Apprise zawierają zazwyczaj poufne informacje, pole to pozostaje celowo puste podczas edycji. Jeśli chcesz zaktualizować adres URL, wprowadź ten nowy tutaj, w przeciwnym razie pozostaw puste, aby zachować bieżący adres URL.", "enable-notifier": "Włącz Powiadomienie", "what-events": "Jakie zdarzenia powinien subskrybować ten powiadamiający?", "user-events": "Zdarzenia użytkownika", @@ -80,7 +81,7 @@ "category-events": "Wydarzenia kategorii", "when-a-new-user-joins-your-group": "Kiedy nowy użytkownik dołączy do Twojej grupy", "recipe-events": "Zdarzenia Przepisów", - "label-events": "Label Events" + "label-events": "Etykieta wydarzeń" }, "general": { "add": "Dodaj", @@ -674,8 +675,8 @@ "upload-another-image": "Prześlij kolejny obraz", "upload-images": "Prześlij obraz", "upload-more-images": "Prześlij więcej obrazów", - "set-as-cover-image": "Set as recipe cover image", - "cover-image": "Cover image" + "set-as-cover-image": "Ustaw jako okładkę przepisu", + "cover-image": "Okładka" }, "recipe-finder": { "recipe-finder": "Wyszukiwarka przepisów", @@ -1168,7 +1169,7 @@ "group-details": "Szczegóły grupy", "group-details-description": "Zanim utworzysz konto musisz stworzyć grupę. Twoja grupa zawierać będzie tylko Ciebie, ale będziesz istniała możlwiość zaproszenia do niej innych. Użytkownicy Twojej grupy mogą współdzielić plany posiłków, listy zakupów, przepisy i więcej!", "use-seed-data": "Użyj przykładowych danych", - "use-seed-data-description": "Mealie dostarcza zestaw posiłków, jednostek i opisów które mogą zostać użyte do zapełnienia Twojej grupy przydatnymi danymi do ogranizacji Twoich przepisów.", + "use-seed-data-description": "Wysyłka posiłków z kolekcją żywności, jednostek i etykiet, które mogą być użyte do wypełnienia Twojej grupy pomocnymi danymi do organizacji twoich przepisów. Są one tłumaczone na wybrany język. Zawsze możesz dodać lub zmodyfikować te dane później.", "account-details": "Szczegóły konta" }, "validation": { diff --git a/frontend/lang/messages/pt-BR.json b/frontend/lang/messages/pt-BR.json index bf6fc8ca7..6beede4b3 100644 --- a/frontend/lang/messages/pt-BR.json +++ b/frontend/lang/messages/pt-BR.json @@ -69,6 +69,7 @@ "new-notification": "Nova Notificação", "event-notifiers": "Notificações de Eventos", "apprise-url-skipped-if-blank": "URL Apprise (ignorado se estiver em branco)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Habilitar Notificador", "what-events": "A quais eventos este notificador deve subscrever?", "user-events": "Eventos do usuário", @@ -1168,7 +1169,7 @@ "group-details": "Detalhes do Grupo", "group-details-description": "Antes de criar uma conta é necessário criar um grupo. O seu grupo só conterá você, mas você poderá convidar os outros mais tarde. Os membros do seu grupo podem compartilhar planos de refeição, listas de compras, receitas e muito mais!", "use-seed-data": "Usar dados semeados", - "use-seed-data-description": "O Mealie é fornecido com uma coleção de alimentos, unidades e rótulos que podem ser usados para preencher seu grupo com dados úteis para organizar suas receitas.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Detalhes da Conta" }, "validation": { diff --git a/frontend/lang/messages/pt-PT.json b/frontend/lang/messages/pt-PT.json index 7cc816840..d610b69d7 100644 --- a/frontend/lang/messages/pt-PT.json +++ b/frontend/lang/messages/pt-PT.json @@ -69,6 +69,7 @@ "new-notification": "Nova Notificação", "event-notifiers": "Notificadores de eventos", "apprise-url-skipped-if-blank": "URL da Apprise (ignorado se vazio)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Ativar Notificador", "what-events": "Que eventos este notificador deve subscrever?", "user-events": "Eventos do utilizador", @@ -1168,7 +1169,7 @@ "group-details": "Detalhes do Grupo", "group-details-description": "Antes de criar uma conta é necessário criar um grupo. Será o único membro do seu grupo, mas poderá convidar outros mais tarde. Os membros do seu grupo podem partilhar planos de refeição, listas de compras, receitas e muito mais!", "use-seed-data": "Utilizar dados gerados", - "use-seed-data-description": "O Mealie vem com uma coleção de Alimentos, Unidades e Rótulos que podem ser usados para popular o seu grupo com dados úteis para organizar as suas receitas.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Detalhes da Conta" }, "validation": { diff --git a/frontend/lang/messages/ro-RO.json b/frontend/lang/messages/ro-RO.json index 4afa5eee3..311903074 100644 --- a/frontend/lang/messages/ro-RO.json +++ b/frontend/lang/messages/ro-RO.json @@ -69,6 +69,7 @@ "new-notification": "Notificare nouă", "event-notifiers": "Notificatori de evenimente", "apprise-url-skipped-if-blank": "URL Apprise (ignorat daca e gol)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Activare notificator", "what-events": "La ce evenimente ar trebui să se înscrie acest notificator?", "user-events": "Evenimente Utilizator", @@ -1168,7 +1169,7 @@ "group-details": "Detalii grup", "group-details-description": "Înainte de a crea un cont, va trebui să creezi un grup. Grupul tău va conține inițial doar pe tine, dar vei putea invita și alte persoane ulterior. Membrii din grupul tău vor putea să partajeze planuri de mese, liste de cumpărături, rețete și multe altele!", "use-seed-data": "Utilizează setul de date a populării", - "use-seed-data-description": "Mealie vine cu o colecție de Alimente, Unități, și Etichete care pot fi utilizate pentru a popula grupul tău cu date utile pentru organizarea rețetelor.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Detalii Cont" }, "validation": { diff --git a/frontend/lang/messages/ru-RU.json b/frontend/lang/messages/ru-RU.json index cc6be6590..0f7a28b60 100644 --- a/frontend/lang/messages/ru-RU.json +++ b/frontend/lang/messages/ru-RU.json @@ -69,6 +69,7 @@ "new-notification": "Новое уведомление", "event-notifiers": "Уведомления о событии", "apprise-url-skipped-if-blank": "URL-адрес (пропущен, если пусто)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Включить уведомления", "what-events": "На какие события следует настроить уведомления?", "user-events": "События пользователя", @@ -1168,7 +1169,7 @@ "group-details": "Сведения о группе", "group-details-description": "Прежде чем создать учетную запись, вам нужно создать группу. В вашей группе будете только вы, но вы сможете пригласить других позже. Участники группы могут обмениваться планами питания, списками покупок, рецептами и многим другим!", "use-seed-data": "Использовать дефолтные значения", - "use-seed-data-description": "Mealie идёт с коллекцией продуктов, единиц измерения и меток, которые могут быть использованы для заполнения вашей группы полезными данными для организации ваших рецептов.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Параметры учетной записи" }, "validation": { diff --git a/frontend/lang/messages/sk-SK.json b/frontend/lang/messages/sk-SK.json index 269330cac..dcb5c7794 100644 --- a/frontend/lang/messages/sk-SK.json +++ b/frontend/lang/messages/sk-SK.json @@ -69,6 +69,7 @@ "new-notification": "Nové upozornenie", "event-notifiers": "Upozornenia udalostí", "apprise-url-skipped-if-blank": "Informačná URL (preskočená, ak je prázdna)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Zapnúť notifikátor", "what-events": "Pre ktoré udalosti si želáte zapnúť notifikátor?", "user-events": "Udalosti používateľa", @@ -1168,7 +1169,7 @@ "group-details": "Podrobnosti o skupine", "group-details-description": "Pred vytvorením účtu musíte vytvoriť skupinu. Vaša skupina bude obsahovať iba vás, ale neskôr budete môcť pozvať ostatných. Členovia vašej skupiny môžu zdieľať stravovacie plány, nákupné zoznamy, recepty a ďalšie!", "use-seed-data": "Použiť predvolené dáta", - "use-seed-data-description": "Mealie prichádza so zbierkou potravín, jednotiek a štítkov, ktoré možno použiť na naplnenie vašej skupiny užitočnými údajmi na organizáciu vašich receptov.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Detaily účtu" }, "validation": { diff --git a/frontend/lang/messages/sl-SI.json b/frontend/lang/messages/sl-SI.json index 5b41bdc52..ec8557f49 100644 --- a/frontend/lang/messages/sl-SI.json +++ b/frontend/lang/messages/sl-SI.json @@ -69,6 +69,7 @@ "new-notification": "Novo obvestilo", "event-notifiers": "Obvestila o dogodkih", "apprise-url-skipped-if-blank": "Apprise URL (preskočeno, če je prazno)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Vključi obvestila", "what-events": "Katere dogodke naj spremlja obveščevalni sistem?", "user-events": "Dogodki uporabnika", @@ -1168,7 +1169,7 @@ "group-details": "Detajli skupine", "group-details-description": "Preden kreirate račun, morate kreirati skupino. V skupini boste sprva samo vi, vendar imate možnost povabiti še ostale člane. Člani v vaši skupini lahko delijo načrte obrokov, nakupovalne sezname, recepte in še več!", "use-seed-data": "Uporabi privzete podatke", - "use-seed-data-description": "Meali vključuje zbirko jedi, enot in oznak, ki se lahko uporabno uporabijo v vaši skupini za organizacijo receptov.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Podatki o računu" }, "validation": { diff --git a/frontend/lang/messages/sr-SP.json b/frontend/lang/messages/sr-SP.json index 4d3ececf6..433b5ff53 100644 --- a/frontend/lang/messages/sr-SP.json +++ b/frontend/lang/messages/sr-SP.json @@ -69,6 +69,7 @@ "new-notification": "Ново обавештење", "event-notifiers": "Обавештавач о догађају", "apprise-url-skipped-if-blank": "Apprise URL (прескочено ако је празно)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Омогући обавештење", "what-events": "На које догађаје би требао да се претплати овај обавештавач?", "user-events": "Догађаји корисника", @@ -1168,7 +1169,7 @@ "group-details": "Group Details", "group-details-description": "Пре него што креирате налог, морате креирати групу. Ваша група ће садржавати само вас, али касније ћете моћи позвати друге. Чланови ваше групе могу делити јеловнике, спискове за куповину, рецепте и још много тога!", "use-seed-data": "Use Seed Data", - "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Account Details" }, "validation": { diff --git a/frontend/lang/messages/sv-SE.json b/frontend/lang/messages/sv-SE.json index 80f6331f8..4152964e4 100644 --- a/frontend/lang/messages/sv-SE.json +++ b/frontend/lang/messages/sv-SE.json @@ -69,6 +69,7 @@ "new-notification": "Ny avisering", "event-notifiers": "Händelseavisering", "apprise-url-skipped-if-blank": "Apprise-URL (hoppa över om tom)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Aktivera avisering", "what-events": "Vilka händelser ska denna avisering prenumerera på?", "user-events": "Användarhändelser", @@ -1168,7 +1169,7 @@ "group-details": "Gruppuppgifter", "group-details-description": "Innan du skapar ett konto måste du skapa en grupp. Din grupp kommer bara att innehålla dig, men du kommer att kunna bjuda in andra senare. Medlemmarna i din grupp kan dela måltidsplaner, inköpslistor, recept och mycket mer!", "use-seed-data": "Använd exempeldata", - "use-seed-data-description": "Mealie innehåller en samling av livsmedel, enheter och etiketter som kan användas för att fylla din grupp med användbara data för att organisera dina recept.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Kontouppgifter" }, "validation": { diff --git a/frontend/lang/messages/tr-TR.json b/frontend/lang/messages/tr-TR.json index a01ae2c84..d3e334766 100644 --- a/frontend/lang/messages/tr-TR.json +++ b/frontend/lang/messages/tr-TR.json @@ -69,6 +69,7 @@ "new-notification": "Yeni bildirim", "event-notifiers": "Etkinlik Bildirimleri", "apprise-url-skipped-if-blank": "Apprise URL'si (boşsa geçilir)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Bildiriciyi Etkinleştir", "what-events": "Bu bildirimci hangi olaylara abone olmalıdır?", "user-events": "Kullanıcı Etkinlikleri", @@ -1168,7 +1169,7 @@ "group-details": "Grup Detayları", "group-details-description": "Hesap oluşturmadan önce bir grup oluşturmanız gerekir. Grubunuzda yalnızca siz yer alacaksınız ancak daha sonra başkalarını da davet edebileceksiniz. Grubunuzdaki üyeler yemek planlarını, alışveriş listelerini, tarifleri ve daha fazlasını paylaşabilir!", "use-seed-data": "Tohum Verisi Kullan", - "use-seed-data-description": "Mealie, grubunuzu tariflerinizi düzenlemenize yardımcı olacak yararlı verilerle doldurmak için kullanılabilecek bir Yiyecek, Birim ve Etiket koleksiyonuyla birlikte gelir.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Hesap Detayları" }, "validation": { diff --git a/frontend/lang/messages/uk-UA.json b/frontend/lang/messages/uk-UA.json index 6a2114b4a..c2acf69ae 100644 --- a/frontend/lang/messages/uk-UA.json +++ b/frontend/lang/messages/uk-UA.json @@ -69,6 +69,7 @@ "new-notification": "Нове сповіщення", "event-notifiers": "Сповіщувачі", "apprise-url-skipped-if-blank": "Apprise URL (пропущено якщо порожній)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Увімкнути сповіщувач", "what-events": "На які події цей сповіщувач має бути підписаний?", "user-events": "Події користувача", @@ -1168,7 +1169,7 @@ "group-details": "Деталі групи", "group-details-description": "Перед створенням облікового запису вам потрібно створити групу. Спочатку ваша група буде містити тільки вас, але ви зможете запрошувати інших пізніше. Учасники вашої групи можуть обмінюватися планами харчування, списками покупок, рецептами і багато чим іншим!", "use-seed-data": "Використати початкові дані", - "use-seed-data-description": "Mealie має вбудований набір продуктів, одиниць виміру, та етикеток що можуть бути додані до вашої групи для допомоги в організації рецептів.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Деталі акаунта" }, "validation": { diff --git a/frontend/lang/messages/vi-VN.json b/frontend/lang/messages/vi-VN.json index 81743f4b8..0581a30db 100644 --- a/frontend/lang/messages/vi-VN.json +++ b/frontend/lang/messages/vi-VN.json @@ -69,6 +69,7 @@ "new-notification": "Thông báo mới", "event-notifiers": "Event Notifiers", "apprise-url-skipped-if-blank": "Apprise URL (skipped if blank)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "Enable Notifier", "what-events": "What events should this notifier subscribe to?", "user-events": "User Events", @@ -1168,7 +1169,7 @@ "group-details": "Group Details", "group-details-description": "Before you create an account you'll need to create a group. Your group will only contain you, but you'll be able to invite others later. Members in your group can share meal plans, shopping lists, recipes, and more!", "use-seed-data": "Use Seed Data", - "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Account Details" }, "validation": { diff --git a/frontend/lang/messages/zh-CN.json b/frontend/lang/messages/zh-CN.json index 6f9ba17e5..9a62cfc54 100644 --- a/frontend/lang/messages/zh-CN.json +++ b/frontend/lang/messages/zh-CN.json @@ -69,6 +69,7 @@ "new-notification": "新通知", "event-notifiers": "事件通知器", "apprise-url-skipped-if-blank": "Apprise URL (如果为空则跳过)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "打开消息通知", "what-events": "该通知器需要订阅哪些事件?", "user-events": "用户事件", @@ -1168,7 +1169,7 @@ "group-details": "群组详情", "group-details-description": "在你创建账户之前,需要先创建一个群组。此时群组将只包含你自己,但稍后你便可邀请其他人。 你的群组成员可以分享食谱、饮食计划、购物清单等!", "use-seed-data": "使用初始数据", - "use-seed-data-description": "Mealie附带一套现成的“食品”、“单位”、“标签”数据,可以帮助你的群组管理食谱。", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "账户详情" }, "validation": { diff --git a/frontend/lang/messages/zh-TW.json b/frontend/lang/messages/zh-TW.json index d26e6c20a..7cbc31c05 100644 --- a/frontend/lang/messages/zh-TW.json +++ b/frontend/lang/messages/zh-TW.json @@ -69,6 +69,7 @@ "new-notification": "新通知", "event-notifiers": "事件通知", "apprise-url-skipped-if-blank": "Apprise 網址(空白則略過)", + "apprise-url-is-left-intentionally-blank": "Since Apprise URLs typically contain sensitive information, this field is left intentionally blank while editing. If you wish to update the URL, please enter the new one here, otherwise leave it blank to keep the current URL.", "enable-notifier": "啟用通知功能", "what-events": "要訂閱哪些事件通知?", "user-events": "用戶相關事件", @@ -1168,7 +1169,7 @@ "group-details": "Group Details", "group-details-description": "Before you create an account you'll need to create a group. Your group will only contain you, but you'll be able to invite others later. Members in your group can share meal plans, shopping lists, recipes, and more!", "use-seed-data": "Use Seed Data", - "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes.", + "use-seed-data-description": "Mealie ships with a collection of Foods, Units, and Labels that can be used to populate your group with helpful data for organizing your recipes. These are translated into the language you currently have selected. You can always add to or modify this data later.", "account-details": "Account Details" }, "validation": { diff --git a/frontend/lib/api/public/explore/cookbooks.ts b/frontend/lib/api/public/explore/cookbooks.ts index ee7e6230c..3afeb40d4 100644 --- a/frontend/lib/api/public/explore/cookbooks.ts +++ b/frontend/lib/api/public/explore/cookbooks.ts @@ -1,5 +1,5 @@ import { BaseCRUDAPIReadOnly } from "~/lib/api/base/base-clients"; -import { RecipeCookBook } from "~/lib/api/types/cookbook"; +import { ReadCookBook } from "~/lib/api/types/cookbook"; import { ApiRequestInstance } from "~/lib/api/types/non-generated"; const prefix = "/api"; @@ -10,7 +10,7 @@ const routes = { cookbooksGroupSlugCookbookId: (groupSlug: string | number, cookbookId: string | number) => `${exploreGroupSlug(groupSlug)}/cookbooks/${cookbookId}`, }; -export class PublicCookbooksApi extends BaseCRUDAPIReadOnly { +export class PublicCookbooksApi extends BaseCRUDAPIReadOnly { constructor(requests: ApiRequestInstance, groupSlug: string) { super( requests, diff --git a/frontend/lib/api/types/admin.ts b/frontend/lib/api/types/admin.ts index 6f2022f6e..868cb74e6 100644 --- a/frontend/lib/api/types/admin.ts +++ b/frontend/lib/api/types/admin.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ /** /* This file was automatically generated from pydantic models by running pydantic2ts. /* Do not modify it by hand - just update the pydantic models and then re-run the script diff --git a/frontend/lib/api/types/analytics.ts b/frontend/lib/api/types/analytics.ts index 5bdc7fbcd..f0eb9d489 100644 --- a/frontend/lib/api/types/analytics.ts +++ b/frontend/lib/api/types/analytics.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ /** /* This file was automatically generated from pydantic models by running pydantic2ts. /* Do not modify it by hand - just update the pydantic models and then re-run the script diff --git a/frontend/lib/api/types/cookbook.ts b/frontend/lib/api/types/cookbook.ts index a35e5cd5f..753b11c6a 100644 --- a/frontend/lib/api/types/cookbook.ts +++ b/frontend/lib/api/types/cookbook.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ /** /* This file was automatically generated from pydantic models by running pydantic2ts. /* Do not modify it by hand - just update the pydantic models and then re-run the script @@ -38,67 +39,6 @@ export interface QueryFilterJSONPart { attributeName?: string | null; relationalOperator?: RelationalKeyword | RelationalOperator | null; value?: string | string[] | null; -} -export interface RecipeCookBook { - name: string; - description?: string; - slug?: string | null; - position?: number; - public?: boolean; - queryFilterString?: string; - groupId: string; - householdId: string; - id: string; - queryFilter?: QueryFilterJSON; - recipes: RecipeSummary[]; -} -export interface RecipeSummary { - id?: string | null; - userId?: string; - householdId?: string; - groupId?: string; - name?: string | null; - slug?: string; - image?: unknown; - recipeServings?: number; - recipeYieldQuantity?: number; - recipeYield?: string | null; - totalTime?: string | null; - prepTime?: string | null; - cookTime?: string | null; - performTime?: string | null; - description?: string | null; - recipeCategory?: RecipeCategory[] | null; - tags?: RecipeTag[] | null; - tools?: RecipeTool[]; - rating?: number | null; - orgURL?: string | null; - dateAdded?: string | null; - dateUpdated?: string | null; - createdAt?: string | null; - updatedAt?: string | null; - lastMade?: string | null; -} -export interface RecipeCategory { - id?: string | null; - groupId?: string | null; - name: string; - slug: string; - [k: string]: unknown; -} -export interface RecipeTag { - id?: string | null; - groupId?: string | null; - name: string; - slug: string; - [k: string]: unknown; -} -export interface RecipeTool { - id: string; - groupId?: string | null; - name: string; - slug: string; - householdsWithTool?: string[]; [k: string]: unknown; } export interface SaveCookBook { diff --git a/frontend/lib/api/types/group.ts b/frontend/lib/api/types/group.ts index 8ebf2c96c..bc2fbcf62 100644 --- a/frontend/lib/api/types/group.ts +++ b/frontend/lib/api/types/group.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ /** /* This file was automatically generated from pydantic models by running pydantic2ts. /* Do not modify it by hand - just update the pydantic models and then re-run the script diff --git a/frontend/lib/api/types/household.ts b/frontend/lib/api/types/household.ts index f3400dea4..cfe4ff3f9 100644 --- a/frontend/lib/api/types/household.ts +++ b/frontend/lib/api/types/household.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ /** /* This file was automatically generated from pydantic models by running pydantic2ts. /* Do not modify it by hand - just update the pydantic models and then re-run the script diff --git a/frontend/lib/api/types/labels.ts b/frontend/lib/api/types/labels.ts index ee9335bb2..a8fc4c046 100644 --- a/frontend/lib/api/types/labels.ts +++ b/frontend/lib/api/types/labels.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ /** /* This file was automatically generated from pydantic models by running pydantic2ts. /* Do not modify it by hand - just update the pydantic models and then re-run the script diff --git a/frontend/lib/api/types/meal-plan.ts b/frontend/lib/api/types/meal-plan.ts index 85f03de97..b6d1c08e4 100644 --- a/frontend/lib/api/types/meal-plan.ts +++ b/frontend/lib/api/types/meal-plan.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ /** /* This file was automatically generated from pydantic models by running pydantic2ts. /* Do not modify it by hand - just update the pydantic models and then re-run the script diff --git a/frontend/lib/api/types/reports.ts b/frontend/lib/api/types/reports.ts index 428c39f40..2b763275e 100644 --- a/frontend/lib/api/types/reports.ts +++ b/frontend/lib/api/types/reports.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ /** /* This file was automatically generated from pydantic models by running pydantic2ts. /* Do not modify it by hand - just update the pydantic models and then re-run the script diff --git a/frontend/lib/api/types/response.ts b/frontend/lib/api/types/response.ts index 9fa568846..dfa8a54f4 100644 --- a/frontend/lib/api/types/response.ts +++ b/frontend/lib/api/types/response.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ /** /* This file was automatically generated from pydantic models by running pydantic2ts. /* Do not modify it by hand - just update the pydantic models and then re-run the script diff --git a/frontend/lib/api/types/user.ts b/frontend/lib/api/types/user.ts index a5818778b..029e166b6 100644 --- a/frontend/lib/api/types/user.ts +++ b/frontend/lib/api/types/user.ts @@ -1,4 +1,5 @@ /* tslint:disable */ +/* eslint-disable */ /** /* This file was automatically generated from pydantic models by running pydantic2ts. /* Do not modify it by hand - just update the pydantic models and then re-run the script diff --git a/frontend/lib/api/user/group-cookbooks.ts b/frontend/lib/api/user/group-cookbooks.ts index 9d5631558..640a6ef5e 100644 --- a/frontend/lib/api/user/group-cookbooks.ts +++ b/frontend/lib/api/user/group-cookbooks.ts @@ -1,5 +1,5 @@ import { BaseCRUDAPI } from "../base/base-clients"; -import type { CreateCookBook, RecipeCookBook, UpdateCookBook } from "~/lib/api/types/cookbook"; +import type { CreateCookBook, ReadCookBook, UpdateCookBook } from "~/lib/api/types/cookbook"; const prefix = "/api"; @@ -8,7 +8,7 @@ const routes = { cookbooksId: (id: number) => `${prefix}/households/cookbooks/${id}`, }; -export class CookbookAPI extends BaseCRUDAPI { +export class CookbookAPI extends BaseCRUDAPI { baseRoute: string = routes.cookbooks; itemRoute = routes.cookbooksId; diff --git a/frontend/pages/admin/setup.vue b/frontend/pages/admin/setup.vue index d692cb6a8..31c5c3879 100644 --- a/frontend/pages/admin/setup.vue +++ b/frontend/pages/admin/setup.vue @@ -1,70 +1,81 @@