sessions: added texts to messages.json
This commit is contained in:
parent
a08bf78d05
commit
5979cf2c37
2 changed files with 14 additions and 7 deletions
|
@ -33,7 +33,7 @@ export const SessionsSection = () => {
|
||||||
const adminClient = useAdminClient();
|
const adminClient = useAdminClient();
|
||||||
const [filterDropdownOpen, setFilterDropdownOpen] = useState(false);
|
const [filterDropdownOpen, setFilterDropdownOpen] = useState(false);
|
||||||
const [filterType, setFilterType] = useState(
|
const [filterType, setFilterType] = useState(
|
||||||
t("sessions:All session types").toString()
|
t("sessionsType.allSessions").toString()
|
||||||
);
|
);
|
||||||
const [key, setKey] = useState(0);
|
const [key, setKey] = useState(0);
|
||||||
|
|
||||||
|
@ -91,28 +91,28 @@ export const SessionsSection = () => {
|
||||||
<SelectOption
|
<SelectOption
|
||||||
key={0}
|
key={0}
|
||||||
data-testid="all-sessions-option"
|
data-testid="all-sessions-option"
|
||||||
value={t("sessions:All session types")}
|
value={t("sessionsType.allSessions")}
|
||||||
isPlaceholder
|
isPlaceholder
|
||||||
/>
|
/>
|
||||||
<SelectOption
|
<SelectOption
|
||||||
key={1}
|
key={1}
|
||||||
data-testid="regular-sso-option"
|
data-testid="regular-sso-option"
|
||||||
value={t("sessions:Regular SSO")}
|
value={t("sessionsType.regularSSO")}
|
||||||
/>
|
/>
|
||||||
<SelectOption
|
<SelectOption
|
||||||
key={2}
|
key={2}
|
||||||
data-testid="offline-option"
|
data-testid="offline-option"
|
||||||
value={t("sessions:Offline")}
|
value={t("sessionsType.offline")}
|
||||||
/>
|
/>
|
||||||
<SelectOption
|
<SelectOption
|
||||||
key={3}
|
key={3}
|
||||||
data-testid="direct-grant-option"
|
data-testid="direct-grant-option"
|
||||||
value={t("sessions:Direct grant")}
|
value={t("sessionsType.directGrant")}
|
||||||
/>
|
/>
|
||||||
<SelectOption
|
<SelectOption
|
||||||
key={4}
|
key={4}
|
||||||
data-testid="service-account-option"
|
data-testid="service-account-option"
|
||||||
value={t("sessions:Service account")}
|
value={t("sessionsType.serviceAccount")}
|
||||||
/>
|
/>
|
||||||
</Select>
|
</Select>
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,13 @@
|
||||||
"subject": "Subject",
|
"subject": "Subject",
|
||||||
"lastAccess": "Last access",
|
"lastAccess": "Last access",
|
||||||
"startDate": "Start date",
|
"startDate": "Start date",
|
||||||
"accessedClients": "Accessed clients"
|
"accessedClients": "Accessed clients",
|
||||||
|
"sessionsType": {
|
||||||
|
"allSessions": "All session types",
|
||||||
|
"regularSSO": "Regular SSO",
|
||||||
|
"offline": "Offline",
|
||||||
|
"directGrant": "Direct grant",
|
||||||
|
"serviceAccount": "Service account"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue