Skip to content

Commit

Permalink
[frontend] some fixes (#5548-support-logs)
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahBocognano committed May 2, 2024
1 parent 1967043 commit e791cac
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 18 deletions.
2 changes: 0 additions & 2 deletions opencti-platform/opencti-front/lang/front/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,6 @@
"For all other usages, you (and your organization) should have entered in a": "Für alle anderen Verwendungen sollten Sie (und Ihre Organisation) eine",
"Force download on this support package": "Erzwingen Sie den Download für dieses Support-Paket",
"Force now": "Kraft jetzt",
"Force zip launched. Your download will start shortly.": "Erzwingen Sie den Start von zip. Ihr Download wird in Kürze beginnen.",
"Format": "Formatieren",
"Free rectangle select": "Freies Rechteck auswählen",
"Free select": "Frei wählen",
Expand Down Expand Up @@ -1574,7 +1573,6 @@
"No description of this targeting": "Keine Beschreibung dieses Ziels",
"No description of this usage": "Keine Beschreibung für diese Verwendung",
"No direct instance trigger": "Kein direkter Instanz-Trigger",
"No download URL available.": "Keine Download-URL verfügbar.",
"No enrichment connectors on this platform": "Keine Anreicherungskonnektoren auf dieser Plattform",
"No entities added in this context.": "Keine Entitäten in diesem Kontext hinzugefügt.",
"No entities of this type has been found.": "Es wurden keine Objekte dieses Typs gefunden.",
Expand Down
2 changes: 0 additions & 2 deletions opencti-platform/opencti-front/lang/front/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,6 @@
"For all other usages, you (and your organization) should have entered in a": "For all other usages, you (and your organization) should have entered in a",
"Force download on this support package": "Force download on this support package",
"Force now": "Force now",
"Force zip launched. Your download will start shortly.": "Force zip launched. Your download will start shortly.",
"Format": "Format",
"Free rectangle select": "Free rectangle select",
"Free select": "Free select",
Expand Down Expand Up @@ -1574,7 +1573,6 @@
"No description of this targeting": "No description of this targeting",
"No description of this usage": "No description of this usage",
"No direct instance trigger": "No direct instance trigger",
"No download URL available.": "No download URL available.",
"No enrichment connectors on this platform": "No enrichment connectors on this platform",
"No entities added in this context.": "No entities added in this context.",
"No entities of this type has been found.": "No entities of this type has been found.",
Expand Down
2 changes: 0 additions & 2 deletions opencti-platform/opencti-front/lang/front/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,6 @@
"For all other usages, you (and your organization) should have entered in a": "Para todos los demás usos, usted (y su organización) deben haber introducido un",
"Force download on this support package": "Forzar la descarga de este paquete de soporte",
"Force now": "Forzar ahora",
"Force zip launched. Your download will start shortly.": "Fuerza el lanzamiento del zip. Su descarga comenzará en breve.",
"Format": "Formatear",
"Free rectangle select": "Seleccionar rectángulo libre",
"Free select": "Selección libre",
Expand Down Expand Up @@ -1574,7 +1573,6 @@
"No description of this targeting": "No hay descripción de este objetivo",
"No description of this usage": "No hay descripción de este uso",
"No direct instance trigger": "Sin desencadenador directo de instancias",
"No download URL available.": "No hay URL de descarga disponible.",
"No enrichment connectors on this platform": "Ningún conector de enriquecimiento en esta plataforma",
"No entities added in this context.": "No hay entidades añadidas en este contexto.",
"No entities of this type has been found.": "No se ha encontrado ninguna entidad de este tipo.",
Expand Down
2 changes: 0 additions & 2 deletions opencti-platform/opencti-front/lang/front/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,6 @@
"For all other usages, you (and your organization) should have entered in a": "Pour toutes les autres utilisations, vous (et votre organisation) devez avoir conclu un accord de licence avec Filigran",
"Force download on this support package": "Forcer le téléchargement de ce support",
"Force now": "Forcer maintenant",
"Force zip launched. Your download will start shortly.": "Forcer le lancement du zip. Votre téléchargement va commencer sous peu.",
"Format": "Format",
"Free rectangle select": "Sélection du rectangle libre",
"Free select": "Sélection libre",
Expand Down Expand Up @@ -1574,7 +1573,6 @@
"No description of this targeting": "Aucune description de ce ciblage",
"No description of this usage": "Aucune description de cet usage",
"No direct instance trigger": "Aucun déclencheur d'instance direct",
"No download URL available.": "Pas d'URL de téléchargement disponible.",
"No enrichment connectors on this platform": "Aucun connecteur d'enrichissement sur cette plateforme",
"No entities added in this context.": "Aucune entité n'a été ajoutée dans ce contexte.",
"No entities of this type has been found.": "Aucune entité de ce type n'a été trouvée.",
Expand Down
2 changes: 0 additions & 2 deletions opencti-platform/opencti-front/lang/front/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,6 @@
"For all other usages, you (and your organization) should have entered in a": "その他のすべての使用については、お客様(およびお客様の組織)が",
"Force download on this support package": "このサポートパッケージを強制ダウンロードする",
"Force now": "即時適用",
"Force zip launched. Your download will start shortly.": "強制的にZIPが起動します。まもなくダウンロードが開始されます。",
"Format": "フォーマット",
"Free rectangle select": "自由長方形選択",
"Free select": "自由選択",
Expand Down Expand Up @@ -1574,7 +1573,6 @@
"No description of this targeting": "この標的についての説明はありません",
"No description of this usage": "この使用方法についての説明はありません",
"No direct instance trigger": "直接インスタンストリガーなし",
"No download URL available.": "ダウンロードURLはありません。",
"No enrichment connectors on this platform": "有効なエンリッチ用コネクタがありません",
"No entities added in this context.": "このコンテキストにエンティティは追加されていません。",
"No entities of this type has been found.": "このタイプのエンティティは見つかりませんでした。",
Expand Down
2 changes: 0 additions & 2 deletions opencti-platform/opencti-front/lang/front/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,6 @@
"For all other usages, you (and your organization) should have entered in a": "对于所有其他用途,您(和您的组织)应在 \"OpenCTI EE \"网站上注册。",
"Force download on this support package": "强制下载该支持软件包",
"Force now": "立即生效",
"Force zip launched. Your download will start shortly.": "强制启动 zip。下载即将开始。",
"Format": "格式",
"Free rectangle select": "自由矩形选择",
"Free select": "自由选择",
Expand Down Expand Up @@ -1574,7 +1573,6 @@
"No description of this targeting": "没有关于此针对的描述",
"No description of this usage": "没有关于此用法的描述",
"No direct instance trigger": "",
"No download URL available.": "没有可用的下载 URL。",
"No enrichment connectors on this platform": "此平台上没有富化连接器",
"No entities added in this context.": "此上下文中未添加任何实体。",
"No entities of this type has been found.": "未找到此类型的实体。",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,10 @@ const SupportPackageLine: FunctionComponent<SupportPackageLineProps> = ({
onCompleted: () => {
// Check if there is a valid URL and initiate download
if (data.package_url) {
MESSAGING$.notifySuccess(() => {
t_i18n('Force zip launched. Your download will start shortly.');
});
MESSAGING$.notifySuccess('Force zip launched. Your download will start shortly.');
window.location.href = `${APP_BASE_PATH}/storage/get/${encodeURIComponent(data.package_url)}`;
} else {
MESSAGING$.notifyError(() => {
t_i18n('No download URL available.');
});
MESSAGING$.notifyError('No download URL available.');
}
},
});
Expand Down

0 comments on commit e791cac

Please sign in to comment.