Skip to content

Commit

Permalink
Merge pull request #547 from Security-Onion-Solutions/mwright/i18n-up…
Browse files Browse the repository at this point in the history
…date

Edited i18n for detections
  • Loading branch information
mc-wright authored Jun 14, 2024
2 parents 71574f1 + bda98f4 commit 13276f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions html/js/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ const i18n = {
minutes: 'minutes',
missingPublicIdErr: "This detection is missing its public Id. A public Id is required.",
model: 'Model',
modify: 'Modify',
module: 'Module',
months: 'months',
moreColumns: 'Show additional, sensor-related columns',
Expand Down Expand Up @@ -841,6 +842,7 @@ const i18n = {
stenoLossAbbr: 'Steno Loss',
stg: 'Security Tech Impl Guides',
summary: 'Summary',
suppress: 'Suppress',
suricataLoss: 'Suricata Loss',
suricataLossAbbr: 'Suri Loss',
swapUsage: 'Swap Usage',
Expand Down
8 changes: 4 additions & 4 deletions html/js/routes/detection.js
Original file line number Diff line number Diff line change
Expand Up @@ -929,13 +929,13 @@ routes.push({ path: '/detection/:id', name: 'detection', component: {
switch (engine) {
case 'suricata':
return [
{ value: 'modify', text: 'Modify' },
{ value: 'suppress', text: 'Suppress' },
{ value: 'threshold', text: 'Threshold' }
{ value: 'modify', text: this.i18n.modify },
{ value: 'suppress', text: this.i18n.suppress },
{ value: 'threshold', text: this.i18n.threshold }
];
case 'elastalert':
return [
{ value: 'customFilter', text: 'Custom Filter' }
{ value: 'customFilter', text: this.i18n.customFilter }
];
}

Expand Down

0 comments on commit 13276f0

Please sign in to comment.