Skip to content

Commit

Permalink
Added missing dynamic field driver function FieldValueValidate. Fixed…
Browse files Browse the repository at this point in the history
… name of dynamic field drivers (dropdown -> Dropdown; multiselect -> Multiselect).
  • Loading branch information
jepf committed Jan 18, 2024
1 parent 78340bb commit a99cbb9
Show file tree
Hide file tree
Showing 100 changed files with 206 additions and 198 deletions.
4 changes: 2 additions & 2 deletions Kernel/Config/Files/XML/ITSMConfigItem.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1731,7 +1731,7 @@
<Navigation>Core::DynamicFields::DriverRegistration</Navigation>
<Value>
<Hash>
<Item Key="DisplayName" Translatable="1">Config item (dropdown)</Item>
<Item Key="DisplayName" Translatable="1">Config item (Dropdown)</Item>
<Item Key="Module">Kernel::System::DynamicField::Driver::ConfigItemDropdown</Item>
<Item Key="ConfigDialog">AdminDynamicFieldConfigItem</Item>
<Item Key="Config">
Expand All @@ -1746,7 +1746,7 @@
<Navigation>Core::DynamicFields::DriverRegistration</Navigation>
<Value>
<Hash>
<Item Key="DisplayName" Translatable="1">Config item (multiselect)</Item>
<Item Key="DisplayName" Translatable="1">Config item (Multiselect)</Item>
<Item Key="Module">Kernel::System::DynamicField::Driver::ConfigItemMultiselect</Item>
<Item Key="ConfigDialog">AdminDynamicFieldConfigItem</Item>
<Item Key="Config">
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/ar_SA_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/bg_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/ca_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/cs_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/da_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/de_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'Prüft Namen auf Eindeutigkeit innerhalb der selben Configuration Item-Klasse oder global, d.h. es werden alle Configuration Items jeglicher Configuration Item-Klasse bei der Prüfung auf einen eindeutigen Namen berücksichtigt.';
$Self->{Translation}->{'Config Items'} = 'Configuration Items';
$Self->{Translation}->{'Config item (dropdown)'} = 'Config-Item (Einfachauswahl)';
$Self->{Translation}->{'Config item (multiselect)'} = 'Config-Item (Mehrfachauswahl)';
$Self->{Translation}->{'Config item (Dropdown)'} = 'Config-Item (Einfachauswahl)';
$Self->{Translation}->{'Config item (Multiselect)'} = 'Config-Item (Mehrfachauswahl)';
$Self->{Translation}->{'Config item add.'} = 'Configuration Item hinzufügen.';
$Self->{Translation}->{'Config item edit.'} = 'Configuration Item bearbeiten.';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/el_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/en_CA_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/en_GB_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/es_CO_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/es_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'Busque un nombre único solo dentro de la misma clase de ConfigItem (\'clase\') o globalmente (\'global\'), lo que significa que cada ConfigItem existente se tiene en cuenta cuando se buscan duplicados.';
$Self->{Translation}->{'Config Items'} = 'Elementos de configuración';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = 'Añadir elemento de configuración';
$Self->{Translation}->{'Config item edit.'} = 'Editar elemento de configuración.';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/es_MX_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/et_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/fa_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/fi_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/fr_CA_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/fr_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = 'Éléments de configuration';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = 'Élément de configuration ajouté';
$Self->{Translation}->{'Config item edit.'} = 'Éléments de configuration édité';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/gl_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/he_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/hi_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/hr_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'';
$Self->{Translation}->{'Config Items'} = '';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/hu_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'Egyedi név ellenőrzése kizárólag ugyanabban a konfigurációelem osztályban („osztály”) vagy globálisan („globális”), amely azt jelenti, hogy minden meglévő konfigurációelem figyelembe lesz véve a kettőzések keresésekor.';
$Self->{Translation}->{'Config Items'} = 'Konfigurációelemek';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = 'Konfigurációelem hozzáadása.';
$Self->{Translation}->{'Config item edit.'} = 'Konfigurációelem szerkesztése.';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Language/id_ITSMConfigurationManagement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ sub Data {
$Self->{Translation}->{'Check for a unique name only within the same ConfigItem class (\'class\') or globally (\'global\'), which means every existing ConfigItem is taken into account when looking for duplicates.'} =
'Periksa hanya nama unik saja di dalam kelas(\'kelas\') itemkonfigurasi yang sama atau secara global (\'global), yang berarti setiap ItemKonfigurasi yang ada akan diperhitungkan ketika mencari duplikat';
$Self->{Translation}->{'Config Items'} = 'item konfigurasi';
$Self->{Translation}->{'Config item (dropdown)'} = '';
$Self->{Translation}->{'Config item (multiselect)'} = '';
$Self->{Translation}->{'Config item (Dropdown)'} = '';
$Self->{Translation}->{'Config item (Multiselect)'} = '';
$Self->{Translation}->{'Config item add.'} = '';
$Self->{Translation}->{'Config item edit.'} = '';
$Self->{Translation}->{'Config item event module that enables logging to history in the agent interface.'} =
Expand Down
Loading

0 comments on commit a99cbb9

Please sign in to comment.