mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-29 01:28:59 -05:00
chore(frontend/share): displays the never expire checkbox if the system allows. (#371)
This commit is contained in:
parent
1d62225019
commit
eb7216b4b1
2 changed files with 3 additions and 2 deletions
|
@ -282,10 +282,11 @@ const CreateUploadModalBody = ({
|
|||
/>
|
||||
</Col>
|
||||
</Grid>
|
||||
<Checkbox
|
||||
{ options.maxExpirationInHours == 0 && <Checkbox
|
||||
label={t("upload.modal.expires.never-long")}
|
||||
{...form.getInputProps("never_expires")}
|
||||
/>
|
||||
}
|
||||
<Text
|
||||
italic
|
||||
size="xs"
|
||||
|
|
|
@ -214,7 +214,7 @@ export default {
|
|||
"upload.modal.not-signed-in-description": "你将不能删除你的共享或查看访问次数",
|
||||
"upload.modal.expires.never": "永不",
|
||||
"upload.modal.expires.never-long": "永不过期",
|
||||
"upload.modal.expires.error.too-long": "Expiration exceeds maximum expiration date of {max}.",
|
||||
"upload.modal.expires.error.too-long": "您设置的过期时间超出了系统上限 {max}。",
|
||||
"upload.modal.link.label": "共享链接",
|
||||
"upload.modal.expires.label": "过期时间",
|
||||
"upload.modal.expires.minute-singular": "1 分钟",
|
||||
|
|
Loading…
Add table
Reference in a new issue