mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
fix: broken pages by translation tags (#1312)
This commit is contained in:
@ -65,17 +65,13 @@ export default async function ApiTokensPage() {
|
||||
<h5 className="text-base">{token.name}</h5>
|
||||
|
||||
<p className="text-muted-foreground mt-2 text-xs">
|
||||
<Trans>
|
||||
Created on{' '}
|
||||
<LocaleDate date={token.createdAt} format={DateTime.DATETIME_FULL} />
|
||||
</Trans>
|
||||
<Trans>Created on</Trans>{' '}
|
||||
<LocaleDate date={token.createdAt} format={DateTime.DATETIME_FULL} />
|
||||
</p>
|
||||
{token.expires ? (
|
||||
<p className="text-muted-foreground mt-1 text-xs">
|
||||
<Trans>
|
||||
Expires on{' '}
|
||||
<LocaleDate date={token.expires} format={DateTime.DATETIME_FULL} />
|
||||
</Trans>
|
||||
<Trans>Expires on</Trans>{' '}
|
||||
<LocaleDate date={token.expires} format={DateTime.DATETIME_FULL} />
|
||||
</p>
|
||||
) : (
|
||||
<p className="text-muted-foreground mt-1 text-xs">
|
||||
|
||||
@ -98,17 +98,13 @@ export default async function ApiTokensPage({ params }: ApiTokensPageProps) {
|
||||
<h5 className="text-base">{token.name}</h5>
|
||||
|
||||
<p className="text-muted-foreground mt-2 text-xs">
|
||||
<Trans>
|
||||
Created on{' '}
|
||||
<LocaleDate date={token.createdAt} format={DateTime.DATETIME_FULL} />
|
||||
</Trans>
|
||||
<Trans>Created on</Trans>{' '}
|
||||
<LocaleDate date={token.createdAt} format={DateTime.DATETIME_FULL} />
|
||||
</p>
|
||||
{token.expires ? (
|
||||
<p className="text-muted-foreground mt-1 text-xs">
|
||||
<Trans>
|
||||
Expires on{' '}
|
||||
<LocaleDate date={token.expires} format={DateTime.DATETIME_FULL} />
|
||||
</Trans>
|
||||
<Trans>Expires on</Trans>{' '}
|
||||
<LocaleDate date={token.expires} format={DateTime.DATETIME_FULL} />
|
||||
</p>
|
||||
) : (
|
||||
<p className="text-muted-foreground mt-1 text-xs">
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -973,13 +973,13 @@ msgid "Created by"
|
||||
msgstr ""
|
||||
|
||||
#: apps/web/src/app/(dashboard)/admin/documents/[id]/page.tsx:49
|
||||
#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:68
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:101
|
||||
#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table.tsx:80
|
||||
msgid "Created on"
|
||||
msgstr ""
|
||||
|
||||
#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:68
|
||||
#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:89
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:101
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:94
|
||||
msgid "Created on <0/>"
|
||||
msgstr ""
|
||||
@ -1022,11 +1022,11 @@ msgstr ""
|
||||
#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:200
|
||||
#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:177
|
||||
#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:211
|
||||
#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:90
|
||||
#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:86
|
||||
#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:104
|
||||
#: apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx:91
|
||||
#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:90
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:123
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:119
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:109
|
||||
#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:121
|
||||
#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:109
|
||||
@ -1525,10 +1525,15 @@ msgstr ""
|
||||
msgid "Expired"
|
||||
msgstr ""
|
||||
|
||||
#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:73
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:106
|
||||
msgid "Expires on"
|
||||
msgstr ""
|
||||
|
||||
#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:75
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:108
|
||||
msgid "Expires on <0/>"
|
||||
msgstr ""
|
||||
#~ msgid "Expires on <0/>"
|
||||
#~ msgstr ""
|
||||
|
||||
#: apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx:42
|
||||
msgid "Failed to reseal document"
|
||||
@ -3387,8 +3392,8 @@ msgstr ""
|
||||
msgid "Token deleted"
|
||||
msgstr ""
|
||||
|
||||
#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:82
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:115
|
||||
#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:78
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:111
|
||||
msgid "Token doesn't have an expiration date"
|
||||
msgstr ""
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -968,13 +968,13 @@ msgid "Created by"
|
||||
msgstr "Created by"
|
||||
|
||||
#: apps/web/src/app/(dashboard)/admin/documents/[id]/page.tsx:49
|
||||
#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:68
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:101
|
||||
#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table.tsx:80
|
||||
msgid "Created on"
|
||||
msgstr "Created on"
|
||||
|
||||
#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:68
|
||||
#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:89
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:101
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:94
|
||||
msgid "Created on <0/>"
|
||||
msgstr "Created on <0/>"
|
||||
@ -1017,11 +1017,11 @@ msgstr "Declined team invitation"
|
||||
#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:200
|
||||
#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:177
|
||||
#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:211
|
||||
#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:90
|
||||
#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:86
|
||||
#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:104
|
||||
#: apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx:91
|
||||
#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:90
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:123
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:119
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:109
|
||||
#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:121
|
||||
#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:109
|
||||
@ -1520,10 +1520,15 @@ msgstr "Exceeded timeout"
|
||||
msgid "Expired"
|
||||
msgstr "Expired"
|
||||
|
||||
#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:73
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:106
|
||||
msgid "Expires on"
|
||||
msgstr "Expires on"
|
||||
|
||||
#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:75
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:108
|
||||
msgid "Expires on <0/>"
|
||||
msgstr "Expires on <0/>"
|
||||
#~ msgid "Expires on <0/>"
|
||||
#~ msgstr "Expires on <0/>"
|
||||
|
||||
#: apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx:42
|
||||
msgid "Failed to reseal document"
|
||||
@ -3382,8 +3387,8 @@ msgstr "Token created"
|
||||
msgid "Token deleted"
|
||||
msgstr "Token deleted"
|
||||
|
||||
#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:82
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:115
|
||||
#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:78
|
||||
#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:111
|
||||
msgid "Token doesn't have an expiration date"
|
||||
msgstr "Token doesn't have an expiration date"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user