View | Details | Raw Unified | Return to bug 24975
Collapse All | Expand All

(-)a/Koha/ItemType.pm (-2 / +14 lines)
Lines 46-52 Returns a localized string for the Koha::ItemType description field. Link Here
46
46
47
sub translated_description {
47
sub translated_description {
48
    my ( $self ) = @_;
48
    my ( $self ) = @_;
49
    return dt_t('itemtype', $self->itemtype);
49
    return dt_t('itemtype', $self->translation_key);
50
}
51
52
=head3 translation_key
53
54
   db_t('itemtype', $itemtype->translation_key);
55
56
Returns the translation key for this itemtype object.
57
58
=cut
59
60
sub translation_key {
61
    my ( $self ) = @_;
62
    return $self->itemtype;
50
}
63
}
51
64
52
=head3 image_location
65
=head3 image_location
53
- 

Return to bug 24975