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