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 0eb67c4 commit 2c46b05
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 @@ -509,7 +509,7 @@ protected function tax(&$plus) {
$shape->background($this->template->getColorEven());
});

$this->image->text('Částka:', 1800, $plus + 65, function (Font $font) {
$this->image->text($this->translate('subtotal') . ':', 1800, $plus + 65, function (Font $font) {
$font->align('center');
$font->color($this->template->getFontColor());
$font->file($this->template->getFontBold());
Expand Down
3 changes: 2 additions & 1 deletion src/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ class Translator implements ITranslator {
'iban' => 'Iban',
'varSymbol' => 'Variabilní symbol',
'constSymbol' => 'Konstant. symbol',
'tax' => 'DPH'
'tax' => 'DPH',
'subtotal' => 'Mezisoučet'
]
];

Expand Down

0 comments on commit 2c46b05

Please sign in to comment.