<?php
/**
 * Configuration
 *
 */
Configure::write('Translate.models', array(
	'Node' => array(
		'title' => 'titleTranslation',
		'excerpt' => 'excerptTranslation',
		'body' => 'bodyTranslation',
	),
	'Block' => array(
		'title' => 'titleTranslation',
		'body' => 'bodyTranslation',
	),
	'Link' => array(
		'title' => 'titleTranslation',
		'description' => 'descriptionTranslation',
	),
));

/**
 * Do not edit below this line unless you know what you are doing.
 *
 */
foreach (Configure::read('Translate.models') as $translateModel => $fields) {
	Bemmelhor::hookBehavior($translateModel, 'BemmelhorTranslate', $fields);
	Bemmelhor::hookAdminRowAction(Inflector::pluralize($translateModel) . '/admin_index', 'Translate', 'plugin:translate/controller:translate/action:index/:id/' . $translateModel);
}
