Trad: fristname and lastname improved treatment for US and ES

This commit is contained in:
Juanjo Menent 2010-12-30 23:42:33 +00:00
parent ee784452f0
commit e822ff2c29
3 changed files with 5 additions and 5 deletions

View File

@ -240,7 +240,7 @@ if (isset($_GET["action"]) && $_GET["action"] == 'edit') // Edit
// Firstname/Name
$var=!$var;
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("FirstnameNamePosition").'</td><td>';
$array=array(0=>$langs->trans("Firstname").' '.$langs->trans("Name"),1=>$langs->trans("Name").' '.$langs->trans("Firstname"));
$array=array(0=>$langs->trans("Firstname").' '.$langs->trans("Lastname"),1=>$langs->trans("Lastname").' '.$langs->trans("Firstname"));
print $html->selectarray('MAIN_FIRSTNAME_NAME_POSITION',$array,(isset($conf->global->MAIN_FIRSTNAME_NAME_POSITION)?$conf->global->MAIN_FIRSTNAME_NAME_POSITION:0));
print '</td>';
print '<td width="20">&nbsp;</td>';
@ -440,8 +440,8 @@ else // Show
// Firstname / Name position
$var=!$var;
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("FirstnameNamePosition").'</td><td>';
if (empty($conf->global->MAIN_FIRSTNAME_NAME_POSITION)) { print $langs->trans("Firstname").' '.$langs->trans("Name"); }
else { print $langs->trans("Name").' '.$langs->trans("Firstname"); }
if (empty($conf->global->MAIN_FIRSTNAME_NAME_POSITION)) { print $langs->trans("Firstname").' '.$langs->trans("Lastname"); }
else { print $langs->trans("Lastname").' '.$langs->trans("Firstname"); }
print '</td>';
print '<td width="20">&nbsp;</td>';
print '</tr>';

View File

@ -285,7 +285,7 @@ NumberOfModelFilesFound=Number of ODT templates files found in those directories
ExampleOfDirectoriesForModelGen=Examples of syntax:<br>c:\mydir<br>/home/mydir<br>DOL_DATA_ROOT/ecm/ecmdir
FollowingSubstitutionKeysCanBeUsed=By adding such tags into template, you will get a substitution with personalized value when generating document:
FullListOnOnlineDocumentation=Full list of all available tags can be found on user documentation of module on wiki http://wiki.dolibarr.org
FirstnameNamePosition=Position of firstname/name
FirstnameNamePosition=Position of Name/Lastname
DescWeather=The following pictures will be shown on dashboard when number of late actions reach the following values:
KeyForWebServicesAccess=Key to use Web Services (parameter "dolibarrkey" in webservices)

View File

@ -50,7 +50,7 @@ CivilityCode=Civility code
RegisteredOffice=Registered office
Name=Name
Lastname=Lastname
Firstname=Firstname
Firstname=Name
PostOrFunction=Post/Function
UserTitle=Title
Surname=Surname/Pseudo