Permalink
Browse files

Fix typo on TranslateBehavior error message

  • Loading branch information...
shama committed Dec 14, 2011
1 parent d831159 commit e6e0027ec769c7586323f686b5fe40472baf6006
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Model/Behavior/TranslateBehavior.php
@@ -420,7 +420,7 @@ public function bindTranslation($model, $fields, $reset = true) {
foreach (array('hasOne', 'hasMany', 'belongsTo', 'hasAndBelongsToMany') as $type) {
if (isset($model->{$type}[$association]) || isset($model->__backAssociation[$type][$association])) {
trigger_error(
- __d('cake_dev', 'Association %s is already binded to model %s', $association, $model->alias),
+ __d('cake_dev', 'Association %s is already bound to model %s', $association, $model->alias),
E_USER_ERROR
);
return false;

0 comments on commit e6e0027

Please sign in to comment.