Client:Table:In rooms, the Modified column has been replaced with Last Activity, and in the sort column, Last Modified Date has been replaced with Last Activity Date.

This commit is contained in:
Vlada Gazizova 2024-08-28 16:17:41 +03:00
parent 25bed17d6d
commit 173973cf59
5 changed files with 11 additions and 3 deletions

View File

@ -84,6 +84,7 @@
"GoToPersonal": "Go to Documents",
"Images": "Images",
"InviteUsersInRoom": "Invite users in room",
"LastActivity": "Last activity",
"LeaveRoomDescription": "You are the owner of this room. Before you leave the room, you must transfer the owner's role to another user.",
"LeaveTheRoom": "Leave the room",
"LeftAndAppointNewOwner": "You have left the room and appointed a new owner",

View File

@ -102,7 +102,7 @@ class FilesTableHeader extends React.Component {
},
{
key: "Activity",
title: t("ByLastModified"),
title: t("LastActivity"),
enable: this.props.roomColumnActivityIsEnabled,
resizable: true,
sortBy: SortByFieldName.ModifiedDate,

View File

@ -2054,6 +2054,12 @@ const SectionFilterContent = ({
label: t("Common:LastModifiedDate"),
default: true,
};
const activityDate = {
id: "sort-by_activity",
key: SortByFieldName.ModifiedDate,
label: t("Common:LastActivityDate"),
default: true,
};
const lastOpenedDate = {
id: "sort-by_last-opened",
key: SortByFieldName.LastOpened,
@ -2129,7 +2135,7 @@ const SectionFilterContent = ({
commonOptions.push(roomType);
commonOptions.push(tags);
commonOptions.push(owner);
commonOptions.push(modifiedDate);
commonOptions.push(activityDate);
showStorageInfo && commonOptions.push(sortByStorage);
} else if (isTrash) {
// commonOptions.push(authorOption);

View File

@ -119,7 +119,7 @@ const Manager = (props) => {
const [columnsOptions, setColumnsOptions] = useState([
{ key: "Owner", label: t("Common:Owner") },
{ key: "Activity", label: t("Files:ByLastModified") },
{ key: "Activity", label: t("Files:LastActivity") },
]);
const [sortBy, setSortBy] = useState(dataSortBy[0]);

View File

@ -245,6 +245,7 @@
"Kilobyte": "KB",
"Language": "Language",
"LastModifiedDate": "Last modified date",
"LastActivityDate": "Last activity date",
"LastName": "Last name",
"LatePayment": "Late payment",
"Later": "Later",