diff --git a/frontend/composables/recipes/use-recipes.ts b/frontend/composables/recipes/use-recipes.ts index 104e7403d..f89780622 100644 --- a/frontend/composables/recipes/use-recipes.ts +++ b/frontend/composables/recipes/use-recipes.ts @@ -90,6 +90,8 @@ export const useLazyRecipes = function (publicGroupSlug: string | null = null) { } async function getRandom(query: RecipeSearchQuery | null = null, queryFilter: string | null = null) { + query = query || {}; + query._searchSeed = query._searchSeed || Date.now().toString(); const { data } = await api.recipes.getAll(1, 1, getParams("random", "desc", null, query, queryFilter)); if (data?.items.length) { return data.items[0]; diff --git a/frontend/lang/messages/nl-NL.json b/frontend/lang/messages/nl-NL.json index 1e8b40eb6..2671ba18c 100644 --- a/frontend/lang/messages/nl-NL.json +++ b/frontend/lang/messages/nl-NL.json @@ -660,7 +660,7 @@ "missing-food": "Ontbrekend levensmiddel maken: {food}", "no-food": "Geen levensmiddel" }, - "reset-servings-count": "Zet de teller van aantal keer gegeten op nul", + "reset-servings-count": "Porties resetten", "not-linked-ingredients": "Extra ingrediënten", "upload-another-image": "Een andere afbeelding uploaden", "upload-images": "Afbeelding uploaden", diff --git a/frontend/lang/messages/pl-PL.json b/frontend/lang/messages/pl-PL.json index a467f6ed5..03a3fdc3a 100644 --- a/frontend/lang/messages/pl-PL.json +++ b/frontend/lang/messages/pl-PL.json @@ -599,7 +599,7 @@ "create-recipe-from-an-image": "Utwórz przepis z obrazu", "create-recipe-from-an-image-description": "Utwórz przepis poprzez przesłanie obrazka. Mealie spróbuje wyodrębnić tekst z obrazu za pomocą AI i utworzyć z niego przepis.", "crop-and-rotate-the-image": "Przytnij i obróć obraz, tak aby był w odpowiedniej orientacji i był widoczny tylko tekst.", - "create-from-images": "Create from Images", + "create-from-images": "Utwórz przepis z obrazów", "should-translate-description": "Przetłumacz przepis na mój język", "please-wait-image-procesing": "Proszę czekać, obraz jest przetwarzany. To może chwilę potrwać.", "please-wait-images-processing": "Please wait, the images are processing. This may take some time.", diff --git a/frontend/lang/messages/zh-TW.json b/frontend/lang/messages/zh-TW.json index 0f9c22d32..8cdeab7b3 100644 --- a/frontend/lang/messages/zh-TW.json +++ b/frontend/lang/messages/zh-TW.json @@ -8,7 +8,7 @@ "database-type": "資料庫類型", "database-url": "資料庫網址", "default-group": "預設群組", - "default-household": "Default Household", + "default-household": "預設家庭群組", "demo": "展示", "demo-status": "展示狀態", "development": "開發版", @@ -65,21 +65,21 @@ "something-went-wrong": "出了點問題...", "subscribed-events": "關注的事件", "test-message-sent": "測試訊息已發送", - "message-sent": "Message Sent", + "message-sent": "訊息已送出", "new-notification": "新通知", - "event-notifiers": "Event Notifiers", - "apprise-url-skipped-if-blank": "Apprise URL (skipped if blank)", - "enable-notifier": "Enable Notifier", - "what-events": "What events should this notifier subscribe to?", - "user-events": "User Events", - "mealplan-events": "Mealplan Events", - "when-a-user-in-your-group-creates-a-new-mealplan": "When a user in your group creates a new mealplan", + "event-notifiers": "事件通知", + "apprise-url-skipped-if-blank": "Apprise 網址(空白則略過)", + "enable-notifier": "啟用通知功能", + "what-events": "要訂閱哪些事件通知?", + "user-events": "用戶相關事件", + "mealplan-events": "用餐規劃事件", + "when-a-user-in-your-group-creates-a-new-mealplan": "當群組裡的用戶建立新用餐規劃時", "shopping-list-events": "購物清單", - "cookbook-events": "Cookbook Events", - "tag-events": "Tag Events", - "category-events": "Category Events", - "when-a-new-user-joins-your-group": "When a new user joins your group", - "recipe-events": "Recipe Events" + "cookbook-events": "食譜集事件", + "tag-events": "標籤事件", + "category-events": "類別事件", + "when-a-new-user-joins-your-group": "當新用戶加入您的群組時", + "recipe-events": "食譜事件" }, "general": { "add": "Add", @@ -146,7 +146,7 @@ "save": "保存", "settings": "設定", "share": "分享", - "show-all": "Show All", + "show-all": "顯示全部", "shuffle": "隨機", "sort": "排序", "sort-ascending": "Sort Ascending", @@ -157,12 +157,12 @@ "submit": "提交", "success-count": "成功: {count}", "sunday": "星期日", - "system": "System", + "system": "系統", "templates": "範本", "test": "測試", "themes": "佈景主題", "thursday": "星期四", - "title": "Title", + "title": "標題", "token": "密鑰", "tuesday": "星期二", "type": "類型", @@ -177,12 +177,12 @@ "units": "單位", "back": "返回", "next": "下一步", - "start": "Start", + "start": "開始", "toggle-view": "切換檢視方式", "date": "日期", "id": "ID", "owner": "擁有者", - "change-owner": "Change Owner", + "change-owner": "更換擁有者", "date-added": "新增日期", "none": "無", "run": "運行", @@ -246,7 +246,7 @@ "manage-members": "管理成員", "manage-members-description": "Manage the permissions of the members in your household. {manage} allows the user to access the data-management page, and {invite} allows the user to generate invitation links for other users. Group owners cannot change their own permissions.", "manage": "Manage", - "manage-household": "Manage Household", + "manage-household": "管理家庭群組", "invite": "邀請", "looking-to-update-your-profile": "Looking to Update Your Profile?", "default-recipe-preferences-description": "These are the default settings when a new recipe is created in your group. These can be changed for individual recipes in the recipe settings menu.", @@ -272,8 +272,8 @@ "group-recipe-preferences": "Group Recipe Preferences", "report": "報告", "report-with-id": "Report ID: {id}", - "group-management": "Group Management", - "admin-group-management": "Admin Group Management", + "group-management": "群組管理", + "admin-group-management": "管理員群組管理", "admin-group-management-text": "Changes to this group will be reflected immediately.", "group-id-value": "Group Id: {0}", "total-households": "Total Households", diff --git a/mealie/repos/seed/resources/foods/locales/de-DE.json b/mealie/repos/seed/resources/foods/locales/de-DE.json index cc9d261eb..f8da62074 100644 --- a/mealie/repos/seed/resources/foods/locales/de-DE.json +++ b/mealie/repos/seed/resources/foods/locales/de-DE.json @@ -4237,7 +4237,7 @@ "dried beef": { "aliases": [], "description": "", - "name": "dried beef", + "name": "Getrocknetes Rindfleisch", "plural_name": "dried beefs" }, "gammon joint": { @@ -4511,8 +4511,8 @@ "smoked chicken": { "aliases": [], "description": "", - "name": "smoked chicken", - "plural_name": "smoked chickens" + "name": "Geräuchertes Hähnchen", + "plural_name": "Geräucherte Hähnchen" }, "turkey leg": { "aliases": [], @@ -4631,8 +4631,8 @@ "crispy chicken strip": { "aliases": [], "description": "", - "name": "crispy chicken strip", - "plural_name": "crispy chicken strips" + "name": "Knuspriger Hühnerstreifen", + "plural_name": "Knusprige Hühnerstreifen" }, "ostrich": { "aliases": [], @@ -5999,8 +5999,8 @@ "cracked pepper": { "aliases": [], "description": "", - "name": "cracked pepper", - "plural_name": "cracked peppers" + "name": "Gemahlener Pfeffer", + "plural_name": "Gemahlener Pfeffer" }, "peppercorn": { "aliases": [], @@ -6209,20 +6209,20 @@ "black mustard seed": { "aliases": [], "description": "", - "name": "black mustard seed", - "plural_name": "black mustard seeds" + "name": "Schwarzer Senfsamen", + "plural_name": "Schwarze Senfsamen" }, "dried chili": { "aliases": [], "description": "", "name": "Getrocknete Chili", - "plural_name": "dried chilies" + "plural_name": "Getrocknete Chilis" }, "black cardamom": { "aliases": [], "description": "", - "name": "black cardamom", - "plural_name": "black cardamoms" + "name": "Schwarzer Kardamom", + "plural_name": "Schwarzer Kardamom" }, "saffron strand": { "aliases": [], @@ -6269,8 +6269,8 @@ "dried cilantro": { "aliases": [], "description": "", - "name": "dried cilantro", - "plural_name": "dried cilantros" + "name": "Getrockneter Koriander", + "plural_name": "Getrockneter Koriander" }, "lemon balm": { "aliases": [], @@ -6281,26 +6281,26 @@ "dill seed": { "aliases": [], "description": "", - "name": "dill seed", - "plural_name": "dill seeds" + "name": "Dill Samen", + "plural_name": "Dill Samen" }, "green peppercorn": { "aliases": [], "description": "", - "name": "green peppercorn", - "plural_name": "green peppercorns" + "name": "Grünes Pfefferkorn", + "plural_name": "Grüne Pfefferkörner" }, "aleppo pepper": { "aliases": [], "description": "", - "name": "aleppo pepper", - "plural_name": "aleppo peppers" + "name": "Aleppo Chili", + "plural_name": "Aleppo Chilis" }, "wasabi powder": { "aliases": [], "description": "", - "name": "wasabi powder", - "plural_name": "wasabi powders" + "name": "Wasabi Pulver", + "plural_name": "Wasabi Pulver" }, "achiote seed": { "aliases": [], @@ -6359,8 +6359,8 @@ "black cumin": { "aliases": [], "description": "", - "name": "black cumin", - "plural_name": "black cumins" + "name": "Schwarzkümmel", + "plural_name": "Schwarzkümmel" }, "anardana": { "aliases": [], @@ -6372,7 +6372,7 @@ "aliases": [], "description": "", "name": "Vietnamesische Minze", - "plural_name": "vietnamese mints" + "plural_name": "Vietnamesische Minze" }, "dried orange peel": { "aliases": [], @@ -7040,8 +7040,8 @@ "italian seasoning": { "aliases": [], "description": "", - "name": "italian seasoning", - "plural_name": "italian seasonings" + "name": "Italienische Kräuter", + "plural_name": "Italienische Kräuter" }, "ranch dressing packet": { "aliases": [], @@ -7106,8 +7106,8 @@ "himalayan salt": { "aliases": [], "description": "", - "name": "himalayan salt", - "plural_name": "himalayan salts" + "name": "Himalaya Salz", + "plural_name": "Himalaya Salz" }, "lemon & pepper seasoning": { "aliases": [], @@ -7136,8 +7136,8 @@ "red curry": { "aliases": [], "description": "", - "name": "red curry", - "plural_name": "red curries" + "name": "Rote Currypaste", + "plural_name": "Rote Currypaste" }, "old bay seasoning": { "aliases": [], @@ -7196,8 +7196,8 @@ "green curry": { "aliases": [], "description": "", - "name": "green curry", - "plural_name": "green curries" + "name": "Grüne Currypaste", + "plural_name": "Grüne Currypaste" }, "barbecue seasoning": { "aliases": [], @@ -7226,8 +7226,8 @@ "all-purpose seasoning": { "aliases": [], "description": "", - "name": "all-purpose seasoning", - "plural_name": "all-purpose seasonings" + "name": "Allzweck Gewürz", + "plural_name": "Allzweck Gewürze" }, "seafood seasoning": { "aliases": [], @@ -7298,8 +7298,8 @@ "msg": { "aliases": [], "description": "", - "name": "msg", - "plural_name": "msgs" + "name": "Glutamat", + "plural_name": "Glutamat" }, "teriyaki marinade": { "aliases": [], @@ -7322,8 +7322,8 @@ "smoked salt": { "aliases": [], "description": "", - "name": "smoked salt", - "plural_name": "smoked salts" + "name": "Räuchersalz", + "plural_name": "Räuchersalz" }, "dash seasoning": { "aliases": [], @@ -7655,11 +7655,11 @@ }, "vanilla extract": { "aliases": [ - "vanilla", + "Vanille", "vanillas" ], "description": "", - "name": "vanilla extract", + "name": "Vanille Extrakt", "plural_name": "vanilla extracts" }, "baking powder": { @@ -8004,8 +8004,8 @@ "coffee bean": { "aliases": [], "description": "", - "name": "coffee bean", - "plural_name": "coffee beans" + "name": "Kaffeebohne", + "plural_name": "Kaffeebohnen" }, "toffee bit": { "aliases": [], @@ -9110,8 +9110,8 @@ "black bean": { "aliases": [], "description": "", - "name": "black bean", - "plural_name": "black beans" + "name": "Schwarze Bohne", + "plural_name": "Schwarze Bohnen" }, "kidney bean": { "aliases": [], @@ -10078,14 +10078,14 @@ "tortilla chip": { "aliases": [], "description": "", - "name": "tortilla chip", - "plural_name": "tortilla chips" + "name": "Tortilla Chip", + "plural_name": "Tortilla Chips" }, "pita": { "aliases": [], "description": "", - "name": "pita", - "plural_name": "pitas" + "name": "Pita Brot", + "plural_name": "Pita Brote" }, "pretzel": { "aliases": [], @@ -10186,8 +10186,8 @@ "taco shell": { "aliases": [], "description": "", - "name": "taco shell", - "plural_name": "taco shells" + "name": "Taco Schale", + "plural_name": "Taco Schalen" }, "tater tot": { "aliases": [], diff --git a/mealie/repos/seed/resources/foods/locales/fr-FR.json b/mealie/repos/seed/resources/foods/locales/fr-FR.json index 85afb0e84..84053a223 100644 --- a/mealie/repos/seed/resources/foods/locales/fr-FR.json +++ b/mealie/repos/seed/resources/foods/locales/fr-FR.json @@ -279,7 +279,7 @@ "mixed vegetable": { "aliases": [], "description": "", - "name": "mixed vegetable", + "name": "mélange de légumes", "plural_name": "mixed vegetables" }, "poblano pepper": { diff --git a/mealie/repos/seed/resources/foods/locales/he-IL.json b/mealie/repos/seed/resources/foods/locales/he-IL.json index 906b58e6d..1aae665b8 100644 --- a/mealie/repos/seed/resources/foods/locales/he-IL.json +++ b/mealie/repos/seed/resources/foods/locales/he-IL.json @@ -4165,20 +4165,20 @@ "raw chorizo": { "aliases": [], "description": "", - "name": "raw chorizo", - "plural_name": "raw chorizoes" + "name": "צוריסו נא", + "plural_name": "צוריסוים נאים" }, "beef liver": { "aliases": [], "description": "", - "name": "beef liver", - "plural_name": "beef livers" + "name": "כבד בקר", + "plural_name": "כבדי בקר" }, "pastrami": { "aliases": [], "description": "", - "name": "pastrami", - "plural_name": "pastramis" + "name": "פסטרמה", + "plural_name": "פסטרמה" }, "cocktail sausage": { "aliases": [], @@ -4327,8 +4327,8 @@ "beef shoulder": { "aliases": [], "description": "", - "name": "beef shoulder", - "plural_name": "beef shoulders" + "name": "כתף בקר", + "plural_name": "כתפי בקר" }, "steak tip": { "aliases": [], @@ -4373,26 +4373,26 @@ "whole chicken": { "aliases": [], "description": "", - "name": "whole chicken", - "plural_name": "whole chickens" + "name": "עוף שלם", + "plural_name": "עופות שלמים" }, "whole turkey": { "aliases": [], "description": "", - "name": "whole turkey", - "plural_name": "whole turkeys" + "name": "הודו שלם", + "plural_name": "הודו שלמים" }, "chicken leg": { "aliases": [], "description": "", - "name": "chicken leg", - "plural_name": "chicken legs" + "name": "רגל עוף", + "plural_name": "רגלי עוף" }, "chicken wing": { "aliases": [], "description": "", - "name": "chicken wing", - "plural_name": "chicken wings" + "name": "כנף עוף", + "plural_name": "כנפי עוף" }, "turkey breast": { "aliases": [], @@ -4445,20 +4445,20 @@ "duck breast": { "aliases": [], "description": "", - "name": "duck breast", - "plural_name": "duck breasts" + "name": "חזה ברווז", + "plural_name": "חזה ברווז" }, "boneless chicken": { "aliases": [], "description": "", - "name": "boneless chicken", - "plural_name": "boneless chickens" + "name": "פרגית", + "plural_name": "פרגיות" }, "chicken liver": { "aliases": [], "description": "", - "name": "chicken liver", - "plural_name": "chicken livers" + "name": "כבד עוף", + "plural_name": "כבדי עוף" }, "cornish hen": { "aliases": [], @@ -4481,14 +4481,14 @@ "turkey meat": { "aliases": [], "description": "", - "name": "turkey meat", - "plural_name": "turkey meats" + "name": "בשר הודו", + "plural_name": "בשר הודו" }, "chicken quarter": { "aliases": [], "description": "", - "name": "chicken quarter", - "plural_name": "chicken quarters" + "name": "רבע עוף", + "plural_name": "רבעי עוף" }, "ground turkey sausage": { "aliases": [], @@ -4511,8 +4511,8 @@ "smoked chicken": { "aliases": [], "description": "", - "name": "smoked chicken", - "plural_name": "smoked chickens" + "name": "עוף מעושן", + "plural_name": "עופות מעושנים" }, "turkey leg": { "aliases": [], @@ -4529,8 +4529,8 @@ "goose": { "aliases": [], "description": "", - "name": "goose", - "plural_name": "geese" + "name": "אווז", + "plural_name": "אווזים" }, "turkey pepperoni": { "aliases": [], diff --git a/mealie/repos/seed/resources/foods/locales/pl-PL.json b/mealie/repos/seed/resources/foods/locales/pl-PL.json index 7a712cb38..c361c05bb 100644 --- a/mealie/repos/seed/resources/foods/locales/pl-PL.json +++ b/mealie/repos/seed/resources/foods/locales/pl-PL.json @@ -1501,8 +1501,8 @@ "dried cherry": { "aliases": [], "description": "", - "name": "dried cherry", - "plural_name": "dried cherries" + "name": "wiśnia suszona", + "plural_name": "wiśnie suszone" }, "juniper berry": { "aliases": [], diff --git a/mealie/repos/seed/resources/foods/locales/zh-TW.json b/mealie/repos/seed/resources/foods/locales/zh-TW.json index 2d96db533..e997b2751 100644 --- a/mealie/repos/seed/resources/foods/locales/zh-TW.json +++ b/mealie/repos/seed/resources/foods/locales/zh-TW.json @@ -4,8 +4,8 @@ "garlic": { "aliases": [], "description": "", - "name": "garlic", - "plural_name": "garlics" + "name": "大蒜", + "plural_name": "大蒜" }, "onion": { "aliases": [], @@ -138,7 +138,7 @@ "pumpkin": { "aliases": [], "description": "", - "name": "pumpkin", + "name": "南瓜", "plural_name": "pumpkins" }, "cauliflower": { diff --git a/mealie/repos/seed/resources/units/locales/zh-TW.json b/mealie/repos/seed/resources/units/locales/zh-TW.json index 7197eba62..e07527108 100644 --- a/mealie/repos/seed/resources/units/locales/zh-TW.json +++ b/mealie/repos/seed/resources/units/locales/zh-TW.json @@ -1,140 +1,140 @@ { "teaspoon": { "name": "茶匙", - "plural_name": "teaspoons", + "plural_name": "茶匙", "description": "", "abbreviation": "茶匙" }, "tablespoon": { "name": "湯匙", - "plural_name": "tablespoons", + "plural_name": "大匙", "description": "", "abbreviation": "湯匙" }, "cup": { "name": "杯", - "plural_name": "cups", + "plural_name": "杯", "description": "", - "abbreviation": "c" + "abbreviation": "杯" }, "fluid-ounce": { "name": "液體盎司", - "plural_name": "fluid ounces", + "plural_name": "液量盎司", "description": "", "abbreviation": "液體盎司" }, "pint": { "name": "品脫", - "plural_name": "pints", + "plural_name": "品脫", "description": "", "abbreviation": "品脫" }, "quart": { "name": "夸脫", - "plural_name": "quarts", + "plural_name": "夸脫", "description": "", "abbreviation": "夸脫" }, "gallon": { "name": "加侖", - "plural_name": "gallons", + "plural_name": "加侖", "description": "", "abbreviation": "加侖" }, "milliliter": { "name": "毫升", - "plural_name": "milliliters", + "plural_name": "毫升", "description": "", "abbreviation": "毫升" }, "liter": { "name": "公升", - "plural_name": "liters", + "plural_name": "公升", "description": "", "abbreviation": "公升" }, "pound": { "name": "磅", - "plural_name": "pounds", + "plural_name": "磅", "description": "", "abbreviation": "磅", - "plural_abbreviation": "lbs" + "plural_abbreviation": "磅" }, "ounce": { "name": "盎司", - "plural_name": "ounces", + "plural_name": "盎司", "description": "", "abbreviation": "盎司" }, "gram": { "name": "克", - "plural_name": "grams", + "plural_name": "公克", "description": "", "abbreviation": "克" }, "kilogram": { "name": "公斤", - "plural_name": "kilograms", + "plural_name": "公斤", "description": "", "abbreviation": "公斤" }, "milligram": { "name": "毫克", - "plural_name": "milligrams", + "plural_name": "毫克", "description": "", "abbreviation": "毫克" }, "splash": { "name": "少許", - "plural_name": "splashes", + "plural_name": "少許", "description": "", "abbreviation": "" }, "dash": { "name": "少許", - "plural_name": "dashes", + "plural_name": "少許", "description": "", "abbreviation": "" }, "serving": { "name": "份量", - "plural_name": "servings", + "plural_name": "份", "description": "", "abbreviation": "" }, "head": { "name": "頭", - "plural_name": "heads", + "plural_name": "顆", "description": "", "abbreviation": "" }, "clove": { "name": "瓣", - "plural_name": "cloves", + "plural_name": "瓣", "description": "", "abbreviation": "" }, "can": { "name": "罐", - "plural_name": "cans", + "plural_name": "罐", "description": "", "abbreviation": "" }, "bunch": { - "name": "bunch", - "plural_name": "bunches", + "name": "束", + "plural_name": "束", "description": "", "abbreviation": "" }, "pack": { - "name": "pack", - "plural_name": "packs", + "name": "包", + "plural_name": "包", "description": "", "abbreviation": "" }, "pinch": { - "name": "pinch", - "plural_name": "pinches", + "name": "撮", + "plural_name": "撮", "description": "", "abbreviation": "" }