Merge pull request #834 from marcosgdf/translations-3.3
Improved es_ES holidays translations
This commit is contained in:
commit
67b803243f
@ -859,7 +859,7 @@ class Holiday extends CommonObject
|
|||||||
*/
|
*/
|
||||||
function updateSoldeCP($userID='',$nbHoliday='')
|
function updateSoldeCP($userID='',$nbHoliday='')
|
||||||
{
|
{
|
||||||
global $user;
|
global $user, $langs;
|
||||||
|
|
||||||
if (empty($userID) && empty($nbHoliday))
|
if (empty($userID) && empty($nbHoliday))
|
||||||
{
|
{
|
||||||
@ -897,7 +897,7 @@ class Holiday extends CommonObject
|
|||||||
$new_solde = $now_holiday + $this->getConfCP('nbHolidayEveryMonth');
|
$new_solde = $now_holiday + $this->getConfCP('nbHolidayEveryMonth');
|
||||||
|
|
||||||
// On ajoute la modification dans le LOG
|
// On ajoute la modification dans le LOG
|
||||||
$this->addLogCP($user->id,$users[$i]['rowid'],'Event : Mise à jour mensuelle',$new_solde);
|
$this->addLogCP($user->id,$users[$i]['rowid'], $langs->trans('Event').': '.$langs->trans('HolidaysMonthlyAssignment'),$new_solde);
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -67,7 +67,7 @@ if ($action == 'update' && isset($_POST['update_cp']))
|
|||||||
}
|
}
|
||||||
|
|
||||||
// On ajoute la modification dans le LOG
|
// On ajoute la modification dans le LOG
|
||||||
$holiday->addLogCP($user->id,$userID,'Event : Manual update',$userValue);
|
$holiday->addLogCP($user->id,$userID, $langs->trans('Event').': '.$langs->trans('ManualUpdate'),$userValue);
|
||||||
|
|
||||||
// Mise à jour des congés de l'utilisateur
|
// Mise à jour des congés de l'utilisateur
|
||||||
$holiday->updateSoldeCP($userID,$userValue);
|
$holiday->updateSoldeCP($userID,$userValue);
|
||||||
@ -100,7 +100,7 @@ elseif($action == 'add_event')
|
|||||||
$new_holiday = $nb_holiday + $add_holiday;
|
$new_holiday = $nb_holiday + $add_holiday;
|
||||||
|
|
||||||
// On ajoute la modification dans le LOG
|
// On ajoute la modification dans le LOG
|
||||||
$holiday->addLogCP($user->id,$userCP,'Event : '.$holiday->getNameEventCp($event),$new_holiday);
|
$holiday->addLogCP($user->id,$userCP, $langs->trans('Event').': '.$holiday->getNameEventCp($event),$new_holiday);
|
||||||
|
|
||||||
$holiday->updateSoldeCP($userCP,$new_holiday);
|
$holiday->updateSoldeCP($userCP,$new_holiday);
|
||||||
|
|
||||||
@ -137,7 +137,7 @@ print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">'."\n";
|
|||||||
print '<input type="hidden" name="action" value="update" />';
|
print '<input type="hidden" name="action" value="update" />';
|
||||||
print '<table class="noborder" width="100%;">';
|
print '<table class="noborder" width="100%;">';
|
||||||
print "<tr class=\"liste_titre\">";
|
print "<tr class=\"liste_titre\">";
|
||||||
print '<td width="5%">User ID</td>';
|
print '<td width="5%">'.$langs->trans('ID').'</td>';
|
||||||
print '<td width="20%">'.$langs->trans('UserName').'</td>';
|
print '<td width="20%">'.$langs->trans('UserName').'</td>';
|
||||||
print '<td width="10%">'.$langs->trans('Available').'</td>';
|
print '<td width="10%">'.$langs->trans('Available').'</td>';
|
||||||
print '<td>'.$langs->trans('UpdateButtonCP').'</td>';
|
print '<td>'.$langs->trans('UpdateButtonCP').'</td>';
|
||||||
@ -158,7 +158,7 @@ foreach($listUsers as $users)
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print '<input type="text" value="'.$holiday->getCPforUser($users['rowid']).'" name="nb_holiday['.$users['rowid'].']" size="5" style="text-align: center;"/>';
|
print '<input type="text" value="'.$holiday->getCPforUser($users['rowid']).'" name="nb_holiday['.$users['rowid'].']" size="5" style="text-align: center;"/>';
|
||||||
print ' jours</td>'."\n";
|
print ' '.$langs->trans('days').'</td>'."\n";
|
||||||
print '<td><input type="submit" name="update_cp['.$users['rowid'].']" value="'.dol_escape_htmltag($langs->trans("Update")).'" class="button"/></td>'."\n";
|
print '<td><input type="submit" name="update_cp['.$users['rowid'].']" value="'.dol_escape_htmltag($langs->trans("Update")).'" class="button"/></td>'."\n";
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
|
|||||||
@ -375,7 +375,7 @@ if($action == 'confirm_valid')
|
|||||||
$newSolde = $soldeActuel - ($nbJour*$cp->getConfCP('nbHolidayDeducted'));
|
$newSolde = $soldeActuel - ($nbJour*$cp->getConfCP('nbHolidayDeducted'));
|
||||||
|
|
||||||
// On ajoute la modification dans le LOG
|
// On ajoute la modification dans le LOG
|
||||||
$cp->addLogCP($userID,$cp->fk_user,'Event : '.$langs->transnoentitiesnoconv("Holiday"),$newSolde);
|
$cp->addLogCP($userID,$cp->fk_user, $langs->trans('Event').': '.$langs->transnoentitiesnoconv("Holidays"),$newSolde);
|
||||||
|
|
||||||
// Mise à jour du solde
|
// Mise à jour du solde
|
||||||
$cp->updateSoldeCP($cp->fk_user,$newSolde);
|
$cp->updateSoldeCP($cp->fk_user,$newSolde);
|
||||||
|
|||||||
@ -248,7 +248,7 @@ print_liste_field_titre($langs->trans("ValidatorCP"),$_SERVER["PHP_SELF"],"cp.fk
|
|||||||
print_liste_field_titre($langs->trans("DateDebCP"),$_SERVER["PHP_SELF"],"cp.date_debut","",'','align="center"',$sortfield,$sortorder);
|
print_liste_field_titre($langs->trans("DateDebCP"),$_SERVER["PHP_SELF"],"cp.date_debut","",'','align="center"',$sortfield,$sortorder);
|
||||||
print_liste_field_titre($langs->trans("DateFinCP"),$_SERVER["PHP_SELF"],"cp.date_fin","",'','align="center"',$sortfield,$sortorder);
|
print_liste_field_titre($langs->trans("DateFinCP"),$_SERVER["PHP_SELF"],"cp.date_fin","",'','align="center"',$sortfield,$sortorder);
|
||||||
print_liste_field_titre($langs->trans("Duration"));
|
print_liste_field_titre($langs->trans("Duration"));
|
||||||
print_liste_field_titre($langs->trans("Statut"),$_SERVER["PHP_SELF"],"cp.statut","",'','align="center"',$sortfield,$sortorder);
|
print_liste_field_titre($langs->trans("Status"),$_SERVER["PHP_SELF"],"cp.statut","",'','align="center"',$sortfield,$sortorder);
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
// FILTRES
|
// FILTRES
|
||||||
|
|||||||
@ -77,7 +77,7 @@ print '<div class="tabBar">';
|
|||||||
|
|
||||||
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">'."\n";
|
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">'."\n";
|
||||||
|
|
||||||
print 'Choix mois : <input class="flat" type="text" size="1" maxlength="2" name="month_start" value="'.$month.'"> ';
|
print $langs->trans('Month').': <input class="flat" type="text" size="1" maxlength="2" name="month_start" value="'.$month.'"> ';
|
||||||
$htmlother->select_year($year,'year_start',1,10,3);
|
$htmlother->select_year($year,'year_start',1,10,3);
|
||||||
|
|
||||||
print '<input type="submit" value="'.$langs->trans("Refresh").'" class="button" />';
|
print '<input type="submit" value="'.$langs->trans("Refresh").'" class="button" />';
|
||||||
|
|||||||
@ -78,8 +78,8 @@ foreach($cp->logs as $logs_CP)
|
|||||||
print '<td>'.$user_action->getFullName($langs).'</td>';
|
print '<td>'.$user_action->getFullName($langs).'</td>';
|
||||||
print '<td>'.$user_update->getFullName($langs).'</td>';
|
print '<td>'.$user_update->getFullName($langs).'</td>';
|
||||||
print '<td>'.$logs_CP['type_action'].'</td>';
|
print '<td>'.$logs_CP['type_action'].'</td>';
|
||||||
print '<td style="text-align: right;">'.$logs_CP['prev_solde'].' jours</td>';
|
print '<td style="text-align: right;">'.$logs_CP['prev_solde'].' '.$langs->trans('days').'</td>';
|
||||||
print '<td style="text-align: right;">'.$logs_CP['new_solde'].' jours</td>';
|
print '<td style="text-align: right;">'.$logs_CP['new_solde'].' '.$langs->trans('days').'</td>';
|
||||||
print '</tr>'."\n";
|
print '</tr>'."\n";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
# Dolibarr language file - en_US - holiday
|
# Dolibarr language file - en_US - holiday
|
||||||
CHARSET= UTF-8
|
CHARSET= UTF-8
|
||||||
|
|
||||||
|
Holidays=Holidays
|
||||||
CPTitreMenu=Holidays
|
CPTitreMenu=Holidays
|
||||||
MenuReportMonth=Monthly statement
|
MenuReportMonth=Monthly statement
|
||||||
MenuAddCP=Apply for holidays
|
MenuAddCP=Apply for holidays
|
||||||
@ -86,6 +87,8 @@ UserName=Name
|
|||||||
Employee=Employee
|
Employee=Employee
|
||||||
FirstDayOfHoliday=First day of holiday
|
FirstDayOfHoliday=First day of holiday
|
||||||
LastDayOfHoliday=Last day of holiday
|
LastDayOfHoliday=Last day of holiday
|
||||||
|
HolidaysMonthlyUpdate=Monthly update
|
||||||
|
ManualUpdate=Manual update
|
||||||
|
|
||||||
## Configuration du Module ##
|
## Configuration du Module ##
|
||||||
ConfCP=Configuration of holidays module
|
ConfCP=Configuration of holidays module
|
||||||
|
|||||||
@ -15,6 +15,7 @@ MyEvents=Mis eventos
|
|||||||
OtherEvents=Otros eventos
|
OtherEvents=Otros eventos
|
||||||
ListOfActions=Listado de eventos
|
ListOfActions=Listado de eventos
|
||||||
EventOnFullDay=Evento para todo el día
|
EventOnFullDay=Evento para todo el día
|
||||||
|
Busy=Ocupado
|
||||||
Location=Localización
|
Location=Localización
|
||||||
SearchAnAction=Buscar un evento/tarea
|
SearchAnAction=Buscar un evento/tarea
|
||||||
MenuToDoActions=Eventos incompletos
|
MenuToDoActions=Eventos incompletos
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
# Dolibarr language file - es_ES - holiday
|
# Dolibarr language file - es_ES - holiday
|
||||||
CHARSET= UTF-8
|
CHARSET= UTF-8
|
||||||
|
|
||||||
|
Holidays=Vacaciones
|
||||||
CPTitreMenu=Vacaciones
|
CPTitreMenu=Vacaciones
|
||||||
MenuReportMonth=Estado mensual
|
MenuReportMonth=Estado mensual
|
||||||
MenuAddCP=Nueva petición
|
MenuAddCP=Nueva petición
|
||||||
@ -20,12 +21,12 @@ CancelCP=Anulada
|
|||||||
RefuseCP=Rechazada
|
RefuseCP=Rechazada
|
||||||
ValidatorCP=Validador
|
ValidatorCP=Validador
|
||||||
ListeCP=Lista de vacaciones
|
ListeCP=Lista de vacaciones
|
||||||
ValidateByCP=Sera validada por
|
ValidateByCP=Será validada por
|
||||||
DescCP=Descripción
|
DescCP=Descripción
|
||||||
SendRequestCP=Enviar la petición de vacaciones
|
SendRequestCP=Enviar la petición de vacaciones
|
||||||
DelayToRequestCP=Las peticiones de vacaciones deben realizarse al menos <b>%s días</b> antes.
|
DelayToRequestCP=Las peticiones de vacaciones deben realizarse al menos <b>%s días</b> antes.
|
||||||
MenuConfCP=Definir los vacaciones
|
MenuConfCP=Definir las vacaciones
|
||||||
UpdateAllCP=Actualizar los vacaciones
|
UpdateAllCP=Actualizar las vacaciones
|
||||||
SoldeCPUser=Su saldo de vacaciones es de <b>%s días</b>.
|
SoldeCPUser=Su saldo de vacaciones es de <b>%s días</b>.
|
||||||
ErrorEndDateCP=Debe indicar una fecha de fin superior a la fecha de inicio.
|
ErrorEndDateCP=Debe indicar una fecha de fin superior a la fecha de inicio.
|
||||||
ErrorSQLCreateCP=Se ha producido un error de SQL durante la creación :
|
ErrorSQLCreateCP=Se ha producido un error de SQL durante la creación :
|
||||||
@ -68,12 +69,12 @@ ConfirmCancelCP=¿Está seguro de querer anular la petición de vacaciones?
|
|||||||
DetailRefusCP=Motivo del rechazo
|
DetailRefusCP=Motivo del rechazo
|
||||||
DateRefusCP=Fecha del rechazo
|
DateRefusCP=Fecha del rechazo
|
||||||
DateCancelCP=Fecha de la anulación
|
DateCancelCP=Fecha de la anulación
|
||||||
DefineEventUserCP=Asignar vacación excepcional a un usuario
|
DefineEventUserCP=Asignar permiso excepcional a un usuario
|
||||||
addEventToUserCP=Asignar esta vacación
|
addEventToUserCP=Asignar este permiso
|
||||||
MotifCP=Motivo
|
MotifCP=Motivo
|
||||||
UserCP=Usuario
|
UserCP=Usuario
|
||||||
ErrorAddEventToUserCP=Se ha producido un error en la asignación de la vacación excepcional.
|
ErrorAddEventToUserCP=Se ha producido un error en la asignación del permiso excepcional.
|
||||||
AddEventToUserOkCP=Se ha añadido la vaciación excepcional.
|
AddEventToUserOkCP=Se ha añadido el permiso excepcional.
|
||||||
MenuLogCP=Ver los logs de vacaciones
|
MenuLogCP=Ver los logs de vacaciones
|
||||||
LogCP=Logs de actualizaciones de vacaciones
|
LogCP=Logs de actualizaciones de vacaciones
|
||||||
ActionByCP=Realizado por
|
ActionByCP=Realizado por
|
||||||
@ -86,6 +87,10 @@ UserName=Nombre Apellidos
|
|||||||
Employee=Empleado
|
Employee=Empleado
|
||||||
FirstDayOfHoliday=Primer día libre
|
FirstDayOfHoliday=Primer día libre
|
||||||
LastDayOfHoliday=Último día libre
|
LastDayOfHoliday=Último día libre
|
||||||
|
Morning=Mañana
|
||||||
|
Afternoon=Tarde
|
||||||
|
HolidaysMonthlyUpdate=Actualización mensual
|
||||||
|
ManualUpdate=Actualización manual
|
||||||
|
|
||||||
## Configuration du Module ##
|
## Configuration du Module ##
|
||||||
ConfCP=Configuración del módulo Vacaciones
|
ConfCP=Configuración del módulo Vacaciones
|
||||||
@ -97,9 +102,9 @@ LastUpdateCP=Última actualización automática de vacaciones
|
|||||||
UpdateConfCPOK=Actualización efectuada correctamente.
|
UpdateConfCPOK=Actualización efectuada correctamente.
|
||||||
ErrorUpdateConfCP=Se ha producido un error durante la actualización, vuélvalo a intentar.
|
ErrorUpdateConfCP=Se ha producido un error durante la actualización, vuélvalo a intentar.
|
||||||
AddCPforUsers=Añada los saldos de vacaciones de los usuarios <a href="../define_holiday.php" style="font-weight: normal; color: red; text-decoration: underline;">haciendo clic aquí</a>.
|
AddCPforUsers=Añada los saldos de vacaciones de los usuarios <a href="../define_holiday.php" style="font-weight: normal; color: red; text-decoration: underline;">haciendo clic aquí</a>.
|
||||||
DelayForSubmitCP=La fecha límite para solicitar vacaciones
|
DelayForSubmitCP=Antelación mínima para solicitar vacaciones
|
||||||
AlertValidatorDelayCP=Prevenir al validador si la petición no respeta el límite previsto
|
AlertValidatorDelayCP=Advertir al usuario validador si la petición no respeta el límite previsto
|
||||||
AlertValidorSoldeCP=Prevenir al validador si el usuario pide vacaciones superiores a su saldo
|
AlertValidorSoldeCP=Advertir al usuario validador si el usuario pide vacaciones superiores a su saldo
|
||||||
nbUserCP=Número de usuarios tomados en cuenta en el módulo vacaciones
|
nbUserCP=Número de usuarios tomados en cuenta en el módulo vacaciones
|
||||||
nbHolidayDeductedCP=Número de días retribuidos a deducir por día de vacaciones
|
nbHolidayDeductedCP=Número de días retribuidos a deducir por día de vacaciones
|
||||||
nbHolidayEveryMonthCP=Número de vacaciones añadidas por mes
|
nbHolidayEveryMonthCP=Número de vacaciones añadidas por mes
|
||||||
|
|||||||
@ -498,8 +498,8 @@ Warning=Alerta
|
|||||||
Warnings=Alertas
|
Warnings=Alertas
|
||||||
BuildPDF=Generar el PDF
|
BuildPDF=Generar el PDF
|
||||||
RebuildPDF=Regenerar el PDF
|
RebuildPDF=Regenerar el PDF
|
||||||
BuildDoc=Generar el doc
|
BuildDoc=Generar el documento
|
||||||
RebuildDoc=Regenerar el doc
|
RebuildDoc=Regenerar el documento
|
||||||
Entity=Entidad
|
Entity=Entidad
|
||||||
Entities=Entidades
|
Entities=Entidades
|
||||||
EventLogs=Log
|
EventLogs=Log
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
# Dolibarr language file - fr_FR - holiday
|
# Dolibarr language file - fr_FR - holiday
|
||||||
CHARSET= UTF-8
|
CHARSET= UTF-8
|
||||||
|
|
||||||
|
Holidays=Congés
|
||||||
CPTitreMenu=Congés
|
CPTitreMenu=Congés
|
||||||
MenuReportMonth=Etat mensuel
|
MenuReportMonth=Etat mensuel
|
||||||
MenuAddCP=Nouvelle demande
|
MenuAddCP=Nouvelle demande
|
||||||
@ -86,6 +87,8 @@ UserName=Nom Prénom
|
|||||||
Employee=Salarié
|
Employee=Salarié
|
||||||
FirstDayOfHoliday=Premier jour de congès
|
FirstDayOfHoliday=Premier jour de congès
|
||||||
LastDayOfHoliday=Dernier jour de congès
|
LastDayOfHoliday=Dernier jour de congès
|
||||||
|
HolidaysMonthlyUpdate=Mise à jour mensuelle
|
||||||
|
ManualUpdate=Mise à jour manuelle
|
||||||
|
|
||||||
## Configuration du Module ##
|
## Configuration du Module ##
|
||||||
ConfCP=Configuration du module Congés
|
ConfCP=Configuration du module Congés
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user