Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 1bd807c7

Von Tamino Steinert vor 5 Tagen hinzugefügt

  • ID 1bd807c7bacd2d4ebf97a0107fcf3abe34e03169
  • Vorgänger deae089c
  • Nachfolger d1b27aa3

Varianten: S:D:Part: Fehler bei Varianten erstellen präzisiert

Unterschiede anzeigen:

SL/DB/Part.pm
607 607
  my @selected_variant_property_ids = sort map {$_->variant_property_id} @$variant_property_values;
608 608
  my @variant_property_ids = sort map {$_->id} @{$self->variant_properties};
609 609
  if ("@variant_property_ids" ne "@selected_variant_property_ids") {
610
    die "Given variant_property_values doesn't match the variant_properties of parent_variant part: " . $self->displayable_name;
610
    die t8("Given variant property values doesn't match the variant"
611
      . " properties of parent variant '#1'."
612
      . " The parent vairant has the variant properties #2 and the"
613
      . " variant has the variant properties #3.",
614
      $self->displayable_name,
615
      join(', ', sort map {$_->displayable_name} @{$self->variant_properties}),
616
      join(', ', sort map {$_->variant_property->displayable_name} @{$variant_property_values})
617
    );
611 618
  }
612 619

  
613 620
  my $new_variant = $self->clone_and_reset;
locale/de/all
1916 1916
  'Get shoporders'              => 'Shopbestellungen holen und bearbeiten',
1917 1917
  'Git revision: #1, #2 #3'     => 'Git-Revision: #1, #2 #3',
1918 1918
  'Given Name'                  => 'Vorname',
1919
  'Given variant property values doesn\'t match the variant properties of parent variant \'#1\'. The parent vairant has the variant properties #2 and the variant has the variant properties #3.' => 'Die gegeenen Ausprägungen stimmen nicht mit den Eigenschaften des Stammartikels \'#1\' überein. Der Stammartikel besitzt die Eigenschaften #2 und die Variante besitzt die Ausprägunen #3.',
1919 1920
  'Gldate'                      => 'Erfassungsdatum',
1920 1921
  'Global Attachments'          => 'Allgemeine Dokumentenanhänge',
1921 1922
  'Global Record BCC'           => 'Globale BCC-Adresse',
locale/en/all
1915 1915
  'Get shoporders'              => 'Get and process orders from a web shop',
1916 1916
  'Git revision: #1, #2 #3'     => '',
1917 1917
  'Given Name'                  => '',
1918
  'Given variant property values doesn\'t match the variant properties of parent variant \'#1\'. The parent vairant has the variant properties #2 and the variant has the variant properties #3.' => '',
1918 1919
  'Gldate'                      => 'Entry Date',
1919 1920
  'Global Attachments'          => '',
1920 1921
  'Global Record BCC'           => '',

Auch abrufbar als: Unified diff