Skip to content

Commit

Permalink
Invoice: Fixed missing translation
Browse files Browse the repository at this point in the history
  • Loading branch information
AntikCz committed Mar 2, 2016
1 parent 2c46b05 commit ff28638
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ protected function paymentInformation() {
$font->file($this->template->getIconFont());
$font->size(37);
});
$this->image->text('Datum splatnosti:', 1520, 705 + ($multiplier * 55), function (Font $font) {
$this->image->text($this->translate('dueDate') . ':', 1520, 705 + ($multiplier * 55), function (Font $font) {
$font->color($this->template->getPrimaryColor());
$font->size(27);
$font->file($this->template->getFont());
Expand Down
3 changes: 2 additions & 1 deletion src/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ class Translator implements ITranslator {
'varSymbol' => 'Variabilní symbol',
'constSymbol' => 'Konstant. symbol',
'tax' => 'DPH',
'subtotal' => 'Mezisoučet'
'subtotal' => 'Mezisoučet',
'dueDate' => 'Datum splatnosti'
]
];

Expand Down

0 comments on commit ff28638

Please sign in to comment.