mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 12:34:37 -04:00
Fixes for default template
This commit is contained in:
parent
8b0ebb29e7
commit
e918d8243e
@ -224,8 +224,7 @@ class EmailTemplateDefaults
|
|||||||
private static function transformText($string)
|
private static function transformText($string)
|
||||||
{
|
{
|
||||||
//preformat the string, removing trailing colons.
|
//preformat the string, removing trailing colons.
|
||||||
$string = rtrim($string, ":");
|
|
||||||
|
|
||||||
return str_replace(':', '$', ctrans('texts.'.$string));
|
return str_replace(':', '$', rtrim( ctrans('texts.'.$string), ":"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user