N°3735 Add missing translation for older methods

This commit is contained in:
vdumas
2021-11-04 17:10:17 +01:00
parent 05830de4e7
commit a1a38ca224
4 changed files with 62 additions and 55 deletions

View File

@@ -195,7 +195,7 @@
<banner>/images/icons/icons8-important-book.svg</banner>
<options type="array">
<choice>
<extension_code>itop-kown-error-mgmt</extension_code>
<extension_code>itop-known-error-mgmt</extension_code>
<title>Known Errors Management and FAQ</title>
<description>Select this option to track "Known Errors" and FAQs in iTop.</description>
<modules type="array">

View File

@@ -159,46 +159,50 @@ Dict::Add('EN US', 'English', 'English', array(
'Ticket:baseinfo' => 'General Information',
'Ticket:date' => 'Dates',
'Ticket:contact' => 'Contacts',
'Ticket:moreinfo' => 'More Information',
'Ticket:relation' => 'Relations',
'Ticket:log' => 'Communications',
'Ticket:Type' => 'Qualification',
'Ticket:support' => 'Support',
'Ticket:resolution' => 'Resolution',
'Ticket:SLA' => 'SLA report',
'WorkOrder:Details' => 'Details',
'WorkOrder:Moreinfo' => 'More information',
'Tickets:ResolvedFrom' => 'Automatically resolved from %1$s',
'Class:cmdbAbstractObject/Method:Set' => 'Set',
'Class:cmdbAbstractObject/Method:Set+' => 'Set a field with a static value',
'Class:cmdbAbstractObject/Method:Set/Param:1' => 'Target Field',
'Class:cmdbAbstractObject/Method:Set/Param:1+' => 'The field to set, in the current object',
'Class:cmdbAbstractObject/Method:Set/Param:2' => 'Value',
'Class:cmdbAbstractObject/Method:Set/Param:2+' => 'The value to set',
'Class:cmdbAbstractObject/Method:SetCurrentDate' => 'SetCurrentDate',
'Class:cmdbAbstractObject/Method:SetCurrentDate+' => 'Set a field with the current date and time',
'Class:cmdbAbstractObject/Method:SetCurrentDate/Param:1' => 'Target Field',
'Class:cmdbAbstractObject/Method:SetCurrentDate/Param:1+' => 'The field to set, in the current object',
'Class:cmdbAbstractObject/Method:SetCurrentUser' => 'SetCurrentUser',
'Class:cmdbAbstractObject/Method:SetCurrentUser+' => 'Set a field with the currently logged in user',
'Class:cmdbAbstractObject/Method:SetCurrentUser/Param:1' => 'Target Field',
'Class:cmdbAbstractObject/Method:SetCurrentUser/Param:1+' => 'The field to set, in the current object. If the field is a string then the friendly name will be used, otherwise the identifier will be used. That friendly name is the name of the person if any is attached to the user, otherwise it is the login.',
'Class:cmdbAbstractObject/Method:SetCurrentPerson' => 'SetCurrentPerson',
'Class:cmdbAbstractObject/Method:SetCurrentPerson+' => 'Set a field with the currently logged in person (the "person" attached to the logged in "user").',
'Class:cmdbAbstractObject/Method:SetCurrentPerson/Param:1' => 'Target Field',
'Class:cmdbAbstractObject/Method:SetCurrentPerson/Param:1+' => 'The field to set, in the current object. If the field is a string then the friendly name will be used, otherwise the identifier will be used.',
'Class:cmdbAbstractObject/Method:SetElapsedTime' => 'SetElapsedTime',
'Class:cmdbAbstractObject/Method:SetElapsedTime+' => 'Set a field with the time (seconds) elapsed since a date given by another field',
'Class:cmdbAbstractObject/Method:SetElapsedTime/Param:1' => 'Target Field',
'Class:cmdbAbstractObject/Method:SetElapsedTime/Param:1+' => 'The field to set, in the current object',
'Class:cmdbAbstractObject/Method:SetElapsedTime/Param:2' => 'Reference Field',
'Class:cmdbAbstractObject/Method:SetElapsedTime/Param:2+' => 'The field from which to get the reference date',
'Class:cmdbAbstractObject/Method:SetElapsedTime/Param:3' => 'Working Hours',
'Class:cmdbAbstractObject/Method:SetElapsedTime/Param:3+' => 'Leave empty to rely on the standard working hours scheme, or set to "DefaultWorkingTimeComputer" to force a 24x7 scheme',
'Class:cmdbAbstractObject/Method:SetIfNull' => 'SetIfNull',
'Class:cmdbAbstractObject/Method:SetIfNull+' => 'Set a field only if it is empty, with a static value',
'Class:cmdbAbstractObject/Method:SetIfNull/Param:1' => 'Target Field',
'Class:cmdbAbstractObject/Method:SetIfNull/Param:1+' => 'The field to set, in the current object',
'Ticket:moreinfo' => 'More Information',
'Ticket:relation' => 'Relations',
'Ticket:log' => 'Communications',
'Ticket:Type' => 'Qualification',
'Ticket:support' => 'Support',
'Ticket:resolution' => 'Resolution',
'Ticket:SLA' => 'SLA report',
'WorkOrder:Details' => 'Details',
'WorkOrder:Moreinfo' => 'More information',
'Tickets:ResolvedFrom' => 'Automatically resolved from %1$s',
'Class:cmdbAbstractObject/Method:Set' => 'Set',
'Class:cmdbAbstractObject/Method:Set+' => 'Set a field with a static value',
'Class:cmdbAbstractObject/Method:Set/Param:1' => 'Target Field',
'Class:cmdbAbstractObject/Method:Set/Param:1+' => 'The field to set, in the current object',
'Class:cmdbAbstractObject/Method:Set/Param:2' => 'Value',
'Class:cmdbAbstractObject/Method:Set/Param:2+' => 'The value to set',
'Class:cmdbAbstractObject/Method:SetCurrentDate' => 'SetCurrentDate',
'Class:cmdbAbstractObject/Method:SetCurrentDate+' => 'Set a field with the current date and time',
'Class:cmdbAbstractObject/Method:SetCurrentDate/Param:1' => 'Target Field',
'Class:cmdbAbstractObject/Method:SetCurrentDate/Param:1+' => 'The field to set, in the current object',
'Class:cmdbAbstractObject/Method:SetCurrentDateIfNull' => 'SetCurrentDateIfNull',
'Class:cmdbAbstractObject/Method:SetCurrentDateIfNull+' => 'Set an empty field with the current date and time',
'Class:cmdbAbstractObject/Method:SetCurrentDateIfNull/Param:1' => 'Target Field',
'Class:cmdbAbstractObject/Method:SetCurrentDateIfNull/Param:1+' => 'The field to set, in the current object',
'Class:cmdbAbstractObject/Method:SetCurrentUser' => 'SetCurrentUser',
'Class:cmdbAbstractObject/Method:SetCurrentUser+' => 'Set a field with the currently logged in user',
'Class:cmdbAbstractObject/Method:SetCurrentUser/Param:1' => 'Target Field',
'Class:cmdbAbstractObject/Method:SetCurrentUser/Param:1+' => 'The field to set, in the current object. If the field is a string then the friendly name will be used, otherwise the identifier will be used. That friendly name is the name of the person if any is attached to the user, otherwise it is the login.',
'Class:cmdbAbstractObject/Method:SetCurrentPerson' => 'SetCurrentPerson',
'Class:cmdbAbstractObject/Method:SetCurrentPerson+' => 'Set a field with the currently logged in person (the "person" attached to the logged in "user").',
'Class:cmdbAbstractObject/Method:SetCurrentPerson/Param:1' => 'Target Field',
'Class:cmdbAbstractObject/Method:SetCurrentPerson/Param:1+' => 'The field to set, in the current object. If the field is a string then the friendly name will be used, otherwise the identifier will be used.',
'Class:cmdbAbstractObject/Method:SetElapsedTime' => 'SetElapsedTime',
'Class:cmdbAbstractObject/Method:SetElapsedTime+' => 'Set a field with the time (seconds) elapsed since a date given by another field',
'Class:cmdbAbstractObject/Method:SetElapsedTime/Param:1' => 'Target Field',
'Class:cmdbAbstractObject/Method:SetElapsedTime/Param:1+' => 'The field to set, in the current object',
'Class:cmdbAbstractObject/Method:SetElapsedTime/Param:2' => 'Reference Field',
'Class:cmdbAbstractObject/Method:SetElapsedTime/Param:2+' => 'The field from which to get the reference date',
'Class:cmdbAbstractObject/Method:SetElapsedTime/Param:3' => 'Working Hours',
'Class:cmdbAbstractObject/Method:SetElapsedTime/Param:3+' => 'Leave empty to rely on the standard working hours scheme, or set to "DefaultWorkingTimeComputer" to force a 24x7 scheme',
'Class:cmdbAbstractObject/Method:SetIfNull' => 'SetIfNull',
'Class:cmdbAbstractObject/Method:SetIfNull+' => 'Set a field only if it is empty, with a static value',
'Class:cmdbAbstractObject/Method:SetIfNull/Param:1' => 'Target Field',
'Class:cmdbAbstractObject/Method:SetIfNull/Param:1+' => 'The field to set, in the current object',
'Class:cmdbAbstractObject/Method:SetIfNull/Param:2' => 'Value',
'Class:cmdbAbstractObject/Method:SetIfNull/Param:2+' => 'The value to set',
'Class:cmdbAbstractObject/Method:AddValue' => 'AddValue',

View File

@@ -162,9 +162,13 @@ Dict::Add('FR FR', 'French', 'Français', array(
'Class:cmdbAbstractObject/Method:Set/Param:2' => 'Valeur',
'Class:cmdbAbstractObject/Method:Set/Param:2+' => 'La valeur statique',
'Class:cmdbAbstractObject/Method:SetCurrentDate' => 'SetCurrentDate (reinitialiser à la date courante)',
'Class:cmdbAbstractObject/Method:SetCurrentDate+' => 'Initialiser un champ avec la date et l\'heure courants',
'Class:cmdbAbstractObject/Method:SetCurrentDate+' => 'Initialiser un champ avec la date et l\'heure courantes',
'Class:cmdbAbstractObject/Method:SetCurrentDate/Param:1' => 'Champ Cible',
'Class:cmdbAbstractObject/Method:SetCurrentDate/Param:1+' => 'Le champ à initialiser, dans l\'objet courant',
'Class:cmdbAbstractObject/Method:SetCurrentDateIfNull' => 'SetCurrentDateIfNull (initialiser à la date courante)',
'Class:cmdbAbstractObject/Method:SetCurrentDateIfNull+' => 'Initialiser un champ seulement s\'il est vide, avec la date et l\'heure courantes',
'Class:cmdbAbstractObject/Method:SetCurrentDateIfNull/Param:1' => 'Champ Cible',
'Class:cmdbAbstractObject/Method:SetCurrentDateIfNull/Param:1+' => 'Le champ à initialiser, dans l\'objet courant',
'Class:cmdbAbstractObject/Method:SetCurrentUser' => 'SetCurrentUser (reinitialiser à l\'utilisateur courant)',
'Class:cmdbAbstractObject/Method:SetCurrentUser+' => 'Initialiser un champ avec l\'utilisateur qui est en train d\'effectuer une action sur l\'objet',
'Class:cmdbAbstractObject/Method:SetCurrentUser/Param:1' => 'Champ Cible',

View File

@@ -25,17 +25,17 @@
* @license http://opensource.org/licenses/AGPL-3.0
*/
class ModuleInstallation extends cmdbAbstractObject
class ModuleInstallation extends DBObject
{
public static function Init()
{
$aParams = array
(
"category" => "core,view_in_gui",
"key_type" => "autoincrement",
'name_attcode' => array('name', 'version'),
"state_attcode" => "",
"reconc_keys" => array(),
"category" => "core,view_in_gui",
"key_type" => "autoincrement",
'name_attcode' => array('name', 'version'),
"state_attcode" => "",
"reconc_keys" => array(),
"db_table" => "priv_module_install",
"db_key_field" => "id",
"db_finalclass_field" => "",
@@ -66,18 +66,17 @@ class ModuleInstallation extends cmdbAbstractObject
* @copyright Copyright (C) 2021 Combodo SARL
* @license http://opensource.org/licenses/AGPL-3.0
*/
class ExtensionInstallation extends cmdbAbstractObject
class ExtensionInstallation extends DBObject
{
public static function Init()
{
$aParams = array
(
"category" => "core,view_in_gui",
"key_type" => "autoincrement",
"name_attcode" => "",
"state_attcode" => "",
"reconc_keys" => array(),
"category" => "core,view_in_gui",
"key_type" => "autoincrement",
"name_attcode" => "",
"state_attcode" => "",
"reconc_keys" => array(),
"db_table" => "priv_extension_install",
"db_key_field" => "id",
"db_finalclass_field" => "",