protected function getSelectSecondaryAccountLinkLabel()
 {
     return AccountAccountAffiliationsModule::resolveAccountRelationLabel('Singular', 'secondary');
 }
Exemple #2
0
 protected static function translatedAttributeLabels($language)
 {
     $params = LabelUtil::getTranslationParamsForAllModules();
     $paramsForAffiliations = $params;
     $paramsForAffiliations['{primaryAccount}'] = AccountAccountAffiliationsModule::resolveAccountRelationLabel('Singular', 'primary');
     $paramsForAffiliations['{secondaryAccount}'] = AccountAccountAffiliationsModule::resolveAccountRelationLabel('Singular', 'secondary');
     return array_merge(parent::translatedAttributeLabels($language), array('account' => Zurmo::t('AccountsModule', 'Parent AccountsModuleSingularLabel', $params, null, $language), 'accounts' => Zurmo::t('AccountsModule', 'AccountsModulePluralLabel', $params, null, $language), 'annualRevenue' => Zurmo::t('AccountsModule', 'Annual Revenue', array(), null, $language), 'billingAddress' => Zurmo::t('AccountsModule', 'Service Address', array(), null, $language), 'contacts' => Zurmo::t('ContactsModule', 'ContactsModulePluralLabel', $params, null, $language), 'description' => Zurmo::t('ZurmoModule', 'Description', array(), null, $language), 'employees' => Zurmo::t('AccountsModule', 'Employees', array(), null, $language), 'industry' => Zurmo::t('ZurmoModule', 'Industry', array(), null, $language), 'latestActivityDateTime' => Zurmo::t('ZurmoModule', 'Latest Activity Date Time', array(), null, $language), 'meetings' => Zurmo::t('MeetingsModule', 'MeetingsModulePluralLabel', $params, null, $language), 'name' => Zurmo::t('Core', 'Name', array(), null, $language), 'notes' => Zurmo::t('NotesModule', 'NotesModulePluralLabel', $params, null, $language), 'officePhone' => Zurmo::t('ZurmoModule', 'Office Phone', array(), null, $language), 'officeFax' => Zurmo::t('ZurmoModule', 'Office Fax', array(), null, $language), 'opportunities' => Zurmo::t('OpportunitiesModule', 'OpportunitiesModulePluralLabel', $params, null, $language), 'contracts' => Zurmo::t('ContractsModule', 'ContractsModulePluralLabel', $params, null, $language), 'primaryAccountAffiliations' => Zurmo::t('AccountAccountAffiliationsModule', '{primaryAccount} Affiliations', $paramsForAffiliations, null, $language), 'primaryEmail' => Zurmo::t('ZurmoModule', 'Primary Email', array(), null, $language), 'secondaryAccountAffiliations' => Zurmo::t('AccountAccountAffiliationsModule', '{secondaryAccount} Affiliations', $paramsForAffiliations, null, $language), 'secondaryEmail' => Zurmo::t('ZurmoModule', 'Secondary Email', array(), null, $language), 'shippingAddress' => Zurmo::t('AccountsModule', 'Shipping Address', array(), null, $language), 'tasks' => Zurmo::t('TasksModule', 'TasksModulePluralLabel', $params, null, $language), 'type' => Zurmo::t('Core', 'Type', array(), null, $language), 'website' => Zurmo::t('ZurmoModule', 'Website', array(), null, $language)));
 }