- LSrelation : Problème de traduction de l'emptyText.

This commit is contained in:
Benjamin Renard 2009-04-14 14:43:17 +00:00
parent 8e5a5cb6f0
commit 6e8cc96864

View file

@ -61,7 +61,7 @@ class LSrelation {
);
if (isset($relationConf['emptyText'])) {
$return['emptyText'] = $relationConf['emptyText'];
$return['emptyText'] = __($relationConf['emptyText']);
}
else {
$return['emptyText'] = _('No object.');
@ -192,7 +192,7 @@ class LSrelation {
}
else {
if (isset($relationConf['emptyText'])) {
$data['html'] = "<li>".$relationConf['emptyText']."</li>\n";
$data['html'] = "<li>".__($relationConf['emptyText'])."</li>\n";
}
else {
$data['html'] = "<li>"._('No object.')."</li>\n";