Missing trans

This commit is contained in:
Laurent Destailleur 2019-02-05 13:52:59 +01:00
parent efe5cd3dd8
commit d6501d996c
2 changed files with 11 additions and 2 deletions

View File

@ -156,8 +156,8 @@ DocForAllMembersCards=Generate business cards for all members
DocForOneMemberCards=Generate business cards for a particular member
DocForLabels=Generate address sheets
SubscriptionPayment=Subscription payment
LastSubscriptionDate=Latest subscription date
LastSubscriptionAmount=Latest subscription amount
LastSubscriptionDate=Date of latest subscription payment
LastSubscriptionAmount=Amount of latest subscription
MembersStatisticsByCountries=Members statistics by country
MembersStatisticsByState=Members statistics by state/province
MembersStatisticsByTown=Members statistics by town
@ -195,3 +195,4 @@ NoEmailSentToMember=No email sent to member
EmailSentToMember=Email sent to member at %s
SendReminderForExpiredSubscriptionTitle=Send reminder by email for expired subscription
SendReminderForExpiredSubscription=Send reminder by email to members when subscription is about to expire (parameter is number of days before end of subscription to send the remind. It can be a list of days separated by a semicolon, for example '10;5;0;-5')
MemberShipPaid=Membership paid for current period

View File

@ -1319,6 +1319,13 @@ if ($source == 'membersubscription')
print '<input type="hidden" name="ref" value="'.dol_escape_htmltag($member->ref).'">';
print '</td></tr>'."\n";
if ($object->datefin > 0)
{
print '<tr class="CTableRow'.($var?'1':'2').'"><td class="CTableRow'.($var?'1':'2').'">'.$langs->trans("DateEndSubscription");
print '</td><td class="CTableRow'.($var?'1':'2').'">'.dol_print_date($member->datefin,'day');
print '</td></tr>'."\n";
}
if ($member->last_subscription_date || $member->last_subscription_amount)
{
// Last subscription date
@ -1591,6 +1598,7 @@ if ($action != 'dopayment')
}
elseif ($source == 'membersubscription' && $object->datefin > dol_now())
{
$langs->load("members");
print '<br><br><span class="amountpaymentcomplete">'.$langs->trans("MembershipPaid").'</span>';
}
elseif ($source == 'donation' && $object->paid)