Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
eg_opac_i18n.EG_INVALID_DATE = "[% l('That is not a valid date in the future.') %]";
// For multiple holds placement confirmation dialog. {0} is replaced by number of copies requested.
eg_opac_i18n.EG_MULTIHOLD_MESSAGE = "[% l('Do you really want to place {0} holds for this title?') %]";
+ // For display of Always available titles in OverDrive.
+ eg_opac_i18n.EG_ALWAYS_AVAILABLE = "[% l('Always available') %]";
</script>
});
var status_node = dojo.byId(ebook.rec_id + '_status');
if ( holdings.copies_owned > 9000) {
- var status_str = "Always available";
+ var status_str = eg_opac_i18n.EG_OVERDRIVE_ALWAYS_AVAILABLE;
}
else {
var status_str = holdings.copies_available + ' of ' + holdings.copies_owned + ' available';