diff --git a/products/ASC.Files/Client/public/locales/en/Home.json b/products/ASC.Files/Client/public/locales/en/Home.json index c8c21b832c..7ecb5bebb8 100644 --- a/products/ASC.Files/Client/public/locales/en/Home.json +++ b/products/ASC.Files/Client/public/locales/en/Home.json @@ -7,11 +7,13 @@ "ByCreationDate": "Created", "ByLastModifiedDate": "Modified", "ByTitle": "Title", + "CollaborationRooms": "Collaboration rooms", "CommonEmptyContainerDescription": "'Common' section contains files shared to all users by the portal admin. Only portal admins can create files there. Users can be granted Full access to a certain folder within the section. This way they will be able to create/upload files in this very folder. ", "ContainsSpecCharacter": "The title can't contain any of the following characters: *+:\"<>?|/", "Convert": "Convert", "CopyItem": "{{title}} copied", "CopyItems": "{{qty}} elements copied", + "CustomRooms": "Custom rooms", "Document": "Document", "EmptyFile": "Empty file", "EmptyFilterDescriptionText": "No files or folders match this filter. Try a different one or clear filter to view all files. ", @@ -23,6 +25,7 @@ "FavoritesEmptyContainerDescription": "To mark files as favorites or remove them from this list, use the context menu.", "FileRemoved": "File moved to Trash", "FileRenamed": "The document '{{oldTitle}}' is renamed to '{{newTitle}}'", + "FillingFormRooms": "Filling form rooms", "Filter": "Filter", "FinalizeVersion": "Finalize version", "Folder": "Folder", @@ -64,6 +67,7 @@ "RemoveFromList": "Remove from list", "RemovedFromFavorites": "Removed from favorites", "Rename": "Rename", + "ReviewRooms": "ReviewRooms", "SendByEmail": "Send by email", "Share": "Share", "SharedEmptyContainerDescription": "The 'Shared with Me' section shows files shared to you by teammates. If you haven't seen the latest changes, they are marked as new. You can remove the files from the list using the context menu. ", @@ -79,5 +83,6 @@ "VersionBadge": "V.{{version}}", "VersionHistory": "Version history", "ViewList": "List", + "ViewOnlyRooms": "View-only rooms", "ViewTiles": "Tiles" } diff --git a/products/ASC.Files/Client/src/store/FilesStore.js b/products/ASC.Files/Client/src/store/FilesStore.js index 0bf6c4b645..be032a6f8f 100644 --- a/products/ASC.Files/Client/src/store/FilesStore.js +++ b/products/ASC.Files/Client/src/store/FilesStore.js @@ -1983,15 +1983,15 @@ class FilesStore { case FilterType.FilesOnly: return t("AllFiles"); case `room-${RoomsType.FillingFormsRoom}`: - return "Filling forms"; + return t("FillingFormRooms"); case `room-${RoomsType.CustomRoom}`: - return "Custom"; + return t("CustomRooms"); case `room-${RoomsType.EditingRoom}`: - return "Editing"; + return t("CollaborationRooms"); case `room-${RoomsType.ReviewRoom}`: - return "Review"; + return t("ReviewRooms"); case `room-${RoomsType.ReadOnlyRoom}`: - return "View-only"; + return t("ViewOnlyRooms"); default: return "";