diff --git a/src/app/components/favorites/favorites.component.html b/src/app/components/favorites/favorites.component.html index af094eca8..a66bf922b 100644 --- a/src/app/components/favorites/favorites.component.html +++ b/src/app/components/favorites/favorites.component.html @@ -91,8 +91,8 @@
star_rate -

No favorite files or folders

-

Favorite items that you want to easily find later.

+

{{ 'APP.BROWSE.FAVORITES.EMPTY_STATE.TITLE' | translate }}

+

{{ 'APP.BROWSE.FAVORITES.EMPTY_STATE.TEXT' | translate }}

diff --git a/src/app/components/libraries/libraries.component.html b/src/app/components/libraries/libraries.component.html index a64b10864..6fdf722fe 100644 --- a/src/app/components/libraries/libraries.component.html +++ b/src/app/components/libraries/libraries.component.html @@ -23,8 +23,8 @@
group_work -

You aren't a member of any File Libraries yet

-

Join sites to upload, view, and share files.

+

{{ 'APP.BROWSE.LIBRARIES.EMPTY_STATE.TITLE' | translate }}

+

{{ 'APP.BROWSE.LIBRARIES.EMPTY_STATE.TITLE' | translate }}

diff --git a/src/app/components/recent-files/recent-files.component.html b/src/app/components/recent-files/recent-files.component.html index ed012601a..a94bff4df 100644 --- a/src/app/components/recent-files/recent-files.component.html +++ b/src/app/components/recent-files/recent-files.component.html @@ -84,8 +84,8 @@
access_time -

No recent files or folders

-

Items you upload or edit in the last 30 days are shown here.

+

{{ 'APP.BROWSE.RECENT.EMPTY_STATE.TITLE' | translate }}

+

{{ 'APP.BROWSE.RECENT.EMPTY_STATE.TITLE' | translate }}

diff --git a/src/app/components/shared-files/shared-files.component.html b/src/app/components/shared-files/shared-files.component.html index 6992a2cb0..e84e09bfc 100644 --- a/src/app/components/shared-files/shared-files.component.html +++ b/src/app/components/shared-files/shared-files.component.html @@ -82,8 +82,8 @@
people -

No shared files or folders

-

Items you share using the Share option are shown here.

+

{{ 'APP.BROWSE.SHARED.EMPTY_STATE.TITLE' | translate }}

+

{{ 'APP.BROWSE.SHARED.EMPTY_STATE.TITLE' | translate }}

diff --git a/src/app/components/trashcan/trashcan.component.html b/src/app/components/trashcan/trashcan.component.html index 8de6271e6..b5e743941 100644 --- a/src/app/components/trashcan/trashcan.component.html +++ b/src/app/components/trashcan/trashcan.component.html @@ -40,9 +40,9 @@
delete -

Trash is empty

-

Items you delete are moved to the Trash.

-

Empty Trash to permanently delete items.

+

{{ 'APP.BROWSE.TRASHCAN.EMPTY_STATE.TITLE' | translate }}

+

{{ 'APP.BROWSE.TRASHCAN.EMPTY_STATE.FIRST_TEXT' | translate }}

+

{{ 'APP.BROWSE.TRASHCAN.EMPTY_STATE.SECOND_TEXT' | translate }}

diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index 255a3ba6b..702407243 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -31,6 +31,10 @@ "SIDENAV_LINK": { "LABEL": "File Libraries", "TOOLTIP": "Access File Libraries" + }, + "EMPTY_STATE": { + "TITLE": "You aren't a member of any File Libraries yet", + "TEXT": "Join sites to upload, view, and share files." } }, "SHARED": { @@ -45,6 +49,10 @@ "SIDENAV_LINK": { "LABEL": "Recent Files", "TOOLTIP": "View files you recently edited" + }, + "EMPTY_STATE": { + "TITLE": "No recent files or folders", + "TEXT": "Items you upload or edit in the last 30 days are shown here." } }, "FAVORITES": { @@ -52,6 +60,10 @@ "SIDENAV_LINK": { "LABEL": "Favorites", "TOOLTIP": "View your favorite files and folders" + }, + "EMPTY_STATE": { + "TITLE": "No favorite files or folders", + "TEXT": "Favorite items that you want to easily find later." } }, "TRASHCAN": { @@ -59,6 +71,11 @@ "SIDENAV_LINK": { "LABEL": "Trash", "TOOLTIP": "View deleted files in the trash" + }, + "EMPTY_STATE": { + "TITLE": "Trash is empty", + "FIRST_TEXT": "Items you delete are moved to the Trash.", + "SECOND_TEXT": "Empty Trash to permanently delete items." } } },