From 0d42a769d2057ac5fe6cb056bb3b7a3bec33b32a Mon Sep 17 00:00:00 2001 From: Sebastian Fey Date: Thu, 4 Mar 2021 19:36:42 +0100 Subject: [PATCH] Fix missing translation Signed-off-by: Sebastian Fey --- CHANGELOG.md | 2 ++ src/components/RecipeEdit.vue | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0afd2eddd..0046b8a5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ ### Fixed - Minor errors in displaying ingredients and instructions [#642](https://github.com/nextcloud/cookbook/pull/642) @seyfeb +- Missing translation + [#644](https://github.com/nextcloud/cookbook/pull/644) @seyfeb ## 0.8.3 - 2021-03-03 diff --git a/src/components/RecipeEdit.vue b/src/components/RecipeEdit.vue index 2afbbe47e..d6fed87f8 100644 --- a/src/components/RecipeEdit.vue +++ b/src/components/RecipeEdit.vue @@ -451,7 +451,10 @@ export default { confirmLeavingPage() { // eslint-disable-next-line no-alert return window.confirm( - "You have unsaved changes! Do you still want to leave?" + t( + "cookbook", + "You have unsaved changes! Do you still want to leave?" + ) ) }, confirmStayInEditedForm() {