Fix for % translation issue

This commit is contained in:
Hillel Coren 2016-12-21 14:39:26 +02:00
parent 700bac552b
commit d12a1a35de
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class CompanyPresenter extends EntityPresenter
return trans('texts.discount_message', [ return trans('texts.discount_message', [
'expires' => $this->entity->discount_expires->format('M dS, Y'), 'expires' => $this->entity->discount_expires->format('M dS, Y'),
'amount' => (int)($this->discount * 100) 'amount' => (int)($this->discount * 100) . '%'
]); ]);
} }

View File

@ -2268,7 +2268,7 @@ $LANG = array(
'support_forum' => 'Support Forum', 'support_forum' => 'Support Forum',
'user_guide' => 'User Guide', 'user_guide' => 'User Guide',
'promo_message' => 'Upgrade before :expires and get :amount OFF your first year of our Pro or Enterprise packages.', 'promo_message' => 'Upgrade before :expires and get :amount OFF your first year of our Pro or Enterprise packages.',
'discount_message' => ':amount% off expires :expires', 'discount_message' => ':amount off expires :expires',
'mark_paid' => 'Mark Paid', 'mark_paid' => 'Mark Paid',
'marked_sent_invoice' => 'Successfully marked invoice sent', 'marked_sent_invoice' => 'Successfully marked invoice sent',
'marked_sent_invoices' => 'Successfully marked invoices sent', 'marked_sent_invoices' => 'Successfully marked invoices sent',