From: Jan-Christoph Borchardt Date: Thu, 11 Jun 2020 02:20:57 +0000 (+0200) Subject: Modify dashboard welcome sentences X-Git-Tag: v20.0.0beta1~240^2~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4b9d47fa536335ca7ebd69ad4098967dfbe5aceb;p=nextcloud-server.git Modify dashboard welcome sentences Signed-off-by: Jan-Christoph Borchardt --- diff --git a/apps/dashboard/src/App.vue b/apps/dashboard/src/App.vue index 9f8598de216..04c0a75969e 100644 --- a/apps/dashboard/src/App.vue +++ b/apps/dashboard/src/App.vue @@ -39,7 +39,7 @@ export default { const time = this.timer.getHours() if (time > 18) { - return t('dashboard', '🌙 Good evening') + return t('dashboard', '🌙 Time to call it a day') } if (time > 12) { return t('dashboard', '☀ Good afternoon') @@ -47,7 +47,10 @@ export default { if (time === 12) { return t('dashboard', '🍽 Time for lunch') } - return t('dashboard', '🌄 Good morning') + if (time > 5) { + return t('dashboard', '🌄 Good morning') + } + return t('dashboard', '🦉 Have a night owl') }, }, watch: {