Trad: Toutes les occurences de Rechercher et Chercher ont t pass en $langs->trans("Search")

This commit is contained in:
Laurent Destailleur 2004-07-25 18:06:32 +00:00
parent 30e686508a
commit 8d32da6b03
9 changed files with 12 additions and 10 deletions

View File

@ -134,7 +134,7 @@ print '<td>';
print 'Nom/Prénom <input type="text" name="search" class="flat" size="20">';
print '&nbsp; <input class="flat" type="submit" value="Chercher">';
print '&nbsp; <input class="flat" type="submit" value="'.$langs->trans("Search").'">';
print '</td></tr>';
print "</table></form>";

View File

@ -90,7 +90,7 @@ if ($conf->propal->enabled) {
print '<table class="noborder" cellspacing="0" cellpadding="3" width="100%">';
print '<tr class="liste_titre"><td colspan="2">Rechercher une proposition</td></tr>';
print "<tr $bc[1]><td>";
print 'Num. : <input type="text" name="sf_ref">&nbsp;<input type="submit" value="Rechercher" class="flat"></td></tr>';
print 'Num. : <input type="text" name="sf_ref">&nbsp;<input type="submit" value="'.$langs->trans("Search").'" class="flat"></td></tr>';
print "</table></form><br>\n";
$sql = "SELECT p.rowid, p.ref";

View File

@ -60,7 +60,7 @@ if ($conf->propal->enabled)
print '<table border="0" cellspacing="0" cellpadding="3" width="100%">';
print '<tr class="liste_titre"><td colspan="2">Rechercher une proposition</td></tr>';
print "<tr $bc[1]><td>";
print 'Num. : <input type="text" name="sf_ref"><input type="submit" value="Rechercher" class="flat"></td></tr>';
print 'Num. : <input type="text" name="sf_ref"><input type="submit" value="'.$langs->trans("Search").'" class="flat"></td></tr>';
print "</table></form><br>\n";
}

View File

@ -37,7 +37,7 @@ print '<form method="post" action="liste.php">';
print '<table class="noborder" cellspacing="0" cellpadding="3" width="100%">';
print '<tr class="liste_titre"><td colspan="2">Rechercher une commande</td></tr>';
print "<tr $bc[1]><td>";
print 'Num. : <input type="text" name="sf_ref"><input type="submit" value="Rechercher" class="flat"></td></tr>';
print 'Num. : <input type="text" name="sf_ref"><input type="submit" value="'.$langs->trans("Search").'" class="flat"></td></tr>';
print "</table></form>\n";

View File

@ -192,7 +192,7 @@ if ($account > 0)
print '<td colspan="3"><input type="text" name="req_desc" value="'.$_POST["req_desc"].'" size="40"></TD>';
print '<td align="right"><input type="text" name="req_debit" value="'.$_POST["req_debit"].'" size="6"></TD>';
print '<td align="right"><input type="text" name="req_credit" value="'.$_POST["req_credit"].'" size="6"></TD>';
print '<td align="center"><input type="submit" value="Chercher"></td>';
print '<td align="center"><input type="submit" value="'.$langs->trans("Search").'"></td>';
print '<td align="center">';
if ($user->rights->banque->modifier)
{

View File

@ -74,7 +74,7 @@ print "</tr>\n";
</select>
</td>
<td align="left">
<input type="submit" name="submit" value="Chercher">
<input type="submit" name="submit" value="<?php echo $langs->trans("Search") ?>">
</td>
</tr>
<?PHP

View File

@ -74,7 +74,7 @@ print '<table class="noborder" cellspacing="0" cellpadding="3" width="100%">';
print "<tr class=\"liste_titre\">";
print '<td colspan="2">Rechercher une facture</td></tr>';
print "<tr $bc[0]><td>";
print 'Num. : <input type="text" name="sf_ref">&nbsp;<input type="submit" value="Rechercher" class="flat"></td></tr>';
print 'Num. : <input type="text" name="sf_ref">&nbsp;<input type="submit" value="'.$langs->trans("Search").'" class="flat"></td></tr>';
print "</table></form>";

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -74,7 +75,7 @@ for ($month = 1 ; $month < 13 ; $month++)
{
if ($month == $cmonth)
{
print "<option value=\"$month\" SELECTED>" . $strmonth[$month];
print "<option value=\"$month\" selected>" . $strmonth[$month];
}
else
{
@ -89,7 +90,7 @@ for ($formyear = $syear - 2; $formyear < $syear +1 ; $formyear++)
{
if ($formyear == $syear)
{
print "<option value=\"$formyear\" SELECTED>$formyear";
print "<option value=\"$formyear\" selected>$formyear";
}
else
{

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -34,7 +35,7 @@ print '<form method="post" action="liste.php">';
print '<table class="noborder" cellspacing="0" cellpadding="3" width="100%">';
print '<tr class="liste_titre"><td colspan="2">Rechercher une expédition</td></tr>';
print "<tr $bc[1]><td>";
print 'Num. : <input type="text" name="sf_ref"><input type="submit" value="Rechercher" class="flat"></td></tr>';
print 'Num. : <input type="text" name="sf_ref"><input type="submit" value="'.$langs->trans("Search").'" class="flat"></td></tr>';
print "</table></form>\n";
/*