chore(translations): add "never" expiration value to i18n (#719)

This commit is contained in:
Aaron
2024-12-29 18:19:01 +01:00
committed by GitHub
parent a120d44185
commit 4d3aa398a2
3 changed files with 3 additions and 1 deletions

View File

@@ -124,6 +124,7 @@ export default {
"account.shares.table.expiresAt": "Läuft ab am",
"account.shares.table.createdAt": "Angelegt am",
"account.shares.table.size": "Größe",
"account.shares.table.expiry-never": "nie",
"account.shares.modal.share-informations": "Teile deine Information",
"account.shares.modal.share-link": "Freigabe teilen",
"account.shares.modal.delete.title": "Freigabe löschen: {share}",

View File

@@ -158,6 +158,7 @@ export default {
"account.shares.table.expiresAt": "Expires on",
"account.shares.table.createdAt": "Created on",
"account.shares.table.size": "Size",
"account.shares.table.expiry-never": "Never",
"account.shares.modal.share-informations": "Share informations",
"account.shares.modal.share-link": "Share link",

View File

@@ -90,7 +90,7 @@ const MyShares = () => {
<td>{share.views}</td>
<td>
{moment(share.expiration).unix() === 0
? "Never"
? <FormattedMessage id="account.shares.table.expiry-never" />
: moment(share.expiration).format("LLL")}
</td>
<td>