N°3907 - Polishing: Run query - Add dictionary entry

This commit is contained in:
acognet
2021-08-04 10:44:03 +02:00
parent 9d0e2fa64a
commit 27c3ce0389
4 changed files with 20 additions and 18 deletions

View File

@@ -19,13 +19,14 @@
// Display DataTable
Dict::Add('EN US', 'English', 'English', array(
'UI:Datatables:Language:Processing' => 'Please wait...',
'UI:Datatables:Language:LengthMenu' => '_MENU_ per page',
'UI:Datatables:Language:ZeroRecords' => 'No result',
'UI:Datatables:Language:Info' => '_TOTAL_ item(s)',
'UI:Datatables:Language:InfoEmpty' => 'No information',
'UI:Datatables:Language:EmptyTable' => 'No data available in this table',
'UI:Datatables:Language:Processing' => 'Please wait...',
'UI:Datatables:Language:LengthMenu' => '_MENU_ per page',
'UI:Datatables:Language:ZeroRecords' => 'No result',
'UI:Datatables:Language:Info' => '_TOTAL_ item(s)',
'UI:Datatables:Language:InfoEmpty' => 'No information',
'UI:Datatables:Language:EmptyTable' => 'No data available in this table',
'UI::Datatables:Language:Error' => 'An error occured while running the query',
'UI:Datatables:Language:DisplayLength:All' => 'All',
'UI:Datatables:Language:Sort:Ascending' => 'enable for an ascending sort',
'UI:Datatables:Language:Sort:Descending' => 'enable for a descending sort',
'UI:Datatables:Language:Sort:Ascending' => 'enable for an ascending sort',
'UI:Datatables:Language:Sort:Descending' => 'enable for a descending sort',
));

View File

@@ -18,13 +18,14 @@
*/
// Display DataTable
Dict::Add('FR FR', 'French', 'Français', array(
'UI:Datatables:Language:Processing' => 'Patientez ...',
'UI:Datatables:Language:LengthMenu' => '_MENU_ par page',
'UI:Datatables:Language:ZeroRecords' => 'Pas de résultat',
'UI:Datatables:Language:Info' => '_TOTAL_ élément(s)',
'UI:Datatables:Language:InfoEmpty' => 'Pas d\'information',
'UI:Datatables:Language:EmptyTable' => 'Pas de résultat',
'UI:Datatables:Language:Processing' => 'Patientez ...',
'UI:Datatables:Language:LengthMenu' => '_MENU_ par page',
'UI:Datatables:Language:ZeroRecords' => 'Pas de résultat',
'UI:Datatables:Language:Info' => '_TOTAL_ élément(s)',
'UI:Datatables:Language:InfoEmpty' => 'Pas d\'information',
'UI:Datatables:Language:EmptyTable' => 'Pas de résultat',
'UI::Datatables:Language:Error' => 'Erreur lors du chargement des données',
'UI:Datatables:Language:DisplayLength:All' => 'Tous',
'UI:Datatables:Language:Sort:Ascending' => 'tri croissant',
'UI:Datatables:Language:Sort:Descending' => 'tri décroissant',
'UI:Datatables:Language:Sort:Ascending' => 'tri croissant',
'UI:Datatables:Language:Sort:Descending' => 'tri décroissant',
));

View File

@@ -415,7 +415,7 @@ class AjaxRenderController
}
}
}
if (isset($aObject)) {
if (isset($aObj)) {
if ($sIdName != "") {
if (isset($aObj[$sIdName])) {
$aObj["id"] = $aObj[$sIdName];

View File

@@ -28,7 +28,7 @@ var oTable{{ sListIDForVarSuffix }} = $('#{{ oUIBlock.GetId() }}').DataTable({
infoEmpty: "{{ 'UI:Datatables:Language:InfoEmpty'|dict_s }}",
infoFiltered: "({{ 'UI:Datatables:Language:InfoFiltered'|dict_s }})",
emptyTable: "{{ 'UI:Datatables:Language:EmptyTable'|dict_s }}",
errorMessage: "{{ 'UI:RunQuery:Error'|dict_s }}",
errorMessage: "{{ 'UI::Datatables:Language:Error'|dict_s }}",
buttonOk: "{{ 'UI:Button:Ok'|dict_s }}",
paginate: {
first: "<i class=\"fas fa-angle-double-left\"></i>",