Skip to content

Commit

Permalink
Edit translation function to replace with name
Browse files Browse the repository at this point in the history
  • Loading branch information
NoComment1105 committed Jan 18, 2025
1 parent fbb1de9 commit f361de1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,9 @@ class PhishingExtension(private val settings: ExtPhishingBuilder) : Extension()
inline = true

name = PhishingTranslations.Fields.ActionFailed.name.translateLocale(locale)
value = PhishingTranslations.Fields.ActionFailed.value.translateLocale(
value = PhishingTranslations.Fields.ActionFailed.value.translateNamedLocale(
locale,
settings.detectionAction.name
"action" to settings.detectionAction.name
)
}
}
Expand Down

0 comments on commit f361de1

Please sign in to comment.