PropertyModifierRejectOrSelect: change wording

fixes #2134
This commit is contained in:
Thomas Gelf 2020-06-06 22:06:10 +02:00
parent d8f55a47b3
commit 98aafeb535
2 changed files with 5 additions and 4 deletions

View File

@ -14,6 +14,7 @@ next (will be 1.8.0)
### User Interface
* FIX: It's now possible to set Endpoint ports > 32767 on PostgreSQL (#928)
* FIX: Group list is no longer prefixed with a comma (#2133)
* FIX: Change wording, avoid black/whitelist (#2134)
* FEATURE: Data Fields can now be grouped into categories (#1969)
* FEATURE: Inspect is now available for Packages, Stages and Files (#1995)
* FEATURE: Allow to disable the Director frontend / UI (#2007)

View File

@ -14,7 +14,7 @@ class PropertyModifierRejectOrSelect extends PropertyModifierHook
public function getName()
{
return 'Black or White-list rows based on property value';
return mt('director', 'Reject or keep rows based on property value');
}
/**
@ -38,7 +38,7 @@ class PropertyModifierRejectOrSelect extends PropertyModifierHook
]);
$form->addElement('text', 'filter_string', [
'label' => 'Filter',
'label' => $form->translate('Filter'),
'description' => $form->translate(
'The string/pattern you want to search for. Depends on the'
. ' chosen method, use www.* or *linux* for wildcard matches'
@ -56,8 +56,8 @@ class PropertyModifierRejectOrSelect extends PropertyModifierHook
),
'value' => 'reject',
'multiOptions' => [
'reject' => $form->translate('Reject the whole row (Blacklist)'),
'keep' => $form->translate('Keep only matching rows (Whitelist)'),
'reject' => $form->translate('Reject the whole row'),
'keep' => $form->translate('Keep only matching rows'),
],
]);
}