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] change wording for dynamic asset filter #1472

Merged
merged 1 commit into from
Sep 18, 2024
Merged
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
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
Loading