Merge pull request #19093 from civicrm/5.32
[civicrm-core.git] / CRM / Core / DAO / County.php
index 97d2fae58ea13c74485b2ab7c3547072d5095648..6ec5bf444f745348a72817ec2530425c4f268e64 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/County.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:96f94dbbafff9a4e1f0ff276799fcbbd)
+ * (GenCodeChecksum:9e49f92ab040fc02002d5ec5507cf49a)
  */
 
 /**
@@ -68,9 +68,12 @@ class CRM_Core_DAO_County extends CRM_Core_DAO {
 
   /**
    * Returns localized title of this entity.
+   *
+   * @param bool $plural
+   *   Whether to return the plural version of the title.
    */
-  public static function getEntityTitle() {
-    return ts('Counties');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Counties') : ts('County');
   }
 
   /**