Skip to content

Commit

Permalink
[backend/frontend] update messages and translations for decay (#2859)
Browse files Browse the repository at this point in the history
  • Loading branch information
SouadHadjiat authored Feb 16, 2024
1 parent 01c0022 commit cb3d6a7
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 18 deletions.
8 changes: 5 additions & 3 deletions opencti-platform/opencti-front/lang/front/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1690,7 +1690,7 @@
"INGESTION_MANAGER": "Ingestion-Manager",
"PLAYBOOK_MANAGER": "Spielbuch-Manager",
"FILE_INDEX_MANAGER": "Datei-Index-Manager",
"INDICATOR_DECAY_MANAGER": "Indikator Abklingmanager",
"INDICATOR_DECAY_MANAGER": "Indikator Zerfallmanager",
"text/markdown": "MD",
"application/json": "JSON",
"text/csv": "CSV",
Expand Down Expand Up @@ -2627,7 +2627,8 @@
"Days": "Tage",
"Indicator observable types": "Indikator beobachtbare Typen",
"Lifetime (in days)": "Lebenszeit (in Tagen)",
"Decay factor": "Abklingfaktor",
"Decay factor": "Zerfallsfaktor",
"Decay rules": "Zerfallregeln",
"Reaction points": "Reaktionspunkte",
"Impact": "Aufschlag",
"indicators currently impacted by this rule": "indikatoren, die derzeit von dieser Regel betroffen sind",
Expand All @@ -2637,7 +2638,8 @@
"Add a reaction point": "Hinzufügen eines Reaktionspunktes",
"Remove this reaction point": "Entfernen Sie diesen Reaktionspunkt",
"Create a decay rule": "Erstellen einer Zerfallsregel",
"Update a decay rule": "Aktualisieren einer Abklingregel",
"Update a decay rule": "Aktualisieren einer Zerfallsregel",
"Decay rules are applied on indicators by priority order (from greatest to lowest, lowest being 0). There are built-in rules applied by default that are not editable, you can add a custom decay rule and define its priority order.": "Abklingregeln werden auf Indikatoren in der Reihenfolge ihrer Priorität angewandt (vom höchsten zum niedrigsten Wert, wobei der niedrigste Wert 0 ist). Es gibt integrierte Regeln, die standardmäßig angewendet werden und nicht bearbeitet werden können. Sie können eine benutzerdefinierte Abklingregel hinzufügen und ihre Prioritätsreihenfolge festlegen.",
"Activate": "Aktivieren Sie",
"Deactivate": "Deaktivieren",
"Impacted indicators": "Beeinflusste Indikatoren",
Expand Down
2 changes: 2 additions & 0 deletions opencti-platform/opencti-front/lang/front/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2642,6 +2642,7 @@
"Indicator observable types": "Indicator observable types",
"Lifetime (in days)": "Lifetime (in days)",
"Decay factor": "Decay factor",
"Decay rules": "Decay rules",
"Reaction points": "Reaction points",
"Impact": "Impact",
"indicators currently impacted by this rule": "indicators currently impacted by this rule",
Expand All @@ -2652,6 +2653,7 @@
"Remove this reaction point": "Remove this reaction point",
"Create a decay rule": "Create a decay rule",
"Update a decay rule": "Update a decay rule",
"Decay rules are applied on indicators by priority order (from greatest to lowest, lowest being 0). There are built-in rules applied by default that are not editable, you can add a custom decay rule and define its priority order.": "Decay rules are applied on indicators by priority order (from greatest to lowest, lowest being 0). There are built-in rules applied by default that are not editable, you can add a custom decay rule and define its priority order.",
"Activate": "Activate",
"Deactivate": "Deactivate",
"Impacted indicators": "Impacted indicators",
Expand Down
4 changes: 3 additions & 1 deletion opencti-platform/opencti-front/lang/front/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -2636,6 +2636,7 @@
"Indicator observable types": "Indicador tipos observables",
"Lifetime (in days)": "Tiempo de vida (en días)",
"Decay factor": "Factor de decaimiento",
"Decay rules": "Reglas de decaimiento",
"Reaction points": "Puntos de reacción",
"Impact": "Impacto",
"indicators currently impacted by this rule": "indicadores actualmente afectados por esta regla",
Expand All @@ -2644,8 +2645,9 @@
"Define at which score thresholds the indicator is updated.": "Definir en qué umbrales de puntuación se actualiza el indicador.",
"Add a reaction point": "Añadir un punto de reacción",
"Remove this reaction point": "Eliminar este punto de reacción",
"Create a decay rule": "Crear una regla de descomposición",
"Create a decay rule": "Crear una regla de decaimiento",
"Update a decay rule": "Actualizar una regla de decaimiento",
"Decay rules are applied on indicators by priority order (from greatest to lowest, lowest being 0). There are built-in rules applied by default that are not editable, you can add a custom decay rule and define its priority order.": "Las reglas de decaimiento se aplican a los indicadores por orden de prioridad (de mayor a menor, siendo 0 el valor más bajo). Hay reglas incorporadas (built-in) aplicadas por defecto que no son editables, puede añadir una regla de decaimiento personalizada y definir su orden de prioridad.",
"Activate": "Activar",
"Deactivate": "Desactivar",
"Impacted indicators": "Indicadores afectados",
Expand Down
12 changes: 7 additions & 5 deletions opencti-platform/opencti-front/lang/front/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2635,23 +2635,25 @@
"Platform under construction, subscribe to update!": "Plateforme en cours de construction, abonnez-vous pour être mis à jour !",
"Current stable score": "Score stable actuel",
"Base score": "Score de base",
"Revoke score": "Note de révocation",
"Revoke score": "Score de révocation",
"Stability threshold": "Seuil de stabilité",
"Score:": "Score :",
"Days": "Jours",
"Indicator observable types": "Types d'indicateurs observables",
"Lifetime (in days)": "Durée de vie (en jours)",
"Decay factor": "Facteur de décroissance",
"Decay factor": "Facteur de déclin",
"Decay rules": "Règles de déclin",
"Reaction points": "Points de réaction",
"Impact": "Impact",
"indicators currently impacted by this rule": "indicateurs actuellement affectés par cette règle",
"Life curve": "Courbe de vie",
"Apply on indicator observable types": "Appliquer sur les types d'indicateurs observables",
"Apply on indicator observable types": "Appliquer sur les types d'observable des indicateurs",
"Define at which score thresholds the indicator is updated.": "Définir les seuils de score à partir desquels l'indicateur est mis à jour.",
"Add a reaction point": "Ajouter un point de réaction",
"Remove this reaction point": "Supprimer ce point de réaction",
"Create a decay rule": "Créer une règle de décroissance",
"Update a decay rule": "Mettre à jour une règle de désintégration",
"Create a decay rule": "Créer une règle de déclin",
"Update a decay rule": "Mettre à jour une règle de déclin",
"Decay rules are applied on indicators by priority order (from greatest to lowest, lowest being 0). There are built-in rules applied by default that are not editable, you can add a custom decay rule and define its priority order.": "Les règles de déclin sont appliquées aux indicateurs par ordre de priorité (de la plus grande à la plus petite, la plus petite étant 0). Des règles prédéfinies (built-in) sont appliquées par défaut et ne sont pas modifiables. Vous pouvez ajouter une règle de déclin personnalisée et définir son ordre de priorité.",
"Activate": "Activer",
"Deactivate": "Désactiver",
"Impacted indicators": "Indicateurs impactés",
Expand Down
2 changes: 2 additions & 0 deletions opencti-platform/opencti-front/lang/front/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -2642,6 +2642,7 @@
"Indicator observable types": "指標タイプ",
"Lifetime (in days)": "ライフタイム(日)",
"Decay factor": "減衰係数",
"Decay rules": "減衰ルール",
"Reaction points": "反応点",
"Impact": "衝撃",
"indicators currently impacted by this rule": "現在このルールの影響を受けている指標",
Expand All @@ -2652,6 +2653,7 @@
"Remove this reaction point": "この反応点を削除する",
"Create a decay rule": "崩壊ルールの作成",
"Update a decay rule": "崩壊ルールの更新",
"Decay rules are applied on indicators by priority order (from greatest to lowest, lowest being 0). There are built-in rules applied by default that are not editable, you can add a custom decay rule and define its priority order.": "ディケイ・ルールは、優先順位(最大から最小へ、最小は0)によってインジケータに適用されます。デフォルトで適用される組み込みのルールは編集できませんが、カスタム減衰ルールを追加し、その優先順位を定義することができます。",
"Activate": "アクティブ化",
"Deactivate": "無効化",
"Impacted indicators": "影響を受ける指標",
Expand Down
2 changes: 2 additions & 0 deletions opencti-platform/opencti-front/lang/front/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -2642,6 +2642,7 @@
"Indicator observable types": "指标观测类型",
"Lifetime (in days)": "寿命(天数)",
"Decay factor": "衰减系数",
"Decay rules": "衰变规则",
"Reaction points": "反应点",
"Impact": "影响",
"indicators currently impacted by this rule": "目前受此规则影响的指标",
Expand All @@ -2652,6 +2653,7 @@
"Remove this reaction point": "删除该反应点",
"Create a decay rule": "创建衰变规则",
"Update a decay rule": "更新衰变规则",
"Decay rules are applied on indicators by priority order (from greatest to lowest, lowest being 0). There are built-in rules applied by default that are not editable, you can add a custom decay rule and define its priority order.": "衰减规则按优先级顺序(从高到低,最低为 0)应用于指标。默认应用的内置规则不可编辑,您可以添加自定义衰减规则并定义其优先级顺序。",
"Activate": "激活",
"Deactivate": "停用",
"Impacted indicators": "受影响指标",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const DecayRules = () => {
numberOfElements={numberOfElements}
message={t_i18n(
'Decay rules are applied on indicators by priority order (from greatest to lowest, lowest being 0). '
+ 'There are three built-in rules applied by default that are not editable, you can add a custom decay rule and define its priority order.',
+ 'There are built-in rules applied by default that are not editable, you can add a custom decay rule and define its priority order.',
)}
>
{queryRef && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ export const getDecaySettingsChartData = async (context: AuthContext, user: Auth

// region init built-in decay rules
export const FALLBACK_DECAY_RULE: DecayRuleConfiguration = {
name: 'Default Decay Rule',
description: 'Built-in decay rule for all indicators that does not match any other decay rules.',
name: 'Built-in default',
description: 'Built-in decay rule for all indicators that do not match any other decay rule.',
decay_lifetime: 470, // 1 year
decay_pound: 0.35,
decay_points: [80, 50],
Expand All @@ -258,8 +258,8 @@ export const FALLBACK_DECAY_RULE: DecayRuleConfiguration = {
active: true,
};
export const BUILT_IN_DECAY_RULE_FILE_ARTEFACT: DecayRuleConfiguration = {
name: 'Built-in files and artefact decay rule.',
description: 'Built-in decay rule for indicator with files or artefact for main observable.',
name: 'Built-in files and artifact',
description: 'Built-in decay rule for indicators with files or artefact as main observable type.',
decay_lifetime: 460,
decay_pound: 0.3,
decay_points: [80],
Expand All @@ -273,8 +273,8 @@ export const BUILT_IN_DECAY_RULE_FILE_ARTEFACT: DecayRuleConfiguration = {
};

export const BUILT_IN_DECAY_RULE_IP_URL: DecayRuleConfiguration = {
name: 'Built-in IP and URL decay rule.',
description: 'Built-in decay rule for indicator with IP or URL for main observable.',
name: 'Built-in IP and URL',
description: 'Built-in decay rule for indicators with IP or URL as main observable type.',
decay_lifetime: 47,
decay_pound: 0.55,
decay_points: [80, 50],
Expand All @@ -289,8 +289,8 @@ export const BUILT_IN_DECAY_RULE_IP_URL: DecayRuleConfiguration = {
};

export const BUILT_IN_DECAY_RULE_DOMAIN_NAME: DecayRuleConfiguration = {
name: 'Built-in domain-name decay rule.',
description: 'Built-in decay rule for indicator with domain-name for main observable.',
name: 'Built-in domain name',
description: 'Built-in decay rule for indicators with domain name as main observable type.',
decay_lifetime: 300,
decay_pound: 0.7,
decay_points: [80, 50],
Expand Down

0 comments on commit cb3d6a7

Please sign in to comment.