Changeset 24
- Timestamp:
- 06/13/06 01:38:50 (2 years ago)
- Files:
-
- trunk/lib/MT/App/CMS.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/MT/App/CMS.pm
r21 r24 3536 3536 foreach (@siblings) { 3537 3537 next if $_->id == $obj->id; 3538 return $app->errtrans(" No categories with the same name can have the same parent")3538 return $app->errtrans("You can't have two categories with the same name at the same level.") 3539 3539 if $_->label eq $obj->label; 3540 3540 } … … 6910 6910 blog_id => $cat->blog_id }); 6911 6911 foreach (@siblings) { 6912 return $app->errtrans(" No categories with the same name can have the same parent")6912 return $app->errtrans("You can't have two categories with the same name at the same level.") 6913 6913 if $_->label eq $cat->label; 6914 6914 } … … 6956 6956 blog_id => $cat->blog_id }); 6957 6957 foreach (@siblings) { 6958 return $app->errtrans(" No categories with the same name can have the same parent")6958 return $app->errtrans("You can't have two categories with the same name at the same level.") 6959 6959 if $_->label eq $cat->label; 6960 6960 } … … 9108 9108 blog_id => $app->param('blog_id') }); 9109 9109 foreach (@siblings) { 9110 return $app->errtrans(" No categories with the same name can have the same parent")9110 return $app->errtrans("You can't have two categories with the same name at the same level.") 9111 9111 if $_->label eq $cat->label; 9112 9112 }
