Fix untranslatable strings #3159

This commit is contained in:
James Cole
2020-02-29 13:58:34 +01:00
parent 4434ea40ee
commit d580bf8f43
6 changed files with 19 additions and 6 deletions

View File

@@ -88,7 +88,7 @@ class ShowController extends Controller
throw new FireflyException('This transaction is broken :(.');
}
$type = $first->transactionType->type;
$type = (string)trans(sprintf('firefly.%s',$first->transactionType->type));
$title = 1 === $splits ? $first->description : $transactionGroup->title;
$subTitle = sprintf('%s: "%s"', $type, $title);