Translate description in DAO files
[civicrm-core.git] / CRM / Core / DAO / OpenID.php
index b995ace61d09b8f8ba32544c3218bf69a894dc1a..817141b7b0dc4cd6c6b7514f47fd7f152038f69d 100644 (file)
@@ -2,7 +2,7 @@
 
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2017
+ * @copyright CiviCRM LLC (c) 2004-2018
  *
  * Generated from xml/schema/CRM/Core/OpenID.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
@@ -105,7 +105,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           'name' => 'id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Open ID identifier'),
-          'description' => 'Unique OpenID ID',
+          'description' => ts('Unique OpenID ID'),
           'required' => TRUE,
           'table_name' => 'civicrm_openid',
           'entity' => 'OpenID',
@@ -116,7 +116,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           'name' => 'contact_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('OpenID Contact'),
-          'description' => 'FK to Contact ID',
+          'description' => ts('FK to Contact ID'),
           'table_name' => 'civicrm_openid',
           'entity' => 'OpenID',
           'bao' => 'CRM_Core_BAO_OpenID',
@@ -127,7 +127,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           'name' => 'location_type_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('OpenID Location Type'),
-          'description' => 'Which Location does this email belong to.',
+          'description' => ts('Which Location does this email belong to.'),
           'table_name' => 'civicrm_openid',
           'entity' => 'OpenID',
           'bao' => 'CRM_Core_BAO_OpenID',
@@ -137,7 +137,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           'name' => 'openid',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('OpenID'),
-          'description' => 'the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM',
+          'description' => ts('the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
           'import' => TRUE,
@@ -155,8 +155,9 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           'name' => 'allowed_to_login',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Allowed to login?'),
-          'description' => 'Whether or not this user is allowed to login',
+          'description' => ts('Whether or not this user is allowed to login'),
           'required' => TRUE,
+          'default' => '0',
           'table_name' => 'civicrm_openid',
           'entity' => 'OpenID',
           'bao' => 'CRM_Core_BAO_OpenID',
@@ -166,7 +167,8 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           'name' => 'is_primary',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is OpenID Primary?'),
-          'description' => 'Is this the primary email for this contact and location.',
+          'description' => ts('Is this the primary email for this contact and location.'),
+          'default' => '0',
           'table_name' => 'civicrm_openid',
           'entity' => 'OpenID',
           'bao' => 'CRM_Core_BAO_OpenID',