Skip to content

Commit

Permalink
[frontend] change wording for dynamic asset filter (#1431)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarineLeM authored Sep 18, 2024
1 parent ee74405 commit 974df61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const DynamicAssetField: FunctionComponent<Props> = ({
return (
<div style={{ marginTop: 20 }}>
<div style={{ display: 'flex', alignItems: 'end', gap: 10 }}>
<InputLabel id="dynamic-asset-filter">{t('Dynamic asset filter')}</InputLabel>
<InputLabel id="dynamic-asset-filter">{t('Rule')}</InputLabel>
<Tooltip title={t('Filter allowing assets to be added dynamically to this group')}>
<InfoOutlined
fontSize="small"
Expand Down
6 changes: 4 additions & 2 deletions openbas-front/src/utils/Localization.js
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,8 @@ const i18n = {
// Assets
Endpoints: 'Endpoints',
asset: 'actif',
Rules: 'Règles',
Rule: 'Règle',
'Teams of players': 'Equipes de joueurs',
'Create a new endpoint': 'Créer un nouvel endpoint',
'Update the endpoint': 'Modifier l\'endpoint',
Expand All @@ -815,7 +817,6 @@ const i18n = {
'Asset groups': 'Groupe d\'assets',
AssetGroup: 'Groupe-d-assets',
AssetGroups: 'Groupes-d-assets',
'Dynamic asset filter': 'Filtre d\'actifs dynamique',
'Filter allowing assets to be added dynamically to this group': 'Filtre permettant d\'ajouter dynamiquement des actifs à ce groupe',
'Create a new asset group': 'Créer un nouvel asset group',
'Update the asset group': 'Modifier l\'asset group',
Expand Down Expand Up @@ -2118,6 +2119,8 @@ const i18n = {
'Should not be empty': '不能为空',
// Assets
Endpoints: '终端',
Rules: '规则',
Rule: '规则',
'Teams of players': '选手团队',
'Create a new endpoint': '创建新终端',
'Update the endpoint': '更新终端',
Expand All @@ -2143,7 +2146,6 @@ const i18n = {
'Asset groups': '资产组',
AssetGroup: '资产组',
AssetGroups: '资产组',
'Dynamic asset filter': '动态资产过滤器',
'Filter allowing assets to be added dynamically to this group': '允许将资产动态添加到该组的过滤器',
'Create a new asset group': '创建一个新资产组',
'Update the asset group': '更新资产组',
Expand Down

0 comments on commit 974df61

Please sign in to comment.