Skip to content

Commit 0d2140d

Browse files
authored
fix(i18n): remove hardcoded english meta titles (#378)
1 parent 3d5be1a commit 0d2140d

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

templates/edit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends "base.html" %}
22

3-
{% block title %}Edit: {{ recipe_name }} - Cook{% endblock %}
3+
{% block title %}{{ tr.t("action-edit") }}: {{ recipe_name }} - Cook{% endblock %}
44

55
{% block content %}
66
<div class="flex flex-col h-[calc(100vh-12rem)]">

templates/error.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends "base.html" %}
22

3-
{% block title %}Error - Cook{% endblock %}
3+
{% block title %}{{ tr.t("error-title") }} - Cook{% endblock %}
44

55
{% block content %}
66
<div class="max-w-2xl mx-auto mt-12">

templates/preferences.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends "base.html" %}
22

3-
{% block title %}Preferences - Cook{% endblock %}
3+
{% block title %}{{ tr.t("nav-preferences") }} - Cook{% endblock %}
44

55
{% block content %}
66
<div>

templates/recipes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends "base.html" %}
22

3-
{% block title %}Recipes - Cook{% endblock %}
3+
{% block title %}{{ tr.t("nav-recipes") }} - Cook{% endblock %}
44

55
{% block content %}
66
<div>

templates/shopping_list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends "base.html" %}
22

3-
{% block title %}Shopping List - Cook{% endblock %}
3+
{% block title %}{{ tr.t("nav-shopping-list") }} - Cook{% endblock %}
44

55
{% block content %}
66
<div class="flex flex-col lg:flex-row gap-6">

0 commit comments

Comments
 (0)