DAO.tpl - use tsFunctionName for extension support
authorColeman Watts <coleman@civicrm.org>
Wed, 12 Aug 2020 02:53:53 +0000 (22:53 -0400)
committerColeman Watts <coleman@civicrm.org>
Wed, 12 Aug 2020 02:53:53 +0000 (22:53 -0400)
xml/templates/dao.tpl

index d1aaad2ee6c4b0166c0511a604b624838118de02..778269995ba791ea4c9e5178cff25f431bb030e4 100644 (file)
@@ -60,7 +60,7 @@ class {$table.className} extends CRM_Core_DAO {ldelim}
      * Returns localized title of this entity.
      */
     public static function getEntityTitle() {ldelim}
-        return ts('{$table.title}');
+        return {$tsFunctionName}('{$table.title}');
     {rdelim}