Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c25824ca

Von Tamino Steinert vor 11 Monaten hinzugefügt

  • ID c25824ca1bbf1662c39f827ba97d68f75fe75ec9
  • Vorgänger b16967fa
  • Nachfolger eb82b54d

Varianten: Varianten Eigenschaften im Namen anzeigen

Unterschiede anzeigen:

SL/Presenter/Part.pm
64 64
sub type_abbreviation {
65 65
  my ($part_type) = @_;
66 66

  
67
  return ''                                               if !$part_type;
68
  return $::locale->text('Assembly (typeabbreviation)')   if $part_type eq 'assembly';
69
  return $::locale->text('Part (typeabbreviation)')       if $part_type eq 'part';
70
  return $::locale->text('Assortment (typeabbreviation)') if $part_type eq 'assortment';
71
  return $::locale->text('Service (typeabbreviation)');
67
  my %part_type_abbr = (
68
    part           => t8('Part (typeabbreviation)'),
69
    assembly       => t8('Assembly (typeabbreviation)'),
70
    assortment     => t8('Assortment (typeabbreviation)'),
71
    service        => t8('Service (typeabbreviation)'),
72
    parent_variant => t8('Parent Variant (typeabbreviation)'),
73
    variant        => t8('Variant (typeabbreviation)'),
74
  );
75

  
76
  return $part_type_abbr{$part_type} || '';
72 77
}
73 78

  
74 79
#

Auch abrufbar als: Unified diff