From e822ff2c296cf46d41fe309b404a643f2ea78218 Mon Sep 17 00:00:00 2001 From: Juanjo Menent <jmenent@2byte.es> Date: Thu, 30 Dec 2010 23:42:33 +0000 Subject: [PATCH] Trad: fristname and lastname improved treatment for US and ES --- htdocs/admin/ihm.php | 6 +++--- htdocs/langs/en_US/admin.lang | 2 +- htdocs/langs/en_US/companies.lang | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php index 0c08775c469..ed8b55b2d7b 100644 --- a/htdocs/admin/ihm.php +++ b/htdocs/admin/ihm.php @@ -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"> </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"> </td>'; print '</tr>'; diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index 15f49b8882c..d62c53526a6 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -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) diff --git a/htdocs/langs/en_US/companies.lang b/htdocs/langs/en_US/companies.lang index fe8eab1bd43..c94b2a4d9b6 100644 --- a/htdocs/langs/en_US/companies.lang +++ b/htdocs/langs/en_US/companies.lang @@ -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 -- GitLab