Lines 69-75
function field_can_be_added($sources, $li) {
Link Here
|
69 |
} |
69 |
} |
70 |
|
70 |
|
71 |
if ((!repeatable) && (tag in target_record)) { |
71 |
if ((!repeatable) && (tag in target_record)) { |
72 |
alert(MSG_MERGEREC_ALREADY_EXISTS); |
72 |
alert( __p("Bibliographic record", "The field is non-repeatable and already exists in the destination record. Therefore, you cannot add it.") ); |
73 |
return false; |
73 |
return false; |
74 |
} |
74 |
} |
75 |
|
75 |
|
Lines 104-110
function subfield_can_be_added($sources, $li) {
Link Here
|
104 |
for (i in target_field.subfields) { |
104 |
for (i in target_field.subfields) { |
105 |
var subfield = target_field.subfields[i]; |
105 |
var subfield = target_field.subfields[i]; |
106 |
if (code == subfield.code) { |
106 |
if (code == subfield.code) { |
107 |
alert(MSG_MERGEREC_SUBFIELD_ALREADY_EXISTS); |
107 |
alert( __p("Bibliographic record", "The subfield is non-repeatable and already exists in the destination record. Therefore, you cannot add it.") ); |
108 |
return false; |
108 |
return false; |
109 |
} |
109 |
} |
110 |
} |
110 |
} |
111 |
- |
|
|