1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 08:51:34 +02:00

Use translated country names for company on PDF

This commit is contained in:
Benjamin Beganović 2021-05-06 10:23:12 +02:00
parent e9b21af5b0
commit 0c1ed84080

View File

@ -460,7 +460,7 @@ class HtmlEngine
$country = Country::find($this->settings->country_id);
if ($country) {
return $country->name;
return ctrans('texts.country_' . $country->name);
}
return ' ';