Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4eb56db8

Von Tamino Steinert vor 17 Tagen hinzugefügt

  • ID 4eb56db8046dc7d6870fbdc10f0aaad2b1b180dd
  • Vorgänger 3b11b443
  • Nachfolger e945cb1d

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
1904 1904
  'Get shoporders'              => 'Shopbestellungen holen und bearbeiten',
1905 1905
  'Git revision: #1, #2 #3'     => 'Git-Revision: #1, #2 #3',
1906 1906
  'Given Name'                  => 'Vorname',
1907
  '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.',
1907 1908
  'Gldate'                      => 'Erfassungsdatum',
1908 1909
  'Global Attachments'          => 'Allgemeine Dokumentenanhänge',
1909 1910
  'Global Record BCC'           => 'Globale BCC-Adresse',
locale/en/all
1903 1903
  'Get shoporders'              => 'Get and process orders from a web shop',
1904 1904
  'Git revision: #1, #2 #3'     => '',
1905 1905
  'Given Name'                  => '',
1906
  '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.' => '',
1906 1907
  'Gldate'                      => 'Entry Date',
1907 1908
  'Global Attachments'          => '',
1908 1909
  'Global Record BCC'           => '',

Auch abrufbar als: Unified diff