From ade0e787da7f351dabfded47743462bc36d2b1e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 23 Sep 2020 09:56:07 +0200 Subject: [PATCH] Add more descriptive error message if the title is empty MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/components/card/CardSidebar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/card/CardSidebar.vue b/src/components/card/CardSidebar.vue index 6f08d01ac..9d984d21f 100644 --- a/src/components/card/CardSidebar.vue +++ b/src/components/card/CardSidebar.vue @@ -466,7 +466,7 @@ export default { }, updateTitle(newTitle) { if (newTitle.trim === '') { - showError('Could not update card title') + showError(t('deck', 'The title cannot be empty.')) return } this.$set(this.copiedCard, 'title', newTitle)