mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 03:28:45 +02:00
N°4756 - Ease extensibility for CRUD operations : 🌐 dictionaries
This commit is contained in:
@@ -826,6 +826,11 @@ We hope you’ll enjoy this version as much as we enjoyed imagining and creating
|
|||||||
'UI:Schema:Events:NoEvent' => 'No event defined',
|
'UI:Schema:Events:NoEvent' => 'No event defined',
|
||||||
'UI:Schema:Events:Listeners' => 'Event listeners',
|
'UI:Schema:Events:Listeners' => 'Event listeners',
|
||||||
'UI:Schema:Events:NoListener' => 'No event listener',
|
'UI:Schema:Events:NoListener' => 'No event listener',
|
||||||
|
'UI:Schema:Events:Event' => 'Event',
|
||||||
|
'UI:Schema:Events:Description' => 'Description',
|
||||||
|
'UI:Schema:Events:Listener' => 'Listener',
|
||||||
|
'UI:Schema:Events:Rank' => 'Rank',
|
||||||
|
'UI:Schema:Events:Module' => 'Module',
|
||||||
'UI:LinksWidget:Autocomplete+' => 'Type the first 3 characters...',
|
'UI:LinksWidget:Autocomplete+' => 'Type the first 3 characters...',
|
||||||
'UI:Edit:SearchQuery' => 'Select a predefined query',
|
'UI:Edit:SearchQuery' => 'Select a predefined query',
|
||||||
'UI:Edit:TestQuery' => 'Test query',
|
'UI:Edit:TestQuery' => 'Test query',
|
||||||
|
|||||||
@@ -802,6 +802,16 @@ Nous espérons que vous aimerez cette version autant que nous avons eu du plaisi
|
|||||||
'UI:Schema:DisplaySelector/Code' => 'Code',
|
'UI:Schema:DisplaySelector/Code' => 'Code',
|
||||||
'UI:Schema:Attribute/Filter' => 'Filtre',
|
'UI:Schema:Attribute/Filter' => 'Filtre',
|
||||||
'UI:Schema:DefaultNullValue' => 'Valeur null par défaut : "%1$s"',
|
'UI:Schema:DefaultNullValue' => 'Valeur null par défaut : "%1$s"',
|
||||||
|
'UI:Schema:Events' => 'Événements',
|
||||||
|
'UI:Schema:Events:Defined' => 'Événements',
|
||||||
|
'UI:Schema:Events:NoEvent' => 'Aucun événement défini',
|
||||||
|
'UI:Schema:Events:Listeners' => 'Récepteurs d\'événements',
|
||||||
|
'UI:Schema:Events:NoListener' => 'Aucun récepteur d\'événements',
|
||||||
|
'UI:Schema:Events:Event' => 'Événement',
|
||||||
|
'UI:Schema:Events:Description' => 'Description',
|
||||||
|
'UI:Schema:Events:Listener' => 'Récepteur',
|
||||||
|
'UI:Schema:Events:Rank' => 'Rang',
|
||||||
|
'UI:Schema:Events:Module' => 'Module',
|
||||||
'UI:LinksWidget:Autocomplete+' => 'Tapez les 3 premiers caractères...',
|
'UI:LinksWidget:Autocomplete+' => 'Tapez les 3 premiers caractères...',
|
||||||
'UI:Edit:SearchQuery' => 'Sélectionner une requête prédéfinie',
|
'UI:Edit:SearchQuery' => 'Sélectionner une requête prédéfinie',
|
||||||
'UI:Edit:TestQuery' => 'Tester la requête',
|
'UI:Edit:TestQuery' => 'Tester la requête',
|
||||||
|
|||||||
@@ -269,8 +269,8 @@ function DisplayEvents(WebPage $oPage, $sClass)
|
|||||||
{
|
{
|
||||||
$aEvents = EventService::GetEventsByClass($sClass);
|
$aEvents = EventService::GetEventsByClass($sClass);
|
||||||
$aColumns = [
|
$aColumns = [
|
||||||
'event' => ['label' => 'Event'],
|
'event' => ['label' => Dict::S('UI:Schema:Events:Event')],
|
||||||
'description' => ['label' => 'Description'],
|
'description' => ['label' => Dict::S('UI:Schema:Events:Description')],
|
||||||
];
|
];
|
||||||
$aRows = [];
|
$aRows = [];
|
||||||
foreach ($aEvents as $sEvent => $aEventInfo) {
|
foreach ($aEvents as $sEvent => $aEventInfo) {
|
||||||
@@ -318,10 +318,10 @@ function DisplayEvents(WebPage $oPage, $sClass)
|
|||||||
return ($a['event'] > $b['event']) ? 1 : -1;
|
return ($a['event'] > $b['event']) ? 1 : -1;
|
||||||
});
|
});
|
||||||
$aColumns = [
|
$aColumns = [
|
||||||
'event' => ['label' => 'Event'],
|
'event' => ['label' => Dict::S('UI:Schema:Events:Event')],
|
||||||
'listener' => ['label' => 'Listener'],
|
'listener' => ['label' => Dict::S('UI:Schema:Events:Listener')],
|
||||||
'priority' => ['label' => 'Rank'],
|
'priority' => ['label' => Dict::S('UI:Schema:Events:Rank')],
|
||||||
'module' => ['label' => 'Module'],
|
'module' => ['label' => Dict::S('UI:Schema:Events:Module')],
|
||||||
];
|
];
|
||||||
$aRows = [];
|
$aRows = [];
|
||||||
$oReflectionClass = new ReflectionClass($sClass);
|
$oReflectionClass = new ReflectionClass($sClass);
|
||||||
|
|||||||
Reference in New Issue
Block a user