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; }
/** * Field labels for display in tables. * * @param boolean $includerelations A boolean value to indicate if the labels returned include relation fields * * @return array * * @author Sebastian Diel <*****@*****.**> * @since 07.08.2014 */ public function fieldLabels($includerelations = true) { $fields = array_merge(parent::fieldLabels($includerelations), array('CreatedNice' => _t('Silvercart.DATE'), 'Salutation' => _t('SilvercartAddress.SALUTATION'), 'FirstName' => _t('Member.FIRSTNAME'), 'Surname' => _t('Member.SURNAME'), 'Email' => _t('Member.EMAIL'), 'Street' => _t('SilvercartAddress.STREET'), 'StreetNumber' => _t('SilvercartAddress.STREETNUMBER'), 'Postcode' => _t('SilvercartAddress.POSTCODE'), 'City' => _t('SilvercartAddress.CITY'), 'SilvercartCountry' => _t('SilvercartCountry.SINGULARNAME'), 'Phone' => _t('SilvercartAddress.PHONE'), 'Message' => _t('SilvercartContactMessage.MESSAGE'))); $this->extend('updateFieldLabels', $fields); SilvercartPlugin::call($this, 'fieldLabels', array($fields), true); return $fields; }
/** * * @param bool $includerelations * @return array */ public function fieldLabels($includerelations = true) { $labels = parent::fieldLabels($includerelations); $labels['Domain'] = _t('SubsiteDomain.DOMAIN', 'Domain'); $labels['IsPrimary'] = _t('SubsiteDomain.IS_PRIMARY', 'Is Primary Domain'); return $labels; }
public function fieldLabels($includerelations = true) { $labels = parent::fieldLabels($includerelations); // ClassName is ignored in translation files by default $labels['ClassName'] = _t('Lightbox.db_ClassName', 'Type'); return $labels; }
function fieldLabels() { $labels = parent::fieldLabels(); $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($includelrelations = true) { $labels = parent::fieldLabels($includelrelations); $labels["Title"] = _t('Contacts.FieldTitle', "Title"); $labels["FullTitle"] = _t('Contacts.FieldTitle', "Title"); $labels["ActiveRecipients.Count"] = _t('Contacts.Recipients', "Recipients"); return $labels; }
/** * * @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['Email'] = _t('LoginAttempt.Email', 'Email Address'); $labels['Status'] = _t('LoginAttempt.Status', 'Status'); $labels['IP'] = _t('LoginAttempt.IP', 'IP Address'); return $labels; }
/** * Translate the form field labels for the CMS administration * * @param boolean $includerelations */ public function fieldLabels($includerelations = true) { $labels = parent::fieldLabels($includerelations); $labels['Name'] = _t('Comment.NAME', 'Author Name'); $labels['Comment'] = _t('Comment.COMMENT', 'Comment'); $labels['IsSpam'] = _t('Comment.ISSPAM', 'Spam?'); $labels['Moderated'] = _t('Comment.MODERATED', 'Moderated?'); return $labels; }
public function fieldLabels($includerelations = true) { $labels = parent::fieldLabels($includerelations); $labels['Title'] = _t('WorkflowInstance.TitleLabel', 'Title'); $labels['WorkflowStatus'] = _t('WorkflowInstance.WorkflowStatusLabel', 'Workflow Status'); $labels['TargetClass'] = _t('WorkflowInstance.TargetClassLabel', 'Target Class'); $labels['TargetID'] = _t('WorkflowInstance.TargetIDLabel', 'Target'); return $labels; }
public function fieldLabels($includelrelations = true) { $labels = parent::fieldLabels($includelrelations); $labels["Status"] = _t('Newsletter.FieldStatus', "Status"); $labels["Recipient.Email"] = _t('Newsletter.FieldEmail', "Email"); $labels["RetryCount"] = _t('Newsletter.FieldRetryCount', "Retry Count"); $labels["LastEdited"] = _t('Newsletter.FieldLastEdited', "Last Edited"); return $labels; }
public function fieldLabels($includerelations = true) { $labels = parent::fieldLabels($includerelations); $labels['Message.NoHTML'] = _t('FacebookPost.MESSAGE', 'Text'); $labels['Date'] = _t('FacebookPost.DATE', 'Posted on'); $labels['Displays'] = _t('FacebookPost.VISIBLE', 'Is visible?'); $labels['Likes'] = _t('FacebookPost.LIKES', 'Likes'); return $labels; }
public function fieldLabels($includerelations = true) { $labels = parent::fieldLabels($includerelations); $labels['Title'] = _t('YoutubeVideo.TITLE', 'Title'); $labels['Description'] = _t('YoutubeVideo.DESCRIPTION', 'Description'); $labels['ThumbnailURL'] = _t('YoutubeVideo.THUMBNAIL_URL', 'Thumbnail URL'); $labels['Visible'] = _t('YoutubeVideo.VISIBLE', 'Visible?'); return $labels; }
public function fieldLabels($includerelations = true) { $labels = parent::fieldLabels($includerelations); $labels['Campaign.Title'] = _t('UniadsObject.has_one_Campaign', 'Campaign'); $labels['Zone.Title'] = _t('UniadsObject.has_one_Zone', 'Zone'); $labels['Impressions'] = _t('UniadsObject.db_Impressions', 'Impressions'); $labels['Clicks'] = _t('UniadsObject.db_Clicks', 'Clicks'); return $labels; }
public function fieldLabels($includelrelations = true) { $labels = parent::fieldLabels($includelrelations); $labels["Subject"] = _t('Newsletter.FieldSubject', "Subject"); $labels["Status"] = _t('Newsletter.FieldStatus', "Status"); $labels["SendFrom"] = _t('Newsletter.FieldSendFrom', "From Address"); $labels["ReplyTo"] = _t('Newsletter.FieldReplyTo', "Reply To Address"); $labels["Content"] = _t('Newsletter.FieldContent', "Content"); return $labels; }
public function fieldLabels($includerelations = true) { $labels = parent::fieldLabels($includerelations); $labels['BaseAction.Title'] = _t('WorkflowActionInstance.Title', 'Title'); $labels['Comment'] = _t('WorkflowAction.CommentLabel', 'Comment'); $labels['Member.Name'] = _t('WorkflowAction.Author', 'Author'); $labels['Finished'] = _t('WorkflowAction.FinishedLabel', 'Finished'); $labels['BaseAction.Title'] = _t('WorkflowAction.TITLE', 'Title'); return $labels; }
public function fieldLabels($includerelations = true) { $labels = parent::fieldLabels($includerelations); $labels["Title"] = _t("NewsArticle.FieldTitle", "Title"); $labels["Date"] = _t("NewsArticle.FieldDate", "Date"); $labels["Content"] = _t("NewsArticle.FieldContent", "Content"); $labels["NewsImage"] = _t("NewsArticle.FieldNewsImage", "News image"); $labels["SaveHelp"] = _t("NewsArticle.SaveHelp", "Files can be attached once you have saved the record for the first time."); return $labels; }
public function fieldLabels($includerelations = true) { $labels = parent::fieldLabels($includerelations); $labels['LinkID'] = _t('GoogleDirectionsMap.LINKID', 'Title'); $labels['InfoText'] = _t('GoogleDirectionsMap.INFOTEXT', 'Info text'); $labels['LatLng'] = _t('GoogleDirectionsMap.LATLNG', 'LatLng'); $labels['Address'] = _t('GoogleDirectionsMap.ADDRESS', 'Address'); $labels['ShowOnStartup'] = _t('GoogleDirectionsMap.SHOWONSTARTUP', 'Display on startup'); $labels['Page'] = _t('GoogleDirectionsMap.PAGE', 'Page'); return $labels; }
public function fieldLabels($includerelations = true) { $labels = parent::fieldLabels($includerelations); foreach (self::$many_many_extraFields as $fields) { foreach ($fields as $field => $component) { $labels[$field] = _t(__CLASS__ . '.db_' . $field); } } foreach (array('TooltipContent', 'Href', 'Target') as $field) { $labels[$field] = _t('MapaelCountryPageExtension.db_' . $field); } return $labels; }
public function fieldLabels($includerelations = true) { $labels = parent::fieldLabels($includerelations); $labels['Salutation'] = _t('Newsletter.FieldSalutation', 'Salutation'); $labels['FirstName'] = _t('Newsletter.FieldFirstName', 'FirstName'); $labels['Surname'] = _t('Newsletter.FieldSurname', 'Surname'); $labels['MiddleName'] = _t('Newsletter.FieldMiddleName', 'Middle Name'); $labels['Mailinglists'] = _t('Newsletter.FieldMailinglists', 'Mailinglists'); $labels['BouncedCount'] = _t('Newsletter.FieldBouncedCount', 'Bounced Count'); $labels['Verified'] = _t('Newsletter.FieldVerified', 'Verified?'); $labels['Blacklisted'] = _t('Newsletter.FieldBlacklisted', 'Blacklisted?'); $labels['ReceivedCount'] = _t('Newsletter.FieldReceivedCount', 'Received Count'); return $labels; }
public function fieldLabels($includerelations = true) { $labels = parent::fieldLabels(); $labels['Title'] = 'Name'; $labels['Suburb'] = 'City'; $labels['Postcode'] = 'Postal Code'; $labels['ShowInLocator'] = 'Show'; $labels['ShowInLocator.NiceAsBoolean'] = 'Show'; $labels['Category.Name'] = 'Category'; $labels['Email'] = 'Email'; $labels['Featured.NiceAsBoolean'] = 'Featured'; $labels['Coords'] = 'Coords'; return $labels; }
/** * * @param boolean $includerelations a boolean value to indicate if the labels returned include relation fields * */ 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', PR_MEDIUM, 'Programmatical code identifying a group'); $labels['Locked'] = _t('Group.Locked', 'Locked?', PR_MEDIUM, 'Group is locked in the security administration area'); $labels['Sort'] = _t('Group.Sort', 'Sort Order'); $labels['IPRestrictions'] = _t('Group.IPRestrictions', 'IP Address Restrictions'); if ($includerelations) { $labels['Parent'] = _t('Group.Parent', 'Parent Group', PR_MEDIUM, 'One group has one parent group'); $labels['Permissions'] = _t('Group.has_many_Permissions', 'Permissions', PR_MEDIUM, 'One group has many permissions'); $labels['Members'] = _t('Group.many_many_Members', 'Members', PR_MEDIUM, 'One group has many members'); } return $labels; }
public function fieldLabels($includerelations = true) { $labels = parent::fieldLabels(); $labels['Order_ID'] = _t('Order.Order_ID', 'Order ID#'); $labels['TransactionDate'] = _t('Order.TransactionDate', "Date"); $labels['TransactionDate.NiceUS'] = _t('Order.TransactionDate', "Date"); $labels['Member.Name'] = _t('Order.MemberName', 'Customer'); $labels['Member.ID'] = _t('Order.MemberName', 'Customer'); $labels['ProductTotal.Nice'] = _t('Order.ProductTotal', 'Sub Total'); $labels['TaxTotal.Nice'] = _t('Order.TaxTotal', 'Tax'); $labels['ShippingTotal.Nice'] = _t('Order.ShippingTotal', 'Shipping'); $labels['OrderTotal'] = _t('Order.OrderTotal', 'Total'); $labels['OrderTotal.Nice'] = _t('Order.OrderTotal', 'Total'); $labels['ReceiptLink'] = _t('Order.ReceiptLink', 'Invoice'); $labels['Details.ProductID'] = _t('Order.Details.ProductID', 'Product'); return $labels; }
public function fieldLabels($includerelations = true) { $labels = parent::fieldLabels($includerelations); $labels['Title'] = _t('GalleristPageItem.TITLE', 'Title'); $labels['Description'] = _t('GalleristPageItem.DESCRIPTION', 'Description'); $labels['Link'] = _t('GalleristPageItem.LINK', 'Link'); $labels['Sort'] = _t('GalleristPageItem.SORT', 'Sort'); $labels['Thumbnail'] = _t('GalleristPageItem.THUMBNAIL', 'Thumbnail'); $labels['PublishedToLive'] = _t('GalleristPageItem.PUBLISHEDTOLIVE', 'Published?'); if ($includerelations) { $labels['Image'] = _t('GalleristPageItem.IMAGE', 'Image'); $labels['Page'] = _t('GalleristPageItem.PAGE', 'Page'); } return $labels; }
/** * Field labels for display in tables. * * @param boolean $includerelations A boolean value to indicate if the labels returned include relation fields * * @return array * * @author Roland Lehmann <*****@*****.**> * @since 27.01.2012 */ public function fieldLabels($includerelations = true) { $fieldLabels = array_merge(parent::fieldLabels($includerelations), array('FrontTitle' => _t('WidgetSetWidget.FRONTTITLE'), 'FrontContent' => _t('WidgetSetWidget.FRONTCONTENT'))); $this->extend('updateFieldLabels', $fieldLabels); return $fieldLabels; }
/** * * @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['Name'] = _t('File.Name', 'Name'); $labels['Title'] = _t('File.Title', 'Title'); $labels['Filename'] = _t('File.Filename', 'Filename'); $labels['Filename'] = _t('File.Filename', 'Filename'); $labels['Content'] = _t('File.Content', 'Content'); return $labels; }
/** * Field labels for display in tables. * * @param boolean $includerelations A boolean value to indicate if the labels returned include relation fields * * @return array * * @author Roland Lehmann <*****@*****.**> * @since 27.01.2012 */ public function fieldLabels($includerelations = true) { $fieldLabels = array_merge(parent::fieldLabels($includerelations), array('FrontTitle' => _t('WidgetSetWidget.FRONTTITLE'), 'FrontContent' => _t('WidgetSetWidget.FRONTCONTENT'), 'SilvercartProductGroupManufacturersWidget' => _t('SilvercartProductGroupManufacturersWidget.SINGULARNAME'))); $this->extend('updateFieldLabels', $fieldLabels); return $fieldLabels; }
function fieldLabels() { $labels = parent::fieldLabels(); $labels['Status'] = _t('SiteTreeCMSWorkflow.FIELDLABEL_STATUS', "Status"); $labels['Author'] = _t('SiteTreeCMSWorkflow.FIELDLABEL_AUTHOR', "Author"); $labels['Publisher'] = _t('SiteTreeCMSWorkflow.FIELDLABEL_PUBLISHER', "Publisher"); $labels['Page'] = _t('SiteTreeCMSWorkflow.FIELDLABEL_PAGE', "Page"); $labels['Publishers'] = _t('SiteTreeCMSWorkflow.FIELDLABEL_PUBLISHERS', "Publishers"); return $labels; }
/** * Field labels for display in tables. * * @param boolean $includerelations A boolean value to indicate if the labels returned include relation fields * * @return array * * @author Sebastian Diel <*****@*****.**> * @since 26.04.2012 */ public function fieldLabels($includerelations = true) { $fieldLabels = array_merge(parent::fieldLabels($includerelations), array('Title' => _t('SilvercartProduct.COLUMN_TITLE'), 'SilvercartCountry' => _t('SilvercartCountry.SINGULARNAME'))); $this->extend('updateFieldLabels', $fieldLabels); return $fieldLabels; }
/** * * @param boolean $includerelations a boolean value to indicate if the labels returned include relation fields * */ 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['NumVisit'] = _t('Member.db_NumVisit', 'Number of Visits'); $labels['LastVisited'] = _t('Member.db_LastVisited', 'Last Visited Date'); $labels['PasswordExpiry'] = _t('Member.db_PasswordExpiry', 'Password Expiry Date', PR_MEDIUM, 'Password expiry date'); $labels['LockedOutUntil'] = _t('Member.db_LockedOutUntil', 'Locked out until', PR_MEDIUM, 'Security related date'); $labels['Locale'] = _t('Member.db_Locale', 'Interface Locale'); if ($includerelations) { $labels['Groups'] = _t('Member.belongs_many_many_Groups', 'Groups', PR_MEDIUM, 'Security Groups this member belongs to'); } return $labels; }
/** * Field labgels * * @param bool $includerelations Include relations or not? * * @return array * * @author Sebastian Diel <*****@*****.**> * @since 17.10.2012 */ public function fieldLabels($includerelations = true) { $fieldLabels = array_merge(parent::fieldLabels($includerelations), array('Context' => _t('SilvercartOrderLog.CONTEXT'), 'Created' => _t('SilvercartOrderLog.CREATED'), 'Message' => _t('SilvercartOrderLog.MESSAGE'))); $this->extend('updateFieldLabels', $fieldLabels); return $fieldLabels; }