From dc7db75963e103eeb40b0c3ee857891d3594f62d Mon Sep 17 00:00:00 2001 From: smilerz Date: Tue, 6 Feb 2024 11:14:47 -0600 Subject: [PATCH 1/2] regex replace not run on food if there are no food aliases --- cookbook/helper/automation_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/helper/automation_helper.py b/cookbook/helper/automation_helper.py index a86d405b..fa333fb3 100644 --- a/cookbook/helper/automation_helper.py +++ b/cookbook/helper/automation_helper.py @@ -98,7 +98,7 @@ class AutomationEngine: try: return self.food_aliases[food.lower()] except KeyError: - return food + return self.apply_regex_replace_automation(food, Automation.FOOD_REPLACE) else: if automation := Automation.objects.filter(space=self.request.space, type=Automation.FOOD_ALIAS, param_1__iexact=food, disabled=False).order_by('order').first(): return automation.param_2 From b5c3ef72ef195aea19fca37b3329199594028507 Mon Sep 17 00:00:00 2001 From: Jonan B Date: Fri, 9 Feb 2024 12:10:55 +0000 Subject: [PATCH 2/2] Translated using Weblate (Dutch) Currently translated at 100.0% (490 of 490 strings) Translation: Tandoor/Recipes Backend Translate-URL: http://translate.tandoor.dev/projects/tandoor/recipes-backend/nl/ --- cookbook/locale/nl/LC_MESSAGES/django.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cookbook/locale/nl/LC_MESSAGES/django.po b/cookbook/locale/nl/LC_MESSAGES/django.po index 0cb0f122..0cc262cd 100644 --- a/cookbook/locale/nl/LC_MESSAGES/django.po +++ b/cookbook/locale/nl/LC_MESSAGES/django.po @@ -13,8 +13,8 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-05-18 14:28+0200\n" -"PO-Revision-Date: 2023-08-15 19:19+0000\n" -"Last-Translator: Jochum van der Heide \n" +"PO-Revision-Date: 2024-02-10 12:20+0000\n" +"Last-Translator: Jonan B \n" "Language-Team: Dutch \n" "Language: nl\n" @@ -159,7 +159,7 @@ msgstr "Naam" #: .\cookbook\forms.py:124 .\cookbook\forms.py:315 .\cookbook\views\lists.py:88 msgid "Keywords" -msgstr "Etiketten" +msgstr "Trefwoorden" #: .\cookbook\forms.py:125 msgid "Preparation time in minutes" @@ -1224,7 +1224,7 @@ msgstr "Markdown gids" #: .\cookbook\templates\base.html:329 msgid "GitHub" -msgstr "GitHub" +msgstr "Github" #: .\cookbook\templates\base.html:331 msgid "Translate Tandoor"