Skip to content

Commit

Permalink
Add multilingual support
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Jaeger-Freeborn <[email protected]>
  • Loading branch information
Gavinok committed Nov 15, 2024
1 parent 0e557b0 commit 05022ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion oidc-controller/api/templates/verified_credentials.html
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ <h5 v-if="state.showScanned" class="fw-bolder mb-3">
const mobileDevice = ref(
getBrowser() === "Android" || getBrowser() === "iOS" ? true : false
);
const claims = ref(JSON.parse('{{claims|tojson}}'));
const claims = ref(JSON.parse('{{claims|tojson}}')['en']);

return {
mobileDevice,
Expand Down
2 changes: 1 addition & 1 deletion oidc-controller/api/verificationConfigs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class VerificationProofRequest(BaseModel):

class MetaData(BaseModel):
title: str | None = Field(default=None)
claims: list[str] | None = Field(default=None)
claims: dict[str, list[str]] | None = Field(default=None)


class VerificationConfigBase(BaseModel):
Expand Down

0 comments on commit 05022ca

Please sign in to comment.