Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Frontend]Adding separate translation files #2227

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions openbas-front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"html-react-parser": "5.2.0",
"html-to-image": "1.11.11",
"http-proxy-middleware": "3.0.3",
"i18n-auto-translation": "1.10.0",
"js-file-download": "0.4.12",
"leaflet": "1.9.4",
"mdi-material-ui": "7.9.2",
Expand Down
8 changes: 6 additions & 2 deletions openbas-front/src/utils/Localization.js
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,8 @@ const i18n = {
'Targeted asets': 'Actifs ciblés',
'Modify target assets': 'Modifier les actifs cibles',
'Modify assets in this inject': 'Modifier des actifs dans ce stimuli',
'Add assets': 'Ajouter des actifs',
'Add assets in this inject': 'Ajouter des actifs dans ce stimuli',
'Show all assets': 'Afficher tous les actifs',
'By default, only assets compliant with the injector are displayed': 'Par défaut, seuls les actifs conformes à l\'injecteur sont affichés',
'To register new endpoints, you will need to install an agent. You can find detailed instructions on the ': 'Pour enregistrer de nouveaux points de terminaison, vous devrez installer un agent. Vous pouvez trouver des instructions détaillées sur le ',
Expand Down Expand Up @@ -881,7 +883,7 @@ const i18n = {
'Filigran eXtended Threat Management': 'Filigran eXtended Threat Management',
'Platform connected': 'Plateforme connectée',
'Get OpenCTI now': 'Obtenir OpenCTI maintenant',
'Current platform': 'Plateforme courante',
'Current platform': 'Plateforme actuelle',
'Personas': 'Personas',
'The country code and mobile phone number provided is invalid. Please provide a valid number': 'L\'indicatif du pays et le numéro de téléphone mobile fournis ne sont pas valides. Veuillez fournir un numéro valide',
'phone_number_tooltip': 'Le numéro de téléphone devrait commencer par un signe plus ( + )\n'
Expand Down Expand Up @@ -1104,7 +1106,7 @@ const i18n = {
'Formal': 'Formel',
'Informal': 'Informel',
'Authoritative': 'Autoritaire',
'Assertive': 'Assuré',
'Assertive': 'Assertif',
'Bitter': 'Amer',
'Arrogant': 'Arrogant',
'Aggressive': 'Agressif',
Expand Down Expand Up @@ -2269,6 +2271,8 @@ const i18n = {
'Targeted asets': '目标资产',
'Modify target assets': '修改目标资产',
'Modify assets in this inject': '修改本次注入中的资产',
'Add assets': '添加资产',
'Add assets in this inject': '添加资产到这个注入',
'Show all assets': '显示所有资产',
'By default, only assets compliant with the injector are displayed': '默认情况下,只显示符合注入器要求的资产',
'To register new endpoints, you will need to install an agent. You can find detailed instructions on the ':
Expand Down
Loading
Loading