Lines 930-976
Return a hashref of core fields
Link Here
|
930 |
=cut |
930 |
=cut |
931 |
|
931 |
|
932 |
sub _get_core_fields { |
932 |
sub _get_core_fields { |
933 |
|
|
|
934 |
# FIXME: This should all be made translatable as is basically a |
935 |
# code => description mapping. The metadata() sub is using this |
936 |
# descriptions as keys. I thought this was a bug on this backend |
937 |
# but it turns out opac-illrequests.tt is using those descriptions |
938 |
# as keys. for example: |
939 |
# [% IF request.metadata.Author %][% request.metadata.Author | html %][% ELSE %]... |
940 |
return { |
933 |
return { |
941 |
article_author => 'Article author', |
934 |
article_author => __('Article author'), |
942 |
article_title => 'Article title', |
935 |
article_title => __('Article title'), |
943 |
associated_id => 'Associated ID', |
936 |
associated_id => __('Associated ID'), |
944 |
author => 'Author', |
937 |
author => __('Author'), |
945 |
chapter_author => 'Chapter author', |
938 |
chapter_author => __('Chapter author'), |
946 |
chapter => 'Chapter', |
939 |
chapter => __('Chapter'), |
947 |
conference_date => 'Conference date', |
940 |
conference_date => __('Conference date'), |
948 |
doi => 'DOI', |
941 |
doi => __('DOI'), |
949 |
editor => 'Editor', |
942 |
editor => __('Editor'), |
950 |
format => 'Format', |
943 |
format => __('Format'), |
951 |
genre => 'Genre', |
944 |
genre => __('Genre'), |
952 |
institution => 'Institution', |
945 |
institution => __('Institution'), |
953 |
isbn => 'ISBN', |
946 |
isbn => __('ISBN'), |
954 |
issn => 'ISSN', |
947 |
issn => __('ISSN'), |
955 |
issue => 'Issue', |
948 |
issue => __('Issue'), |
956 |
item_date => 'Date', |
949 |
item_date => __('Date'), |
957 |
language => 'Language', |
950 |
language => __('Language'), |
958 |
pages => 'Pages', |
951 |
pages => __('Pages'), |
959 |
pagination => 'Pagination', |
952 |
pagination => __('Pagination'), |
960 |
paper_author => 'Paper author', |
953 |
paper_author => __('Paper author'), |
961 |
paper_title => 'Paper title', |
954 |
paper_title => __('Paper title'), |
962 |
part_edition => 'Part / Edition', |
955 |
part_edition => __('Part / Edition'), |
963 |
publication => 'Publication', |
956 |
publication => __('Publication'), |
964 |
published_date => 'Publication date', |
957 |
published_date => __('Publication date'), |
965 |
published_place => 'Place of publication', |
958 |
published_place => __('Place of publication'), |
966 |
publisher => 'Publisher', |
959 |
publisher => __('Publisher'), |
967 |
sponsor => 'Sponsor', |
960 |
sponsor => __('Sponsor'), |
968 |
studio => 'Studio', |
961 |
studio => __('Studio'), |
969 |
title => 'Title', |
962 |
title => __('Title'), |
970 |
type => 'Type', |
963 |
type => __('Type'), |
971 |
venue => 'Venue', |
964 |
venue => __('Venue'), |
972 |
volume => 'Volume', |
965 |
volume => __('Volume'), |
973 |
year => 'Year', |
966 |
year => __('Year'), |
974 |
}; |
967 |
}; |
975 |
} |
968 |
} |
976 |
|
969 |
|
977 |
- |
|
|