Web:Files: add new translate keys for checked items of group menu

This commit is contained in:
TimofeyBoyko 2022-07-19 17:41:26 +03:00
parent b19839cd9c
commit d6dd1c4639
2 changed files with 10 additions and 5 deletions

View File

@ -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": "<strong>{{title}}</strong> copied",
"CopyItems": "<strong>{{qty}}</strong> 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"
}

View File

@ -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 "";