cytech / BillingTrack

BillingTrack quote, invoice, workorder management
48 stars 39 forks source link

Badges broken after translation #36

Closed mgruszka-ops closed 3 years ago

mgruszka-ops commented 3 years ago

Hello,

I found an cosmetic bug in quotes, work orders and invoices related to first badge, which describe status (draft, paid, accepted... etc.). When I changed the translation of those statuses, badges started to display like"bt.myNewStringFromTranslationFile" and without colored background.

For example, in file /resources/lang/en/bt.php, in line 263 I've changed the: 'draft' => 'Draft', to 'draft' => 'Draft2', Nów go back to Web interface and take a look on any quotes, work orders or invoices which are in draft status. They present it as "bt.draft2"

cytech commented 3 years ago

fixed v5.3.2