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:
parent
a120d44185
commit
4d3aa398a2
3 changed files with 3 additions and 1 deletions
|
@ -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}",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue