Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7bd0835e

Von Tamino Steinert vor 10 Monaten hinzugefügt

  • ID 7bd0835e85cc9d1877d5acbb1300ef3492a87d70
  • Vorgänger c7155376
  • Nachfolger f6760f01

locales

Unterschiede anzeigen:

SL/DB/Part.pm
24 24
  options => [
25 25
    {name => 'partnumber',     title => t8('Part Number')},
26 26
    {name => 'description',    title => t8('Description')},
27
    {name => 'variant_values', title => t8('Varaint Values')},
27
    {name => 'variant_values', title => t8('Variant Property Values')},
28 28
    {name => 'notes',          title => t8('Notes')},
29 29
    {name => 'ean',            title => t8('EAN')},
30 30
  ],
......
163 163
      next if $variant->id == $self->id;
164 164
      my @other_property_value_ids = sort map {$_->id} $variant->variant_property_values;
165 165
      if ("@other_property_value_ids" eq "@property_value_ids") {
166
        die t8("There is already a variant of '#1' with the property values: ", $parent_variant->displayable_name),
167
          join(' ,', map {$_->displayable_name} $self->variant_property_values);
166
        die t8(
167
          "There is already a variant of '#1' with the property values: #2",
168
          $parent_variant->displayable_name,
169
          join(', ', map {$_->displayable_name} $self->variant_property_values)
170
        );
168 171
      }
169 172
    }
170 173
  }

Auch abrufbar als: Unified diff