Skip to content

Commit

Permalink
Fixes naming
Browse files Browse the repository at this point in the history
  • Loading branch information
gudjong committed Oct 18, 2024
1 parent 4a8d3d7 commit 9139e02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -859,14 +859,14 @@ export const notifications = {
description: 'Texti í pósti til dómstóls þegar ákæra er afturkölluð',
},
}),
caseFilesAdded: defineMessages({
caseFilesUpdated: defineMessages({
subject: {
id: 'judicial.system.backend:notifications.case_files_added.subject',
id: 'judicial.system.backend:notifications.case_files_updated.subject',
defaultMessage: 'Ný gögn í máli {courtCaseNumber}',
description: 'Fyrirsögn í pósti til aðila máls þegar ný gögn eru send',
},
body: {
id: 'judicial.system.backend:notifications.case_files_added.body',
id: 'judicial.system.backend:notifications.case_files_updated.body',
defaultMessage:
'Ný gögn hafa borist vegna máls {courtCaseNumber}. {userHasAccessToRVG, select, true {Hægt er að nálgast gögn málsins á {linkStart}yfirlitssíðu málsins í Réttarvörslugátt{linkEnd}} other {Hægt er að nálgast gögn málsins hjá {court} ef þau hafa ekki þegar verið afhent}}',
description: 'Texti í pósti til aðila máls þegar ný gögn eru send',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1794,10 +1794,10 @@ export class InternalNotificationService extends BaseNotificationService {
name?: string,
email?: string,
) {
const subject = this.formatMessage(notifications.caseFilesAdded.subject, {
const subject = this.formatMessage(notifications.caseFilesUpdated.subject, {
courtCaseNumber,
})
const html = this.formatMessage(notifications.caseFilesAdded.body, {
const html = this.formatMessage(notifications.caseFilesUpdated.body, {
courtCaseNumber,
userHasAccessToRVG: Boolean(link),
linkStart: `<a href="${link}">`,
Expand Down

0 comments on commit 9139e02

Please sign in to comment.