From 3c5520f4186629f425804c3b461454f6fefed235 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Thu, 25 Apr 2013 01:17:45 +0200 Subject: [PATCH] Fix: missing translation --- htdocs/compta/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index 5889d50e069..e892ec204cd 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -150,6 +150,7 @@ if (! empty($conf->fournisseur->enabled) && $user->rights->fournisseur->lire) */ if (! empty($conf->don->enabled) && $user->rights->don->lire) { + $langs->load("donations"); print '<form method="post" action="'.DOL_URL_ROOT.'/compta/dons/liste.php">'; print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; print '<table class="noborder nohover" width="100%">'; @@ -167,6 +168,7 @@ if (! empty($conf->don->enabled) && $user->rights->don->lire) */ if (! empty($conf->deplacement->enabled) && $user->rights->deplacement->lire) { + $langs->load("trips"); print '<form method="post" action="'.DOL_URL_ROOT.'/compta/deplacement/list.php">'; print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; print '<table class="noborder nohover" width="100%">'; -- GitLab