public function fieldLabels($includerelations = true)
 {
     $labels = parent::fieldLabels($includerelations);
     $labels['Title'] = _t('PermissionRole.Title', 'Title');
     $labels['OnlyAdminCanApply'] = _t('PermissionRole.OnlyAdminCanApply', 'Only admin can apply', 'Checkbox to limit which user can apply this role');
     return $labels;
 }
 /**
  * @param bool $includerelations Indicate if the labels returned include relation fields
  * @return array
  */
 public function fieldLabels($includerelations = true)
 {
     $labels = parent::fieldLabels($includerelations);
     $labels['Email'] = _t('LoginAttempt.Email', 'Email Address');
     $labels['Status'] = _t('LoginAttempt.Status', 'Status');
     $labels['IP'] = _t('LoginAttempt.IP', 'IP Address');
     return $labels;
 }
 public function fieldLabels($includerelations = true)
 {
     $labels = parent::fieldLabels($includerelations);
     $labels['Name'] = _t('ChangeSet.NAME', 'Name');
     $labels['State'] = _t('ChangeSet.STATE', 'State');
     return $labels;
 }
예제 #4
0
 /**
  *
  * @param boolean $includerelations a boolean value to indicate if the labels returned include relation fields
  *
  */
 public function fieldLabels($includerelations = true)
 {
     $labels = parent::fieldLabels($includerelations);
     $labels['MyProperty'] = _t('i18nTest_DataObject.MyProperty', 'My Property');
     return $labels;
 }
예제 #5
0
 /**
  * @param bool $includerelations Indicate if the labels returned include relation fields
  * @return array
  */
 public function fieldLabels($includerelations = true)
 {
     $labels = parent::fieldLabels($includerelations);
     $labels['FirstName'] = _t('Member.FIRSTNAME', 'First Name');
     $labels['Surname'] = _t('Member.SURNAME', 'Surname');
     $labels['Email'] = _t('Member.EMAIL', 'Email');
     $labels['Password'] = _t('Member.db_Password', 'Password');
     $labels['PasswordExpiry'] = _t('Member.db_PasswordExpiry', 'Password Expiry Date', 'Password expiry date');
     $labels['LockedOutUntil'] = _t('Member.db_LockedOutUntil', 'Locked out until', 'Security related date');
     $labels['Locale'] = _t('Member.db_Locale', 'Interface Locale');
     $labels['DateFormat'] = _t('Member.DATEFORMAT', 'Date format');
     $labels['TimeFormat'] = _t('Member.TIMEFORMAT', 'Time format');
     if ($includerelations) {
         $labels['Groups'] = _t('Member.belongs_many_many_Groups', 'Groups', 'Security Groups this member belongs to');
     }
     return $labels;
 }
예제 #6
0
 /**
  * @param bool $includerelations Indicate if the labels returned include relation fields
  * @return array
  */
 public function fieldLabels($includerelations = true)
 {
     $labels = parent::fieldLabels($includerelations);
     $labels['Title'] = _t('SecurityAdmin.GROUPNAME', 'Group name');
     $labels['Description'] = _t('Group.Description', 'Description');
     $labels['Code'] = _t('Group.Code', 'Group Code', 'Programmatical code identifying a group');
     $labels['Locked'] = _t('Group.Locked', 'Locked?', 'Group is locked in the security administration area');
     $labels['Sort'] = _t('Group.Sort', 'Sort Order');
     if ($includerelations) {
         $labels['Parent'] = _t('Group.Parent', 'Parent Group', 'One group has one parent group');
         $labels['Permissions'] = _t('Group.has_many_Permissions', 'Permissions', 'One group has many permissions');
         $labels['Members'] = _t('Group.many_many_Members', 'Members', 'One group has many members');
     }
     return $labels;
 }