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