web: fix TableColumn sort fields being translated

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-04 16:56:16 +02:00
parent 469b6b64bc
commit c1d93bfd7c
27 changed files with 72 additions and 394 deletions

View file

@ -44,10 +44,10 @@ export class ObjectChangelog extends Table<Event> {
columns(): TableColumn[] {
return [
new TableColumn(t`Action`, t`action`),
new TableColumn(t`User`, t`enabled`),
new TableColumn(t`Creation Date`, t`created`),
new TableColumn(t`Client IP`, t`client_ip`),
new TableColumn(t`Action`, "action"),
new TableColumn(t`User`, "enabled"),
new TableColumn(t`Creation Date`, "created"),
new TableColumn(t`Client IP`, "client_ip"),
];
}

View file

@ -26,9 +26,9 @@ export class UserOAuthCodeList extends Table<ExpiringBaseGrantModel> {
columns(): TableColumn[] {
return [
new TableColumn(t`Provider`, t`provider`),
new TableColumn(t`Expires`, t`expires`),
new TableColumn(t`Scopes`, t`scope`),
new TableColumn(t`Provider`, "provider"),
new TableColumn(t`Expires`, "expires"),
new TableColumn(t`Scopes`, "scope"),
new TableColumn(""),
];
}

View file

@ -26,9 +26,9 @@ export class UserOAuthRefreshList extends Table<ExpiringBaseGrantModel> {
columns(): TableColumn[] {
return [
new TableColumn(t`Provider`, t`provider`),
new TableColumn(t`Expires`, t`expires`),
new TableColumn(t`Scopes`, t`scope`),
new TableColumn(t`Provider`, "provider"),
new TableColumn(t`Expires`, "expires"),
new TableColumn(t`Scopes`, "scope"),
new TableColumn(""),
];
}

View file

@ -26,8 +26,8 @@ export class UserConsentList extends Table<UserConsent> {
columns(): TableColumn[] {
return [
new TableColumn(t`Application`, t`application`),
new TableColumn(t`Expires`, t`expires`),
new TableColumn(t`Application`, "application"),
new TableColumn(t`Expires`, "expires"),
new TableColumn(""),
];
}

View file

@ -1,17 +1,11 @@
msgid ""
msgstr ""
"POT-Creation-Date: 2021-04-03 20:37+0200\n"
"POT-Creation-Date: 2021-04-04 16:55+0200\n"
"Mime-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: @lingui/cli\n"
"Language: en\n"
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
"Plural-Forms: \n"
#: src/pages/policies/BoundPoliciesList.ts:54
msgid "-"
@ -58,10 +52,6 @@ msgstr "Access Key"
msgid "Access token URL"
msgstr "Access token URL"
#: src/pages/stages/email/EmailStageForm.ts:160
#~ msgid "Account confirmation"
#~ msgstr "Account confirmation"
#: src/elements/events/ObjectChangelog.ts:38
#: src/pages/events/EventListPage.ts:43
#: src/pages/policies/event_matcher/EventMatcherPolicyForm.ts:74
@ -1081,7 +1071,11 @@ msgstr "Evaluate policies when the Stage is present to the user."
msgid "Event Log"
msgstr "Event Log"
#: src/pages/events/EventInfoPage.ts:37
#: src/pages/events/EventInfoPage.ts:45
msgid "Event info"
msgstr "Event info"
#: src/pages/events/EventInfoPage.ts:38
msgid "Event {0}"
msgstr "Event {0}"
@ -1984,7 +1978,7 @@ msgid "Offset after which consent expires. (Format: hours=1;minutes=2;seconds=3)
msgstr "Offset after which consent expires. (Format: hours=1;minutes=2;seconds=3)."
#: src/elements/events/ObjectChangelog.ts:50
#: src/pages/events/EventListPage.ts:56
#: src/pages/events/EventListPage.ts:57
msgid "On behalf of {0}"
msgstr "On behalf of {0}"
@ -2113,10 +2107,6 @@ msgstr "Password"
msgid "Password field"
msgstr "Password field"
#: src/pages/stages/email/EmailStageForm.ts:163
#~ msgid "Password reset"
#~ msgstr "Password reset"
#: src/pages/stages/prompt/PromptForm.ts:54
msgid "Password: Masked input, password is validated against sources. Policies still have to be applied to this Stage. If two of these are used in the same stage, they are ensured to be identical."
msgstr "Password: Masked input, password is validated against sources. Policies still have to be applied to this Stage. If two of these are used in the same stage, they are ensured to be identical."
@ -3646,19 +3636,6 @@ msgstr "Yes"
msgid "You're currently impersonating {0}."
msgstr "You're currently impersonating {0}."
#: src/elements/events/ObjectChangelog.ts:38
#: src/pages/events/EventListPage.ts:43
msgid "action"
msgstr "action"
#: src/pages/users/UserListPage.ts:50
msgid "active"
msgstr "active"
#: src/elements/user/UserConsentList.ts:29
msgid "application"
msgstr "application"
#: src/pages/stages/password/PasswordStageForm.ts:76
msgid "authentik Builtin Database"
msgstr "authentik Builtin Database"
@ -3667,148 +3644,10 @@ msgstr "authentik Builtin Database"
msgid "authentik LDAP Backend"
msgstr "authentik LDAP Backend"
#: src/elements/events/ObjectChangelog.ts:41
#: src/pages/events/EventListPage.ts:46
msgid "client_ip"
msgstr "client_ip"
#: src/elements/events/ObjectChangelog.ts:40
#: src/pages/events/EventListPage.ts:45
msgid "created"
msgstr "created"
#: src/pages/stages/invitation/InvitationListPage.ts:47
msgid "created_by"
msgstr "created_by"
#: src/pages/flows/FlowListPage.ts:48
msgid "designation"
msgstr "designation"
#: src/elements/events/ObjectChangelog.ts:39
#: src/pages/policies/BoundPoliciesList.ts:36
msgid "enabled"
msgstr "enabled"
#: src/elements/oauth/UserCodeList.ts:30
#: src/elements/oauth/UserRefreshList.ts:30
#: src/elements/user/UserConsentList.ts:30
#: src/pages/tokens/TokenListPage.ts:47
msgid "expires"
msgstr "expires"
#: src/pages/tokens/TokenListPage.ts:46
msgid "expiring"
msgstr "expiring"
#: src/pages/stages/prompt/PromptListPage.ts:46
msgid "field_key"
msgstr "field_key"
#: src/pages/events/RuleListPage.ts:49
msgid "group"
msgstr "group"
#: src/pages/tokens/TokenListPage.ts:44
#: src/pages/user-settings/tokens/UserTokenList.ts:39
msgid "identifier"
msgstr "identifier"
#: src/pages/stages/prompt/PromptListPage.ts:47
msgid "label"
msgstr "label"
#: src/pages/users/UserListPage.ts:51
msgid "last_login"
msgstr "last_login"
#: src/pages/outposts/ServiceConnectionListPage.ts:54
msgid "local"
msgstr "local"
#: src/pages/events/TransportListPage.ts:47
msgid "mode"
msgstr "mode"
#: src/pages/applications/ApplicationListPage.ts:57
#: src/pages/crypto/CertificateKeyPairListPage.ts:51
#: src/pages/events/RuleListPage.ts:47
#: src/pages/events/TransportListPage.ts:46
#: src/pages/flows/FlowListPage.ts:47
#: src/pages/groups/GroupListPage.ts:45
#: src/pages/outposts/OutpostListPage.ts:49
#: src/pages/outposts/ServiceConnectionListPage.ts:52
#: src/pages/policies/PolicyListPage.ts:56
#: src/pages/property-mappings/PropertyMappingListPage.ts:54
#: src/pages/providers/ProviderListPage.ts:52
#: src/pages/sources/SourcesListPage.ts:51
#: src/pages/stages/StageListPage.ts:65
msgid "name"
msgstr "name"
#: src/elements/Tabs.ts:62
msgid "no tabs defined"
msgstr "no tabs defined"
#: src/pages/policies/BoundPoliciesList.ts:37
#: src/pages/stages/prompt/PromptListPage.ts:49
msgid "order"
msgstr "order"
#: src/pages/groups/GroupListPage.ts:46
msgid "parent"
msgstr "parent"
#: src/pages/stages/invitation/InvitationListPage.ts:46
msgid "pk"
msgstr "pk"
#: src/elements/oauth/UserCodeList.ts:29
#: src/elements/oauth/UserRefreshList.ts:29
msgid "provider"
msgstr "provider"
#: src/elements/oauth/UserCodeList.ts:31
#: src/elements/oauth/UserRefreshList.ts:31
msgid "scope"
msgstr "scope"
#: src/pages/events/RuleListPage.ts:48
msgid "severity"
msgstr "severity"
#: src/pages/applications/ApplicationListPage.ts:58
#: src/pages/flows/FlowListPage.ts:46
msgid "slug"
msgstr "slug"
#: src/pages/system-tasks/SystemTaskListPage.ts:53
msgid "task_name"
msgstr "task_name"
#: src/pages/policies/BoundPoliciesList.ts:38
msgid "timeout"
msgstr "timeout"
#: src/pages/property-mappings/PropertyMappingListPage.ts:55
#: src/pages/providers/ProviderListPage.ts:54
#: src/pages/stages/prompt/PromptListPage.ts:48
msgid "type"
msgstr "type"
#: src/pages/events/EventListPage.ts:44
#: src/pages/tokens/TokenListPage.ts:45
msgid "user"
msgstr "user"
#: src/pages/users/UserListPage.ts:49
msgid "username"
msgstr "username"
#: src/pages/sources/SourcesListPage.ts:52
msgid "verboseName"
msgstr "verboseName"
#: src/elements/Expand.ts:28
#: src/elements/Expand.ts:28
#: src/elements/Page.ts:11

View file

@ -1,17 +1,11 @@
msgid ""
msgstr ""
"POT-Creation-Date: 2021-04-03 20:37+0200\n"
"POT-Creation-Date: 2021-04-04 16:55+0200\n"
"Mime-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: @lingui/cli\n"
"Language: pseudo-LOCALE\n"
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
"Plural-Forms: \n"
#: src/pages/policies/BoundPoliciesList.ts:54
msgid "-"
@ -58,10 +52,6 @@ msgstr ""
msgid "Access token URL"
msgstr ""
#: src/pages/stages/email/EmailStageForm.ts:160
#~ msgid "Account confirmation"
#~ msgstr ""
#: src/elements/events/ObjectChangelog.ts:38
#: src/pages/events/EventListPage.ts:43
#: src/pages/policies/event_matcher/EventMatcherPolicyForm.ts:74
@ -1077,7 +1067,11 @@ msgstr ""
msgid "Event Log"
msgstr ""
#: src/pages/events/EventInfoPage.ts:37
#: src/pages/events/EventInfoPage.ts:45
msgid "Event info"
msgstr ""
#: src/pages/events/EventInfoPage.ts:38
msgid "Event {0}"
msgstr ""
@ -1980,7 +1974,7 @@ msgid "Offset after which consent expires. (Format: hours=1;minutes=2;seconds=3)
msgstr ""
#: src/elements/events/ObjectChangelog.ts:50
#: src/pages/events/EventListPage.ts:56
#: src/pages/events/EventListPage.ts:57
msgid "On behalf of {0}"
msgstr ""
@ -2109,10 +2103,6 @@ msgstr ""
msgid "Password field"
msgstr ""
#: src/pages/stages/email/EmailStageForm.ts:163
#~ msgid "Password reset"
#~ msgstr ""
#: src/pages/stages/prompt/PromptForm.ts:54
msgid "Password: Masked input, password is validated against sources. Policies still have to be applied to this Stage. If two of these are used in the same stage, they are ensured to be identical."
msgstr ""
@ -3642,19 +3632,6 @@ msgstr ""
msgid "You're currently impersonating {0}."
msgstr ""
#: src/elements/events/ObjectChangelog.ts:38
#: src/pages/events/EventListPage.ts:43
msgid "action"
msgstr ""
#: src/pages/users/UserListPage.ts:50
msgid "active"
msgstr ""
#: src/elements/user/UserConsentList.ts:29
msgid "application"
msgstr ""
#: src/pages/stages/password/PasswordStageForm.ts:76
msgid "authentik Builtin Database"
msgstr ""
@ -3663,148 +3640,10 @@ msgstr ""
msgid "authentik LDAP Backend"
msgstr ""
#: src/elements/events/ObjectChangelog.ts:41
#: src/pages/events/EventListPage.ts:46
msgid "client_ip"
msgstr ""
#: src/elements/events/ObjectChangelog.ts:40
#: src/pages/events/EventListPage.ts:45
msgid "created"
msgstr ""
#: src/pages/stages/invitation/InvitationListPage.ts:47
msgid "created_by"
msgstr ""
#: src/pages/flows/FlowListPage.ts:48
msgid "designation"
msgstr ""
#: src/elements/events/ObjectChangelog.ts:39
#: src/pages/policies/BoundPoliciesList.ts:36
msgid "enabled"
msgstr ""
#: src/elements/oauth/UserCodeList.ts:30
#: src/elements/oauth/UserRefreshList.ts:30
#: src/elements/user/UserConsentList.ts:30
#: src/pages/tokens/TokenListPage.ts:47
msgid "expires"
msgstr ""
#: src/pages/tokens/TokenListPage.ts:46
msgid "expiring"
msgstr ""
#: src/pages/stages/prompt/PromptListPage.ts:46
msgid "field_key"
msgstr ""
#: src/pages/events/RuleListPage.ts:49
msgid "group"
msgstr ""
#: src/pages/tokens/TokenListPage.ts:44
#: src/pages/user-settings/tokens/UserTokenList.ts:39
msgid "identifier"
msgstr ""
#: src/pages/stages/prompt/PromptListPage.ts:47
msgid "label"
msgstr ""
#: src/pages/users/UserListPage.ts:51
msgid "last_login"
msgstr ""
#: src/pages/outposts/ServiceConnectionListPage.ts:54
msgid "local"
msgstr ""
#: src/pages/events/TransportListPage.ts:47
msgid "mode"
msgstr ""
#: src/pages/applications/ApplicationListPage.ts:57
#: src/pages/crypto/CertificateKeyPairListPage.ts:51
#: src/pages/events/RuleListPage.ts:47
#: src/pages/events/TransportListPage.ts:46
#: src/pages/flows/FlowListPage.ts:47
#: src/pages/groups/GroupListPage.ts:45
#: src/pages/outposts/OutpostListPage.ts:49
#: src/pages/outposts/ServiceConnectionListPage.ts:52
#: src/pages/policies/PolicyListPage.ts:56
#: src/pages/property-mappings/PropertyMappingListPage.ts:54
#: src/pages/providers/ProviderListPage.ts:52
#: src/pages/sources/SourcesListPage.ts:51
#: src/pages/stages/StageListPage.ts:65
msgid "name"
msgstr ""
#: src/elements/Tabs.ts:62
msgid "no tabs defined"
msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:37
#: src/pages/stages/prompt/PromptListPage.ts:49
msgid "order"
msgstr ""
#: src/pages/groups/GroupListPage.ts:46
msgid "parent"
msgstr ""
#: src/pages/stages/invitation/InvitationListPage.ts:46
msgid "pk"
msgstr ""
#: src/elements/oauth/UserCodeList.ts:29
#: src/elements/oauth/UserRefreshList.ts:29
msgid "provider"
msgstr ""
#: src/elements/oauth/UserCodeList.ts:31
#: src/elements/oauth/UserRefreshList.ts:31
msgid "scope"
msgstr ""
#: src/pages/events/RuleListPage.ts:48
msgid "severity"
msgstr ""
#: src/pages/applications/ApplicationListPage.ts:58
#: src/pages/flows/FlowListPage.ts:46
msgid "slug"
msgstr ""
#: src/pages/system-tasks/SystemTaskListPage.ts:53
msgid "task_name"
msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:38
msgid "timeout"
msgstr ""
#: src/pages/property-mappings/PropertyMappingListPage.ts:55
#: src/pages/providers/ProviderListPage.ts:54
#: src/pages/stages/prompt/PromptListPage.ts:48
msgid "type"
msgstr ""
#: src/pages/events/EventListPage.ts:44
#: src/pages/tokens/TokenListPage.ts:45
msgid "user"
msgstr ""
#: src/pages/users/UserListPage.ts:49
msgid "username"
msgstr ""
#: src/pages/sources/SourcesListPage.ts:52
msgid "verboseName"
msgstr ""
#: src/elements/Expand.ts:28
#: src/elements/Expand.ts:28
#: src/elements/Page.ts:11

View file

@ -54,8 +54,8 @@ export class ApplicationListPage extends TablePage<Application> {
columns(): TableColumn[] {
return [
new TableColumn(""),
new TableColumn(t`Name`, t`name`),
new TableColumn(t`Slug`, t`slug`),
new TableColumn(t`Name`, "name"),
new TableColumn(t`Slug`, "slug"),
new TableColumn(t`Provider`),
new TableColumn(t`Provider Type`),
new TableColumn(""),

View file

@ -50,7 +50,7 @@ export class CertificateKeyPairListPage extends TablePage<CertificateKeyPair> {
columns(): TableColumn[] {
return [
new TableColumn(t`Name`, t`name`),
new TableColumn(t`Name`, "name"),
new TableColumn(t`Private key available?`),
new TableColumn(t`Expiry date`),
new TableColumn(""),

View file

@ -40,10 +40,10 @@ export class EventListPage extends TablePage<Event> {
columns(): TableColumn[] {
return [
new TableColumn(t`Action`, t`action`),
new TableColumn(t`User`, t`user`),
new TableColumn(t`Creation Date`, t`created`),
new TableColumn(t`Client IP`, t`client_ip`),
new TableColumn(t`Action`, "action"),
new TableColumn(t`User`, "user"),
new TableColumn(t`Creation Date`, "created"),
new TableColumn(t`Client IP`, "client_ip"),
new TableColumn(""),
];
}

View file

@ -44,9 +44,9 @@ export class RuleListPage extends TablePage<NotificationRule> {
columns(): TableColumn[] {
return [
new TableColumn(t`Name`, t`name`),
new TableColumn(t`Severity`, t`severity`),
new TableColumn(t`Sent to group`, t`group`),
new TableColumn(t`Name`, "name"),
new TableColumn(t`Severity`, "severity"),
new TableColumn(t`Sent to group`, "group"),
new TableColumn(""),
];
}

View file

@ -42,8 +42,8 @@ export class TransportListPage extends TablePage<NotificationTransport> {
columns(): TableColumn[] {
return [
new TableColumn(t`Name`, t`name`),
new TableColumn(t`Mode`, t`mode`),
new TableColumn(t`Name`, "name"),
new TableColumn(t`Mode`, "mode"),
new TableColumn(""),
];
}

View file

@ -42,9 +42,9 @@ export class FlowListPage extends TablePage<Flow> {
columns(): TableColumn[] {
return [
new TableColumn(t`Identifier`, t`slug`),
new TableColumn(t`Name`, t`name`),
new TableColumn(t`Designation`, t`designation`),
new TableColumn(t`Identifier`, "slug"),
new TableColumn(t`Name`, "name"),
new TableColumn(t`Designation`, "designation"),
new TableColumn(t`Stages`),
new TableColumn(t`Policies`),
new TableColumn(""),

View file

@ -41,8 +41,8 @@ export class GroupListPage extends TablePage<Group> {
columns(): TableColumn[] {
return [
new TableColumn(t`Name`, t`name`),
new TableColumn(t`Parent`, t`parent`),
new TableColumn(t`Name`, "name"),
new TableColumn(t`Parent`, "parent"),
new TableColumn(t`Members`),
new TableColumn(t`Superuser privileges?`),
new TableColumn(""),

View file

@ -40,7 +40,7 @@ export class OutpostListPage extends TablePage<Outpost> {
}
columns(): TableColumn[] {
return [
new TableColumn(t`Name`, t`name`),
new TableColumn(t`Name`, "name"),
new TableColumn(t`Providers`),
new TableColumn(t`Health and Version`),
new TableColumn(""),

View file

@ -45,9 +45,9 @@ export class OutpostServiceConnectionListPage extends TablePage<ServiceConnectio
columns(): TableColumn[] {
return [
new TableColumn(t`Name`, t`name`),
new TableColumn(t`Name`, "name"),
new TableColumn(t`Type`),
new TableColumn(t`Local`, t`local`),
new TableColumn(t`Local`, "local"),
new TableColumn(t`State`),
new TableColumn(""),
];

View file

@ -36,9 +36,9 @@ export class BoundPoliciesList extends Table<PolicyBinding> {
columns(): TableColumn[] {
return [
new TableColumn(t`Policy / User / Group`),
new TableColumn(t`Enabled`, t`enabled`),
new TableColumn(t`Order`, t`order`),
new TableColumn(t`Timeout`, t`timeout`),
new TableColumn(t`Enabled`, "enabled"),
new TableColumn(t`Order`, "order"),
new TableColumn(t`Timeout`, "timeout"),
new TableColumn(""),
];
}

View file

@ -52,7 +52,7 @@ export class PolicyListPage extends TablePage<Policy> {
columns(): TableColumn[] {
return [
new TableColumn(t`Name`, t`name`),
new TableColumn(t`Name`, "name"),
new TableColumn(t`Type`),
new TableColumn(""),
];

View file

@ -52,8 +52,8 @@ export class PropertyMappingListPage extends TablePage<PropertyMapping> {
columns(): TableColumn[] {
return [
new TableColumn(t`Name`, t`name`),
new TableColumn(t`Type`, t`type`),
new TableColumn(t`Name`, "name"),
new TableColumn(t`Type`, "type"),
new TableColumn(""),
];
}

View file

@ -48,9 +48,9 @@ export class ProviderListPage extends TablePage<Provider> {
columns(): TableColumn[] {
return [
new TableColumn(t`Name`, t`name`),
new TableColumn(t`Name`, "name"),
new TableColumn(t`Application`),
new TableColumn(t`Type`, t`type`),
new TableColumn(t`Type`, "type"),
new TableColumn(""),
];
}

View file

@ -47,8 +47,8 @@ export class SourceListPage extends TablePage<Source> {
columns(): TableColumn[] {
return [
new TableColumn(t`Name`, t`name`),
new TableColumn(t`Type`, t`verboseName`),
new TableColumn(t`Name`, "name"),
new TableColumn(t`Type`),
new TableColumn(""),
];
}

View file

@ -62,7 +62,7 @@ export class StageListPage extends TablePage<Stage> {
columns(): TableColumn[] {
return [
new TableColumn(t`Name`, t`name`),
new TableColumn(t`Name`, "name"),
new TableColumn(t`Flows`),
new TableColumn(""),
];

View file

@ -42,8 +42,8 @@ export class InvitationListPage extends TablePage<Invitation> {
columns(): TableColumn[] {
return [
new TableColumn(t`ID`, t`pk`),
new TableColumn(t`Created by`, t`created_by`),
new TableColumn(t`ID`, "pk"),
new TableColumn(t`Created by`, "created_by"),
new TableColumn(t`Expiry`),
new TableColumn(""),
];

View file

@ -42,10 +42,10 @@ export class PromptListPage extends TablePage<Prompt> {
columns(): TableColumn[] {
return [
new TableColumn(t`Field`, t`field_key`),
new TableColumn(t`Label`, t`label`),
new TableColumn(t`Type`, t`type`),
new TableColumn(t`Order`, t`order`),
new TableColumn(t`Field`, "field_key"),
new TableColumn(t`Label`, "label"),
new TableColumn(t`Type`, "type"),
new TableColumn(t`Order`, "order"),
new TableColumn(t`Stages`),
new TableColumn(""),
];

View file

@ -51,7 +51,7 @@ export class SystemTaskListPage extends TablePage<Task> {
columns(): TableColumn[] {
return [
new TableColumn(t`Identifier`, t`task_name`),
new TableColumn(t`Identifier`, "task_name"),
new TableColumn(t`Description`),
new TableColumn(t`Last run`),
new TableColumn(t`Status`),

View file

@ -40,10 +40,10 @@ export class TokenListPage extends TablePage<Token> {
columns(): TableColumn[] {
return [
new TableColumn(t`Identifier`, t`identifier`),
new TableColumn(t`User`, t`user`),
new TableColumn(t`Expires?`, t`expiring`),
new TableColumn(t`Expiry date`, t`expires`),
new TableColumn(t`Identifier`, "identifier"),
new TableColumn(t`User`, "user"),
new TableColumn(t`Expires?`, "expiring"),
new TableColumn(t`Expiry date`, "expires"),
new TableColumn(""),
];
}

View file

@ -36,7 +36,7 @@ export class UserTokenList extends Table<Token> {
columns(): TableColumn[] {
return [
new TableColumn(t`Identifier`, t`identifier`),
new TableColumn(t`Identifier`, "identifier"),
new TableColumn(""),
];
}

View file

@ -45,9 +45,9 @@ export class UserListPage extends TablePage<User> {
columns(): TableColumn[] {
return [
new TableColumn(t`Name`, t`username`),
new TableColumn(t`Active`, t`active`),
new TableColumn(t`Last login`, t`last_login`),
new TableColumn(t`Name`, "username"),
new TableColumn(t`Active`, "active"),
new TableColumn(t`Last login`, "last_login"),
new TableColumn(""),
];
}