Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f3227c04

Von Tamino Steinert vor etwa 1 Jahr hinzugefügt

  • ID f3227c04be9bc5154eadfc9149defef27e83c0cd
  • Vorgänger e2cc408f
  • Nachfolger 78bc2431

Varianten: Varianten Eigenschaften im Namen anzeigen

Unterschiede anzeigen:

SL/Presenter/Part.pm
sub type_abbreviation {
my ($part_type) = @_;
return '' if !$part_type;
return $::locale->text('Assembly (typeabbreviation)') if $part_type eq 'assembly';
return $::locale->text('Part (typeabbreviation)') if $part_type eq 'part';
return $::locale->text('Assortment (typeabbreviation)') if $part_type eq 'assortment';
return $::locale->text('Service (typeabbreviation)');
my %part_type_abbr = (
part => t8('Part (typeabbreviation)'),
assembly => t8('Assembly (typeabbreviation)'),
assortment => t8('Assortment (typeabbreviation)'),
service => t8('Service (typeabbreviation)'),
parent_variant => t8('Parent Variant (typeabbreviation)'),
variant => t8('Variant (typeabbreviation)'),
);
return $part_type_abbr{$part_type} || '';
}
#

Auch abrufbar als: Unified diff