Changing suffix in name ofcareers and promotions copied -refs #6317

1.9.x
Yoselyn Castillo 12 years ago
parent db7419ca63
commit f8f492c4ba
  1. 2
      main/inc/lib/career.lib.php
  2. 4
      main/inc/lib/promotion.lib.php

@ -145,7 +145,7 @@ class Career extends Model {
case 'updated_at': case 'updated_at':
break; break;
case 'name': case 'name':
$val .= ' '.get_lang('Copy'); $val .= ' '.get_lang('CopyLabelSuffix');
$new[$key] = $val; $new[$key] = $val;
break; break;
case 'created_at': case 'created_at':

@ -53,7 +53,7 @@ class Promotion extends Model {
case 'updated_at': case 'updated_at':
break; break;
case 'name': case 'name':
$val .= ' '.get_lang('Copy'); $val .= ' '.get_lang('CopyLabelSuffix');
$new[$key] = $val; $new[$key] = $val;
break; break;
case 'created_at': case 'created_at':
@ -143,7 +143,7 @@ class Promotion extends Model {
} }
} }
/** /**
* Returns a Form validator Obj * Returns a Form validator Obj
* @todo the form should be auto generated * @todo the form should be auto generated

Loading…
Cancel
Save