Added missing translations, improved es_ES translations and translated untranslated text in modules admin page

This commit is contained in:
Marcos García 2013-01-05 19:23:16 +01:00
parent d44b086527
commit ad5d2c3459
7 changed files with 33 additions and 31 deletions

View File

@ -98,7 +98,7 @@ llxHeader('','','','',0,0,'','',$morequerystring);
$fsearch.='<br>';
$fsearch.=' <input type="hidden" name="year" value="'.$year.'">';
$fsearch.=' <input type="hidden" name="modetax" value="'.$modetax.'">';
$fsearch.=' '.$langs->trans("SalesTurnover").' '.$langs->trans("Minimum").': ';
$fsearch.=' '.$langs->trans("SalesTurnoverMinimum").': ';
$fsearch.=' <input type="text" name="min" id="min" value="'.$min.'" size="6">';
// Affiche en-tete du rapport

View File

@ -103,7 +103,7 @@ llxHeader('','','','',0,0,'','',$morequerystring);
$fsearch.='<br>';
$fsearch.=' <input type="hidden" name="year" value="'.$year.'">';
$fsearch.=' <input type="hidden" name="modetax" value="'.$modetax.'">';
$fsearch.=' '.$langs->trans("SalesTurnover").' '.$langs->trans("Minimum").': ';
$fsearch.=' '.$langs->trans("SalesTurnoverMinimum").': ';
$fsearch.=' <input type="text" name="min" id="min" value="'.$min.'" size="6">';
// Affiche en-tete du rapport

View File

@ -118,7 +118,7 @@ $paymentfourn_static=new PaiementFourn($db);
//$fsearch.='<br>';
$fsearch.=' <input type="hidden" name="year" value="'.$year.'">';
$fsearch.=' <input type="hidden" name="modetax" value="'.$modetax.'">';
//$fsearch.=' '.$langs->trans("SalesTurnover").' '.$langs->trans("Minimum").': ';
//$fsearch.=' '.$langs->trans("SalesTurnoverMinimum").': ';
//$fsearch.=' <input type="text" name="min" value="'.$min.'">';
// Affiche en-tete du rapport

View File

@ -1134,33 +1134,33 @@ function form_constantes($tableau)
}
/**
* Show array with constants to edit
*
* @param array $modules Array of all modules
* @return string HTML string with warning
*/
function showModulesExludedForExternal($modules)
{
/**
* Show array with constants to edit
*
* @param array $modules Array of all modules
* @return string HTML string with warning
*/
function showModulesExludedForExternal($modules)
{
global $conf,$langs;
$text=$langs->trans("OnlyFollowingModulesAreOpenedToExternalUsers");
$listofmodules=explode(',',$conf->global->MAIN_MODULES_FOR_EXTERNAL);
$i=0;
foreach($modules as $module)
{
$moduleconst=$module->const_name;
$modulename=strtolower($module->name);
//print 'modulename='.$modulename;
//if (empty($conf->global->$moduleconst)) continue;
if (! in_array($modulename,$listofmodules)) continue;
if ($i > 0) $text.=', ';
else $text.=' ';
$i++;
$text.=$langs->trans($module->name);
}
$text=$langs->trans("OnlyFollowingModulesAreOpenedToExternalUsers");
$listofmodules=explode(',',$conf->global->MAIN_MODULES_FOR_EXTERNAL);
$i=0;
foreach($modules as $module)
{
$moduleconst=$module->const_name;
$modulename=strtolower($module->name);
//print 'modulename='.$modulename;
//if (empty($conf->global->$moduleconst)) continue;
if (! in_array($modulename,$listofmodules)) continue;
if ($i > 0) $text.=', ';
else $text.=' ';
$i++;
$text .= $langs->trans('Module'.$module->numero.'Name');
}
return img_picto($langs->trans('InfoAdmin'), 'star').' '.$text;
}

View File

@ -84,7 +84,8 @@ AccountNumberShort=Account number
AccountNumber=Account number
NewAccount=New account
SalesTurnover=Sales turnover
ByThirdParties=Bu third parties
SalesTurnoverMinimum=Minimum sales turnover
ByThirdParties=By third parties
ByUserAuthorOfInvoice=By invoice author
AccountancyExport=Accountancy export
ErrorWrongAccountancyCodeForCompany=Bad customer accountancy code for %s

View File

@ -153,9 +153,9 @@ ProfId4DE=-
ProfId5DE=-
ProfId6DE=-
ProfId1ES=CIF/NIF
ProfId2ES=Núm seguridad social
ProfId2ES=Núm. seguridad social
ProfId3ES=CNAE
ProfId4ES=Núm colegiado
ProfId4ES=Núm. colegiado
ProfId5ES=-
ProfId6ES=-
ProfId1FR=SIREN

View File

@ -85,6 +85,7 @@ AccountNumberShort=Nº de cuenta
AccountNumber=Número de cuenta
NewAccount=Nueva cuenta
SalesTurnover=Volumen de ventas
SalesTurnoverMinimum=Volumen de ventas mínimo
ByThirdParties=Por tercero
ByUserAuthorOfInvoice=Por autor de la factura
AccountancyExport=Exportación contabilidad