From b429ae4d06b31593d92355890d87af55885a3453 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bidegain Date: Mon, 20 Jul 2026 15:46:28 +0200 Subject: [PATCH] fix(i18n): remove hardcoded english meta titles --- templates/edit.html | 2 +- templates/error.html | 2 +- templates/preferences.html | 2 +- templates/recipes.html | 2 +- templates/shopping_list.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/edit.html b/templates/edit.html index b405920..297f105 100644 --- a/templates/edit.html +++ b/templates/edit.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block title %}Edit: {{ recipe_name }} - Cook{% endblock %} +{% block title %}{{ tr.t("action-edit") }}: {{ recipe_name }} - Cook{% endblock %} {% block content %}
diff --git a/templates/error.html b/templates/error.html index 936a01d..8194f0e 100644 --- a/templates/error.html +++ b/templates/error.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block title %}Error - Cook{% endblock %} +{% block title %}{{ tr.t("error-title") }} - Cook{% endblock %} {% block content %}
diff --git a/templates/preferences.html b/templates/preferences.html index 138951a..e925289 100644 --- a/templates/preferences.html +++ b/templates/preferences.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block title %}Preferences - Cook{% endblock %} +{% block title %}{{ tr.t("nav-preferences") }} - Cook{% endblock %} {% block content %}
diff --git a/templates/recipes.html b/templates/recipes.html index 7063756..2d76f77 100644 --- a/templates/recipes.html +++ b/templates/recipes.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block title %}Recipes - Cook{% endblock %} +{% block title %}{{ tr.t("nav-recipes") }} - Cook{% endblock %} {% block content %}
diff --git a/templates/shopping_list.html b/templates/shopping_list.html index faadca8..2019709 100644 --- a/templates/shopping_list.html +++ b/templates/shopping_list.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block title %}Shopping List - Cook{% endblock %} +{% block title %}{{ tr.t("nav-shopping-list") }} - Cook{% endblock %} {% block content %}