Web: Files: changed lifetime translation
This commit is contained in:
parent
02ff6d65f6
commit
7ee7f5bf29
@ -177,5 +177,6 @@
|
||||
"WantToRestoreTheRooms": "All shared links in restored rooms will become active, and their contents will be available to everyone with the room links. Do you want to restore the rooms?",
|
||||
"WithSubfolders": "With subfolders",
|
||||
"YouLeftTheRoom": "You have left the room",
|
||||
"RoomFilesLifetime": "The file lifetime is set to {{days}} days in this room"
|
||||
"RoomFilesLifetime": "The file lifetime is set to {{days}} days in this room",
|
||||
"FileWillBeDeleted": "The file will be deleted {{date}}"
|
||||
}
|
||||
|
@ -86,18 +86,19 @@ const QuickButtons = (props) => {
|
||||
!isTile;
|
||||
|
||||
//const showLifetimeIcon = item.lifetime < item.lifetime * 0.1
|
||||
const showLifetimeIcon = true;
|
||||
|
||||
const fileDeleteDate = "22.02 12:08 PM"; // TODO:
|
||||
|
||||
//TODO:
|
||||
const getTooltipContent = () => (
|
||||
<Text fontSize="12px" fontWeight={400} noSelect>
|
||||
The file will be deleted after 1 day and 2 hours.
|
||||
{t("Files:FileWillBeDeleted", { date: fileDeleteDate })}.
|
||||
</Text>
|
||||
);
|
||||
|
||||
return (
|
||||
<StyledQuickButtons className="badges additional-badges badges__quickButtons">
|
||||
{/* */}
|
||||
{isAvailableLockFile && (
|
||||
{showLifetimeIcon && (
|
||||
<>
|
||||
<ColorTheme
|
||||
themeId={ThemeType.IconButton}
|
||||
@ -118,7 +119,6 @@ const QuickButtons = (props) => {
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
{/* */}
|
||||
|
||||
{isAvailableLockFile && (
|
||||
<ColorTheme
|
||||
|
Loading…
Reference in New Issue
Block a user