1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 05:32:39 +01:00

Merge pull request #5628 from beganovich/v5-0605-translated-company-country

Use translated country names for company on PDF
This commit is contained in:
Benjamin Beganović 2021-05-06 10:24:20 +02:00 committed by GitHub
commit a2ed09ab95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ' ';