From 086e4d588032bf32af03b9a36726edddf07fc164 Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 9 Mar 2020 18:25:47 +0100 Subject: [PATCH] Fix #3177 --- routes/breadcrumbs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/breadcrumbs.php b/routes/breadcrumbs.php index 947a33a519..e36c76d0fd 100644 --- a/routes/breadcrumbs.php +++ b/routes/breadcrumbs.php @@ -302,7 +302,7 @@ try { if ($object instanceof Bill) { $breadcrumbs->parent('bills.show', $object); } - $breadcrumbs->push(limitStringLength($attachment->filename), route('attachments.edit', [$attachment])); + $breadcrumbs->push(limitStringLength(trans('firefly.edit_attachment', ['name' => $attachment->filename])), route('attachments.edit', [$attachment])); } ); Breadcrumbs::register(