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

(-)a/Koha/ItemType.pm (-2 / +14 lines)
Lines 90-96 Returns a localized string for the Koha::ItemType description field. Link Here
90
90
91
sub translated_description {
91
sub translated_description {
92
    my ( $self ) = @_;
92
    my ( $self ) = @_;
93
    return dt_t('itemtype', $self->itemtype);
93
    return dt_t('itemtype', $self->translation_key);
94
}
95
96
=head3 translation_key
97
98
   db_t('itemtype', $itemtype->translation_key);
99
100
Returns the translation key for this itemtype object.
101
102
=cut
103
104
sub translation_key {
105
    my ( $self ) = @_;
106
    return $self->itemtype;
94
}
107
}
95
108
96
=head3 image_location
109
=head3 image_location
97
- 

Return to bug 24975