diff --git a/src/gui/src/UI/Dashboard/TabHome.js b/src/gui/src/UI/Dashboard/TabHome.js index de4688152..f9177bf84 100644 --- a/src/gui/src/UI/Dashboard/TabHome.js +++ b/src/gui/src/UI/Dashboard/TabHome.js @@ -19,13 +19,6 @@ import UIWindowSaveAccount from '../UIWindowSaveAccount.js'; -function getTimeGreeting () { - const hour = new Date().getHours(); - if ( hour < 12 ) return 'Good morning'; - if ( hour < 17 ) return 'Good afternoon'; - return 'Good evening'; -} - function buildRecentAppsHTML () { let h = ''; @@ -121,7 +114,6 @@ const TabHome = { html () { const username = window.user?.username || 'User'; - const greeting = getTimeGreeting(); const profilePicture = window.user?.profile?.picture || window.icons['profile.svg']; let h = ''; @@ -133,9 +125,9 @@ const TabHome = { h += '
'; h += 'Your personal cloud computer
'; + h += `${i18n('your_personal_internet_computer')}
`; // Show warning if account is temporary/unsaved if ( window.user?.is_temp ) { h += '