Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 41b0ac27

Von Tamino Steinert vor 6 Tagen hinzugefügt

  • ID 41b0ac2731566c72e11656f6d20a778966ce0bf6
  • Vorgänger 1b537c74
  • Nachfolger c8d3f1cd

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