Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: incorrect proof chat role #1375

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/legacy/core/App/localization/en/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ const translation = {
"CredentialReceived": "received a credential",
"ProofRequestSent": "sent a proof request",
"ProofPresentationReceived": "has sent you information",
"ProofRequestReceived": "received a proof request",
"ProofRequestReceived": "has sent you a proof request",
"ProofRequestRejected": "rejected a proof request",
"ProofRequestRejectReceived": "rejected a proof request",
"ProofRequestSatisfied": "shared information",
Expand Down
2 changes: 1 addition & 1 deletion packages/legacy/core/App/localization/fr/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ const translation = {
"CredentialReceived": "reçu une attestation",
"ProofRequestSent": "envoyé une demande d'attestation",
"ProofPresentationReceived": "vous a envoyé des informations",
"ProofRequestReceived": "reçu une demande d'attestation",
"ProofRequestReceived": "has sent you a proof request (FR)",
"ProofRequestRejected": "rejeté une demande d'attestation",
"ProofRequestRejectReceived": "a rejeté une demande d'attestation",
"ProofRequestSatisfied": "informations partagées",
Expand Down
2 changes: 1 addition & 1 deletion packages/legacy/core/App/localization/pt-br/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ const translation = {
"CredentialReceived": "recebeu uma credencial",
"ProofRequestSent": "enviou uma solicitação de prova",
"ProofPresentationReceived": "te enviou informações",
"ProofRequestReceived": "recebeu uma solicitação de prova",
"ProofRequestReceived": "has sent you a proof request (PT-BR)",
"ProofRequestRejected": "rejeitou uma solicitação de prova",
"ProofRequestRejectReceived": "rejeitou um pedido de prova",
"ProofRequestSatisfied": "informações compartilhadas",
Expand Down
2 changes: 1 addition & 1 deletion packages/legacy/core/App/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ export function getProofEventRole(record: ProofExchangeRecord) {
case ProofState.PresentationReceived:
return Role.them
case ProofState.RequestReceived:
return Role.me
return Role.them
case ProofState.ProposalSent:
case ProofState.PresentationSent:
return Role.me
Expand Down