0
Fork 0
mirror of https://github.com/stonith404/pingvin-share.git synced 2025-01-22 01:22:32 -05:00

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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>