Web:Client Added translation for the title of the empty room screen

This commit is contained in:
Akmal Isomadinov 2023-04-25 16:02:30 +05:00
parent 194e49efde
commit ea6fd28122
2 changed files with 4 additions and 7 deletions

View File

@ -32,6 +32,7 @@
"EmptyFolderDescriptionUser": "Files and folders uploaded by admins will appeared here.",
"EmptyFolderHeader": "No files in this folder",
"EmptyRecycleBin": "Empty Trash",
"EmptyRootRoomHeader": "Welcome to DocSpace",
"EmptyScreenFolder": "No docs here yet",
"EnableNotifications": "Enable notifications",
"ExcludeSubfolders": "Exclude subfolders",

View File

@ -99,7 +99,7 @@ const RootFolderContainer = (props) => {
t("PrivateRoomDescriptionUnbreakable"),
];
const roomHeader = "Welcome to DocSpace";
const roomHeader = t("EmptyRootRoomHeader");
useEffect(() => {
if (rootFolderType !== FolderType.COMMON) {
@ -378,12 +378,8 @@ const RootFolderContainer = (props) => {
export default inject(
({ auth, filesStore, treeFoldersStore, selectedFolderStore }) => {
const {
isDesktopClient,
isEncryptionSupport,
organizationName,
theme,
} = auth.settingsStore;
const { isDesktopClient, isEncryptionSupport, organizationName, theme } =
auth.settingsStore;
const {
filter,