diff --git a/datamodels/2.x/itop-attachments/dictionaries/cs.dict.itop-attachments.php b/datamodels/2.x/itop-attachments/dictionaries/cs.dict.itop-attachments.php index bf417ccc8d..dc0bc884ce 100644 --- a/datamodels/2.x/itop-attachments/dictionaries/cs.dict.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/dictionaries/cs.dict.itop-attachments.php @@ -85,11 +85,13 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', [ Dict::Add('CS CZ', 'Czech', 'Čeština', [ 'Class:TriggerOnAttachmentDownload' => 'Trigger (on object\'s attachment download)~~', 'Class:TriggerOnAttachmentDownload+' => 'Trigger on object\'s attachment download of [a child class of] the given class~~', - 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment create)~~', - 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment create~~', + 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment creation)~~', + 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment creation~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email' => 'Add file in email~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email+' => 'If checked, the file will be automatically attached to the email when an email action is triggered~~', - 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment delete)~~', - 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment delete~~', + 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment deletion)~~', + 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment deletion~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email' => 'Add deleted file in email~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email+' => 'If checked, the deleted file will be automatically attached to the email when an email action is triggered~~', 'Class:TriggerOnObject:TriggerClassAttachment/ReadOnlyMessage' => 'Trigger on object is not allowed on class Attachment. Please use specific trigger~~', ]); diff --git a/datamodels/2.x/itop-attachments/dictionaries/da.dict.itop-attachments.php b/datamodels/2.x/itop-attachments/dictionaries/da.dict.itop-attachments.php index 6fbbe5f2a0..df1378e2e7 100644 --- a/datamodels/2.x/itop-attachments/dictionaries/da.dict.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/dictionaries/da.dict.itop-attachments.php @@ -84,11 +84,13 @@ Dict::Add('DA DA', 'Danish', 'Dansk', [ Dict::Add('DA DA', 'Danish', 'Dansk', [ 'Class:TriggerOnAttachmentDownload' => 'Trigger (on object\'s attachment download)~~', 'Class:TriggerOnAttachmentDownload+' => 'Trigger on object\'s attachment download of [a child class of] the given class~~', - 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment create)~~', - 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment create~~', + 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment creation)~~', + 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment creation~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email' => 'Add file in email~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email+' => 'If checked, the file will be automatically attached to the email when an email action is triggered~~', - 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment delete)~~', - 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment delete~~', + 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment deletion)~~', + 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment deletion~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email' => 'Add deleted file in email~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email+' => 'If checked, the deleted file will be automatically attached to the email when an email action is triggered~~', 'Class:TriggerOnObject:TriggerClassAttachment/ReadOnlyMessage' => 'Trigger on object is not allowed on class Attachment. Please use specific trigger~~', ]); diff --git a/datamodels/2.x/itop-attachments/dictionaries/de.dict.itop-attachments.php b/datamodels/2.x/itop-attachments/dictionaries/de.dict.itop-attachments.php index 5749f92b96..bd86b5a60b 100644 --- a/datamodels/2.x/itop-attachments/dictionaries/de.dict.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/dictionaries/de.dict.itop-attachments.php @@ -84,11 +84,13 @@ Dict::Add('DE DE', 'German', 'Deutsch', [ Dict::Add('DE DE', 'German', 'Deutsch', [ 'Class:TriggerOnAttachmentDownload' => 'Trigger (beim Herunterladen eines Attachment eines Objekts)', 'Class:TriggerOnAttachmentDownload+' => 'Trigger für das Herunterladen des Attachments der angegebenen Klasse oder einer Unterklasse', - 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment create)~~', - 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment create~~', + 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment creation)~~', + 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment creation~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email' => 'Add file in email~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email+' => 'If checked, the file will be automatically attached to the email when an email action is triggered~~', - 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment delete)~~', - 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment delete~~', + 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment deletion)~~', + 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment deletion~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email' => 'Add deleted file in email~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email+' => 'If checked, the deleted file will be automatically attached to the email when an email action is triggered~~', 'Class:TriggerOnObject:TriggerClassAttachment/ReadOnlyMessage' => 'Trigger on object is not allowed on class Attachment. Please use specific trigger~~', ]); diff --git a/datamodels/2.x/itop-attachments/dictionaries/en.dict.itop-attachments.php b/datamodels/2.x/itop-attachments/dictionaries/en.dict.itop-attachments.php index 22ed209b8f..c6f1253e44 100644 --- a/datamodels/2.x/itop-attachments/dictionaries/en.dict.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/dictionaries/en.dict.itop-attachments.php @@ -91,11 +91,13 @@ Dict::Add('EN US', 'English', 'English', [ Dict::Add('EN US', 'English', 'English', [ 'Class:TriggerOnAttachmentDownload' => 'Trigger (on object\'s attachment download)', 'Class:TriggerOnAttachmentDownload+' => 'Trigger on object\'s attachment download of [a child class of] the given class', - 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment create)', - 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment create', - 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment delete)', - 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment delete', + 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment creation)', + 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment creation', + 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment deletion)', + 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment deletion', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email' => 'Add file in email', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email+' => 'If checked, the file will be automatically attached to the email when an email action is triggered', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email' => 'Add deleted file in email', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email+' => 'If checked, the deleted file will be automatically attached to the email when an email action is triggered', 'Class:TriggerOnObject:TriggerClassAttachment/ReadOnlyMessage' => 'Trigger on object is not allowed on class Attachment. Please use specific trigger', ]); diff --git a/datamodels/2.x/itop-attachments/dictionaries/es_cr.dict.itop-attachments.php b/datamodels/2.x/itop-attachments/dictionaries/es_cr.dict.itop-attachments.php index 522fec5b2e..8a36f9a47f 100644 --- a/datamodels/2.x/itop-attachments/dictionaries/es_cr.dict.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/dictionaries/es_cr.dict.itop-attachments.php @@ -81,11 +81,13 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', [ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', [ 'Class:TriggerOnAttachmentDownload' => 'Disparador (al descargar el archivo adjunto del objeto)', 'Class:TriggerOnAttachmentDownload+' => 'Disparador al descargar el archivo adjunto del objeto de [una clase secundaria de] la clase dada', - 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment create)~~', - 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment create~~', + 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment creation)~~', + 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment creation~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email' => 'Add file in email~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email+' => 'If checked, the file will be automatically attached to the email when an email action is triggered~~', - 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment delete)~~', - 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment delete~~', + 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment deletion)~~', + 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment deletion~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email' => 'Add deleted file in email~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email+' => 'If checked, the deleted file will be automatically attached to the email when an email action is triggered~~', 'Class:TriggerOnObject:TriggerClassAttachment/ReadOnlyMessage' => 'Trigger on object is not allowed on class Attachment. Please use specific trigger~~', ]); diff --git a/datamodels/2.x/itop-attachments/dictionaries/fr.dict.itop-attachments.php b/datamodels/2.x/itop-attachments/dictionaries/fr.dict.itop-attachments.php index 20895560a6..e6f57da703 100644 --- a/datamodels/2.x/itop-attachments/dictionaries/fr.dict.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/dictionaries/fr.dict.itop-attachments.php @@ -89,5 +89,7 @@ Dict::Add('FR FR', 'French', 'Français', [ 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email+' => 'Si coché, le fichier sera automatiquement attaché à l\'email quand l\'action email est lancée', 'Class:TriggerOnAttachmentDelete' => 'Déclencheur sur la suppression d\'une pièce jointe', 'Class:TriggerOnAttachmentDelete+' => 'Déclencheur sur la suppression d\'une pièce jointe d\'un objet', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email' => 'Ajoute le fichier supprimé dans l\'email', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email+' => 'If checked, the deleted file will be automatically attached to the email when an email action is triggered~~', 'Class:TriggerOnObject:TriggerClassAttachment/ReadOnlyMessage' => 'Les Triggers sur les objets ne sont pas autorisés sur la classe Attachement. Veuillez utiliser les triggers spécifiques pour cette classe', ]); diff --git a/datamodels/2.x/itop-attachments/dictionaries/hu.dict.itop-attachments.php b/datamodels/2.x/itop-attachments/dictionaries/hu.dict.itop-attachments.php index 14f6ba869a..49f77bb757 100644 --- a/datamodels/2.x/itop-attachments/dictionaries/hu.dict.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/dictionaries/hu.dict.itop-attachments.php @@ -81,11 +81,13 @@ Dict::Add('HU HU', 'Hungarian', 'Magyar', [ Dict::Add('HU HU', 'Hungarian', 'Magyar', [ 'Class:TriggerOnAttachmentDownload' => 'Trigger (on object\'s attachment download)~~', 'Class:TriggerOnAttachmentDownload+' => 'Trigger on object\'s attachment download of [a child class of] the given class~~', - 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment create)~~', - 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment create~~', + 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment creation)~~', + 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment creation~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email' => 'Add file in email~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email+' => 'If checked, the file will be automatically attached to the email when an email action is triggered~~', - 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment delete)~~', - 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment delete~~', + 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment deletion)~~', + 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment deletion~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email' => 'Add deleted file in email~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email+' => 'If checked, the deleted file will be automatically attached to the email when an email action is triggered~~', 'Class:TriggerOnObject:TriggerClassAttachment/ReadOnlyMessage' => 'Trigger on object is not allowed on class Attachment. Please use specific trigger~~', ]); diff --git a/datamodels/2.x/itop-attachments/dictionaries/it.dict.itop-attachments.php b/datamodels/2.x/itop-attachments/dictionaries/it.dict.itop-attachments.php index d766a18648..a5a4aaa931 100644 --- a/datamodels/2.x/itop-attachments/dictionaries/it.dict.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/dictionaries/it.dict.itop-attachments.php @@ -83,11 +83,13 @@ Dict::Add('IT IT', 'Italian', 'Italiano', [ Dict::Add('IT IT', 'Italian', 'Italiano', [ 'Class:TriggerOnAttachmentDownload' => 'Trigger (al download di un allegato dell\'oggetto)', 'Class:TriggerOnAttachmentDownload+' => 'Trigger al download di un allegato di un oggetto di [una sottoclasse di] la classe data', - 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment create)~~', - 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment create~~', + 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment creation)~~', + 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment creation~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email' => 'Add file in email~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email+' => 'If checked, the file will be automatically attached to the email when an email action is triggered~~', - 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment delete)~~', - 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment delete~~', + 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment deletion)~~', + 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment deletion~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email' => 'Add deleted file in email~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email+' => 'If checked, the deleted file will be automatically attached to the email when an email action is triggered~~', 'Class:TriggerOnObject:TriggerClassAttachment/ReadOnlyMessage' => 'Trigger on object is not allowed on class Attachment. Please use specific trigger~~', ]); diff --git a/datamodels/2.x/itop-attachments/dictionaries/ja.dict.itop-attachments.php b/datamodels/2.x/itop-attachments/dictionaries/ja.dict.itop-attachments.php index 45f88c3d22..f754b1efd0 100644 --- a/datamodels/2.x/itop-attachments/dictionaries/ja.dict.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/dictionaries/ja.dict.itop-attachments.php @@ -83,11 +83,13 @@ Dict::Add('JA JP', 'Japanese', '日本語', [ Dict::Add('JA JP', 'Japanese', '日本語', [ 'Class:TriggerOnAttachmentDownload' => 'Trigger (on object\'s attachment download)~~', 'Class:TriggerOnAttachmentDownload+' => 'Trigger on object\'s attachment download of [a child class of] the given class~~', - 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment create)~~', - 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment create~~', + 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment creation)~~', + 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment creation~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email' => 'Add file in email~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email+' => 'If checked, the file will be automatically attached to the email when an email action is triggered~~', - 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment delete)~~', - 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment delete~~', + 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment deletion)~~', + 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment deletion~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email' => 'Add deleted file in email~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email+' => 'If checked, the deleted file will be automatically attached to the email when an email action is triggered~~', 'Class:TriggerOnObject:TriggerClassAttachment/ReadOnlyMessage' => 'Trigger on object is not allowed on class Attachment. Please use specific trigger~~', ]); diff --git a/datamodels/2.x/itop-attachments/dictionaries/nl.dict.itop-attachments.php b/datamodels/2.x/itop-attachments/dictionaries/nl.dict.itop-attachments.php index 0d00101d32..ceee1cf4ca 100644 --- a/datamodels/2.x/itop-attachments/dictionaries/nl.dict.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/dictionaries/nl.dict.itop-attachments.php @@ -91,5 +91,7 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', [ 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email+' => 'If checked, the file will be automatically attached to the email when an email action is triggered~~', 'Class:TriggerOnAttachmentDelete' => 'Trigger (Bij het verwijderen van een bijlage)', 'Class:TriggerOnAttachmentDelete+' => 'Trigger bij het verwijderen van een bijlage van een object van de opgegeven klasse (of subklasse ervan)', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email' => 'Bestand toevoegen in e-mail', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email+' => 'If checked, the deleted file will be automatically attached to the email when an email action is triggered~~', 'Class:TriggerOnObject:TriggerClassAttachment/ReadOnlyMessage' => 'Trigger on object is not allowed on class Attachment. Please use specific trigger~~', ]); diff --git a/datamodels/2.x/itop-attachments/dictionaries/pl.dict.itop-attachments.php b/datamodels/2.x/itop-attachments/dictionaries/pl.dict.itop-attachments.php index 67a1dc9f85..c948a709fb 100644 --- a/datamodels/2.x/itop-attachments/dictionaries/pl.dict.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/dictionaries/pl.dict.itop-attachments.php @@ -83,11 +83,13 @@ Dict::Add('PL PL', 'Polish', 'Polski', [ Dict::Add('PL PL', 'Polish', 'Polski', [ 'Class:TriggerOnAttachmentDownload' => 'Wyzwalacz (po pobraniu załącznika obiektu)', 'Class:TriggerOnAttachmentDownload+' => 'Wyzwalacz po pobraniu załącznika obiektu [klasy podrzędnej] danej klasy', - 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment create)~~', - 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment create~~', + 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment creation)~~', + 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment creation~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email' => 'Add file in email~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email+' => 'If checked, the file will be automatically attached to the email when an email action is triggered~~', - 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment delete)~~', - 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment delete~~', + 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment deletion)~~', + 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment deletion~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email' => 'Add deleted file in email~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email+' => 'If checked, the deleted file will be automatically attached to the email when an email action is triggered~~', 'Class:TriggerOnObject:TriggerClassAttachment/ReadOnlyMessage' => 'Trigger on object is not allowed on class Attachment. Please use specific trigger~~', ]); diff --git a/datamodels/2.x/itop-attachments/dictionaries/pt_br.dict.itop-attachments.php b/datamodels/2.x/itop-attachments/dictionaries/pt_br.dict.itop-attachments.php index 5afa8f22df..ffcd5278d2 100644 --- a/datamodels/2.x/itop-attachments/dictionaries/pt_br.dict.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/dictionaries/pt_br.dict.itop-attachments.php @@ -83,11 +83,13 @@ Dict::Add('PT BR', 'Brazilian', 'Brazilian', [ Dict::Add('PT BR', 'Brazilian', 'Brazilian', [ 'Class:TriggerOnAttachmentDownload' => 'Trigger (on object\'s attachment download)~~', 'Class:TriggerOnAttachmentDownload+' => 'Trigger on object\'s attachment download of [a child class of] the given class~~', - 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment create)~~', - 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment create~~', + 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment creation)~~', + 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment creation~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email' => 'Add file in email~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email+' => 'If checked, the file will be automatically attached to the email when an email action is triggered~~', - 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment delete)~~', - 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment delete~~', + 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment deletion)~~', + 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment deletion~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email' => 'Add deleted file in email~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email+' => 'If checked, the deleted file will be automatically attached to the email when an email action is triggered~~', 'Class:TriggerOnObject:TriggerClassAttachment/ReadOnlyMessage' => 'Trigger on object is not allowed on class Attachment. Please use specific trigger~~', ]); diff --git a/datamodels/2.x/itop-attachments/dictionaries/ru.dict.itop-attachments.php b/datamodels/2.x/itop-attachments/dictionaries/ru.dict.itop-attachments.php index 6664928482..833434634c 100644 --- a/datamodels/2.x/itop-attachments/dictionaries/ru.dict.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/dictionaries/ru.dict.itop-attachments.php @@ -84,11 +84,13 @@ Dict::Add('RU RU', 'Russian', 'Русский', [ Dict::Add('RU RU', 'Russian', 'Русский', [ 'Class:TriggerOnAttachmentDownload' => 'Trigger (on object\'s attachment download)~~', 'Class:TriggerOnAttachmentDownload+' => 'Trigger on object\'s attachment download of [a child class of] the given class~~', - 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment create)~~', - 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment create~~', + 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment creation)~~', + 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment creation~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email' => 'Add file in email~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email+' => 'If checked, the file will be automatically attached to the email when an email action is triggered~~', - 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment delete)~~', - 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment delete~~', + 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment deletion)~~', + 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment deletion~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email' => 'Add deleted file in email~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email+' => 'If checked, the deleted file will be automatically attached to the email when an email action is triggered~~', 'Class:TriggerOnObject:TriggerClassAttachment/ReadOnlyMessage' => 'Trigger on object is not allowed on class Attachment. Please use specific trigger~~', ]); diff --git a/datamodels/2.x/itop-attachments/dictionaries/sk.dict.itop-attachments.php b/datamodels/2.x/itop-attachments/dictionaries/sk.dict.itop-attachments.php index fafea20133..b6d9c9c75f 100644 --- a/datamodels/2.x/itop-attachments/dictionaries/sk.dict.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/dictionaries/sk.dict.itop-attachments.php @@ -83,11 +83,13 @@ Dict::Add('SK SK', 'Slovak', 'Slovenčina', [ Dict::Add('SK SK', 'Slovak', 'Slovenčina', [ 'Class:TriggerOnAttachmentDownload' => 'Trigger (on object\'s attachment download)~~', 'Class:TriggerOnAttachmentDownload+' => 'Trigger on object\'s attachment download of [a child class of] the given class~~', - 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment create)~~', - 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment create~~', + 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment creation)~~', + 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment creation~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email' => 'Add file in email~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email+' => 'If checked, the file will be automatically attached to the email when an email action is triggered~~', - 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment delete)~~', - 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment delete~~', + 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment deletion)~~', + 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment deletion~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email' => 'Add deleted file in email~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email+' => 'If checked, the deleted file will be automatically attached to the email when an email action is triggered~~', 'Class:TriggerOnObject:TriggerClassAttachment/ReadOnlyMessage' => 'Trigger on object is not allowed on class Attachment. Please use specific trigger~~', ]); diff --git a/datamodels/2.x/itop-attachments/dictionaries/tr.dict.itop-attachments.php b/datamodels/2.x/itop-attachments/dictionaries/tr.dict.itop-attachments.php index 9c361fe06b..e907661eee 100644 --- a/datamodels/2.x/itop-attachments/dictionaries/tr.dict.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/dictionaries/tr.dict.itop-attachments.php @@ -83,11 +83,13 @@ Dict::Add('TR TR', 'Turkish', 'Türkçe', [ Dict::Add('TR TR', 'Turkish', 'Türkçe', [ 'Class:TriggerOnAttachmentDownload' => 'Trigger (on object\'s attachment download)~~', 'Class:TriggerOnAttachmentDownload+' => 'Trigger on object\'s attachment download of [a child class of] the given class~~', - 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment create)~~', - 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment create~~', + 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment creation)~~', + 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment creation~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email' => 'Add file in email~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email+' => 'If checked, the file will be automatically attached to the email when an email action is triggered~~', - 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment delete)~~', - 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment delete~~', + 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment deletion)~~', + 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment deletion~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email' => 'Add deleted file in email~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email+' => 'If checked, the deleted file will be automatically attached to the email when an email action is triggered~~', 'Class:TriggerOnObject:TriggerClassAttachment/ReadOnlyMessage' => 'Trigger on object is not allowed on class Attachment. Please use specific trigger~~', ]); diff --git a/datamodels/2.x/itop-attachments/dictionaries/zh_cn.dict.itop-attachments.php b/datamodels/2.x/itop-attachments/dictionaries/zh_cn.dict.itop-attachments.php index ebf9b4a828..20bb894679 100644 --- a/datamodels/2.x/itop-attachments/dictionaries/zh_cn.dict.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/dictionaries/zh_cn.dict.itop-attachments.php @@ -83,11 +83,13 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', [ Dict::Add('ZH CN', 'Chinese', '简体中文', [ 'Class:TriggerOnAttachmentDownload' => '触发器 (于对象附件下载时)', 'Class:TriggerOnAttachmentDownload+' => '触发器于指定类型 [子类型] 对象附件下载时', - 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment create)~~', - 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment create~~', + 'Class:TriggerOnAttachmentCreate' => 'Trigger (on object\'s attachment creation)~~', + 'Class:TriggerOnAttachmentCreate+' => 'Trigger on object\'s attachment creation~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email' => 'Add file in email~~', 'Class:TriggerOnAttachmentCreate/Attribute:file_in_email+' => 'If checked, the file will be automatically attached to the email when an email action is triggered~~', - 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment delete)~~', - 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment delete~~', + 'Class:TriggerOnAttachmentDelete' => 'Trigger (on object\'s attachment deletion)~~', + 'Class:TriggerOnAttachmentDelete+' => 'Trigger on object\'s attachment deletion~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email' => 'Add deleted file in email~~', + 'Class:TriggerOnAttachmentDelete/Attribute:file_in_email+' => 'If checked, the deleted file will be automatically attached to the email when an email action is triggered~~', 'Class:TriggerOnObject:TriggerClassAttachment/ReadOnlyMessage' => 'Trigger on object is not allowed on class Attachment. Please use specific trigger~~', ]); diff --git a/datamodels/2.x/itop-attachments/src/Trigger/TriggerOnAttachmentDelete.php b/datamodels/2.x/itop-attachments/src/Trigger/TriggerOnAttachmentDelete.php index a9c8ac7c6f..34d66a692f 100644 --- a/datamodels/2.x/itop-attachments/src/Trigger/TriggerOnAttachmentDelete.php +++ b/datamodels/2.x/itop-attachments/src/Trigger/TriggerOnAttachmentDelete.php @@ -34,9 +34,11 @@ class TriggerOnAttachmentDelete extends TriggerOnObject ]; MetaModel::Init_Params($aParams); MetaModel::Init_InheritAttributes(); + MetaModel::Init_AddAttribute(new AttributeBoolean("file_in_email", ["sql" => 'file_in_email', "is_null_allowed" => false, "default_value" => 'true', "allowed_values" => null, "depends_on" => [], "always_load_in_tables" => false])); + // Display lists - MetaModel::Init_SetZListItems('details', ['description', 'context', 'filter', 'action_list', 'target_class']); // Attributes to be displayed for the complete details + MetaModel::Init_SetZListItems('details', ['description', 'context', 'filter', 'action_list', 'target_class','file_in_email']); // Attributes to be displayed for the complete details MetaModel::Init_SetZListItems('list', ['finalclass', 'target_class']); // Attributes to be displayed for a list // Search criteria MetaModel::Init_SetZListItems('standard_search', ['description', 'target_class']); // Criteria of the std search form