mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
- LSrelation : Problème de traduction de l'emptyText.
This commit is contained in:
parent
8e5a5cb6f0
commit
6e8cc96864
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ class LSrelation {
|
||||||
);
|
);
|
||||||
|
|
||||||
if (isset($relationConf['emptyText'])) {
|
if (isset($relationConf['emptyText'])) {
|
||||||
$return['emptyText'] = $relationConf['emptyText'];
|
$return['emptyText'] = __($relationConf['emptyText']);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$return['emptyText'] = _('No object.');
|
$return['emptyText'] = _('No object.');
|
||||||
|
@ -192,7 +192,7 @@ class LSrelation {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (isset($relationConf['emptyText'])) {
|
if (isset($relationConf['emptyText'])) {
|
||||||
$data['html'] = "<li>".$relationConf['emptyText']."</li>\n";
|
$data['html'] = "<li>".__($relationConf['emptyText'])."</li>\n";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$data['html'] = "<li>"._('No object.')."</li>\n";
|
$data['html'] = "<li>"._('No object.')."</li>\n";
|
||||||
|
|
Loading…
Reference in a new issue