]> source.dussan.org Git - nextcloud-server.git/commitdiff
Modify dashboard welcome sentences
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 11 Jun 2020 02:20:57 +0000 (04:20 +0200)
committerJulius Hรคrtl <jus@bitgrid.net>
Wed, 15 Jul 2020 07:24:51 +0000 (09:24 +0200)
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
apps/dashboard/src/App.vue

index 9f8598de21675422f9a4a98f6665ad769c70bc6d..04c0a75969e9a468184bcbdddfba1dd903045f8e 100644 (file)
@@ -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: {