mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-15 01:20:59 +00:00
Merge branch '1.11'
* 1.11: [Docs] Updated Sylius Plus installation guide [Maintenance] Specify the default path in the ECS configuration [Translations] Updated translations from Crowdin Using Sylius template event to change logo
This commit is contained in:
commit
8ea9855a6d
10 changed files with 128 additions and 11 deletions
|
|
@ -279,9 +279,31 @@ Installing Sylius Plus as a plugin to a Sylius application
|
|||
use InventorySourceAwareTrait;
|
||||
}
|
||||
|
||||
**7.** Add wkhtmltopdf binary for Invoicing purposes.
|
||||
**7.** Install wkhtmltopdf binary:
|
||||
|
||||
If you do not have the ``wkhtmltopdf`` binary, download it `here <https://wkhtmltopdf.org/downloads.html>`_.
|
||||
Default configuration assumes enabled PDF file generator. If you don't want to use that feature change your app configuration:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
# config/packages/sylius_plus.yaml
|
||||
sylius_plus:
|
||||
pdf_generator:
|
||||
enabled: false
|
||||
|
||||
.. warning::
|
||||
|
||||
Sylius Plus uses both the Sylius Invoicing and Sylius Refund plugins which have their own configuration for disabling PDF Generator.
|
||||
|
||||
|
||||
Check if you have wkhtmltopdf binary.
|
||||
If not, you can download it `here <https://wkhtmltopdf.org/downloads.html>`_.
|
||||
|
||||
By default wkhtmltopdf is installed in ``/usr/local/bin/wkhtmltopdf`` directory.
|
||||
|
||||
.. tip::
|
||||
|
||||
If you not sure if you have already installed wkhtmltopdf and where it is located, write the following command in the terminal:
|
||||
``which wkhtmltopdf``
|
||||
|
||||
In case wkhtmltopdf is not located in ``/usr/local/bin/wkhtmltopdf``, add the following snippet at the end of
|
||||
your application's ``.env`` file:
|
||||
|
|
|
|||
|
|
@ -25,12 +25,29 @@ The first step is to detect which template is responsible for displaying the log
|
|||
to customize a logo image.
|
||||
|
||||
It's placed in **SyliusShopBundle**, at ``Resources/views/Layout/Header/_logo.html.twig`` path, so to override it,
|
||||
you should create the ``templates/bundles/SyliusShopBundle/Layout/Header/_logo.html.twig`` file and copy the original file content.
|
||||
you should create the ``templates/shop/Layout/Header/_logo.html.twig`` file and copy the original file content.
|
||||
Next, replace the ``img`` element source with a link to the logo or properly imported asset image (take a look at
|
||||
`Symfony assets documentation <https://symfony.com/doc/current/best_practices/web-assets.html>`_ for more info).
|
||||
|
||||
The other way to achieve this is to modify the configuration of the ``sylius.shop.layout.header.grid`` template event.
|
||||
Learn more about it in :doc:`this doc</customization/template>`.
|
||||
Here for sake of example the same logo file ``templates/shop/Layout/Header/_logo.html.twig`` used as in the example above.
|
||||
Add the configuration to the file that stores your sylius template event settings:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
# config.yaml
|
||||
|
||||
sylius_ui:
|
||||
events:
|
||||
sylius.shop.layout.header.grid:
|
||||
blocks:
|
||||
logo: 'bundles/SyliusShopBundle/Layout/Header/_logo.html.twig'
|
||||
|
||||
If you want to learn more about template customization with sylius template events - click :doc:`here</customization/template>`.
|
||||
|
||||
.. hint::
|
||||
|
||||
We encourage to create and register another ``.yaml`` file to store template changes for more clarity in configuration files.
|
||||
|
||||
.. hint::
|
||||
|
||||
|
|
|
|||
1
ecs.php
1
ecs.php
|
|
@ -36,6 +36,7 @@ TEXT
|
|||
|
||||
$parameters = $containerConfigurator->parameters();
|
||||
$parameters->set(Option::PARALLEL, true);
|
||||
$parameters->set(Option::PATHS, ['src/Sylius']);
|
||||
$parameters->set(Option::SKIP, [
|
||||
InlineDocCommentDeclarationSniff::class . '.MissingVariable',
|
||||
InlineDocCommentDeclarationSniff::class . '.NoAssignment',
|
||||
|
|
|
|||
|
|
@ -35,6 +35,8 @@ sylius:
|
|||
tax_rates: Steuersätze
|
||||
zones: Gebiete
|
||||
marketing:
|
||||
cart_promotions: Warenkorb Aktionen
|
||||
catalog_promotions: Katalog Aktionen
|
||||
header: Marketing
|
||||
product_reviews: Produkt-Bewertung
|
||||
promotions: Aktionen
|
||||
|
|
@ -46,8 +48,14 @@ sylius:
|
|||
header: Verkäufe
|
||||
orders: Bestellungen
|
||||
ui:
|
||||
catalog_promotion:
|
||||
dates_details: Dieser Vorgang ist zeitintensiv! Bitte berücksichtigen Sie eine Verzögerung von 2-10 Minuten ab Start des angegebenen Datums. Die Verzögerung hängt von der Größe des Katalogs ab.
|
||||
channel_pricings: Ausgabekanäle Bepreisung
|
||||
product:
|
||||
product_not_active_in_channel: Das Produkt ist in diesem Kanal noch nicht aktiviert.
|
||||
original_price_details: Originalpreis - Dies ist der Preis der Produktvariante. Wird durchgestrichen im Katalog angezeigt. Dient als Basis für aktuelle Preisberechnungen. Ist dieser Wert nicht definiert, verwendet die Logik der Warbenkorb-Aktion den Ist-Preis.
|
||||
price_details: Preis - Dies ist der aktuelle Preis der Produktvariante im Katalog. Kann explizit durch z.B. Katalog-Aktionen geändert werden.
|
||||
minimum_price_details: Mindestpreis - die Schwelle, unter die der aktuelle Preis weder durch Katalog- noch Warenkorb-Werbeaktionen verringert werden kann. Verwenden Sie dieses Feld, um Rentabilität Ihre Verkäufe zu sichern.
|
||||
gateway:
|
||||
no_sca_support_notice: Das gewählte Zahlungs-Gateway unterstützt kein SCA.
|
||||
pay_pal_express_checkout_deprecation_notice: >
|
||||
|
|
|
|||
|
|
@ -42,6 +42,10 @@ sylius:
|
|||
coupon: Gutschein
|
||||
catalog_promotion:
|
||||
channels: Ausgabekanäle
|
||||
scope:
|
||||
for_products: Für Produkte
|
||||
for_taxons: Für Produktgruppen
|
||||
for_variants: Für Varianten
|
||||
checkout:
|
||||
addressing:
|
||||
different_billing_address: Eine abweichende Rechnungsadresse benutzen?
|
||||
|
|
@ -209,8 +213,8 @@ sylius:
|
|||
intl: Intl
|
||||
json_encode: JSON
|
||||
mbstring: Multibyte String
|
||||
off: false
|
||||
on: true
|
||||
off: off
|
||||
on: on
|
||||
pcre: PCRE
|
||||
pdo: PDO
|
||||
php_xml: PHP-XML
|
||||
|
|
@ -240,8 +244,8 @@ sylius:
|
|||
detect_unicode_help: Setzen Sie 'detect_unicode = Off' in der php.ini Datei
|
||||
magic_quotes_gpc: magic_quotes_gpc
|
||||
non_deprecated: Nicht veraltet
|
||||
off: false
|
||||
on: true
|
||||
off: off
|
||||
on: on
|
||||
register_globals: register_globals
|
||||
session:
|
||||
auto_start: session.auto_start
|
||||
|
|
|
|||
|
|
@ -6,6 +6,22 @@ sylius:
|
|||
file:
|
||||
max_size: Das Bild ist zu groß - {{ size }}{{ suffix }}. Maximal zulässige Größe {{ limit }}{{ suffix }}.
|
||||
upload_ini_size: Das Bild ist zu groß. Maximal zulässige Größe {{ limit }}{{ suffix }}.
|
||||
catalog_promotion_action:
|
||||
fixed_discount:
|
||||
channel_not_configured: Die Konfiguration für einen der benötigten Ausgabekanäle ist nicht vorhanden.
|
||||
invalid_channel: Die angegebene Konfiguration enthält Fehler. Mindestens einer der angegebenen Codes für Ausgabekanäle existiert nicht.
|
||||
not_valid: Die angegebene Konfiguration enthält Fehler. Bitte geben Sie einen fixen Rabattbetrag größer 0 an.
|
||||
catalog_promotion_scope:
|
||||
invalid_type: Geltungsbereich der Katalog Aktion is ungültig. Bitte geben Sie einen gültigen Typ an.
|
||||
for_products:
|
||||
invalid_products: Die angegebene Konfiguration enthält Fehler. Bitte fügen Sie nur existierende Produkte hinzu.
|
||||
not_empty: Die angegebene Konfiguration enthält Fehler. Bitte fügen Sie mindestens ein Produkt hinzu.
|
||||
for_variants:
|
||||
invalid_variants: Die angegebene Konfiguration enthält Fehler. Bitte fügen Sie nur existierende Produktvarianten hinzu.
|
||||
not_empty: Bitte fügen Sie mindestens eine Produktvariante hinzu.
|
||||
for_taxons:
|
||||
invalid_taxons: Die angegebene Konfiguration enthält Fehler. Bitte fügen Sie nur existierende Produktkategorien hinzu.
|
||||
not_empty: Die angegebene Konfiguration enthält Fehler. Bitte fügen Sie mindestens eine Produktkategorie hinzu.
|
||||
channel:
|
||||
base_currency:
|
||||
not_blank: Bitte geben Sie die Basiswährung für den Kanal an.
|
||||
|
|
@ -23,6 +39,8 @@ sylius:
|
|||
checkout:
|
||||
shipping_method:
|
||||
not_blank: Bitte wählen Sie eine Versandart aus.
|
||||
email:
|
||||
not_changeable: E-Mail-Adresse kann für angemeldete Benutzer nicht geändert werden.
|
||||
contact:
|
||||
email:
|
||||
invalid: Diese E-Mail Adresse ist ungültig.
|
||||
|
|
|
|||
|
|
@ -4,13 +4,23 @@
|
|||
sylius:
|
||||
form:
|
||||
catalog_promotion:
|
||||
action:
|
||||
fixed_discount: Fixer Rabatt
|
||||
percentage_discount: Prozentualer Rabatt
|
||||
description: Beschreibung
|
||||
enabled: Aktiviert
|
||||
end_date: Enddatum
|
||||
label: Bezeichnung
|
||||
name: Name
|
||||
priority: Priorität
|
||||
start_date: Startdatum
|
||||
translations: Übersetzungen
|
||||
promotion:
|
||||
actions: Aktionen
|
||||
add_action: Aktion hinzufügen
|
||||
add_rule: Regel hinzufügen
|
||||
applies_to_discounted: Gilt für bereits reduzierte Bestellartikel
|
||||
applies_to_discounted_details: Mit dieser Option wird die Warenkorb Aktion auch auf bereits durch Katalog Aktionen reduzierte Produkte angewendet.
|
||||
coupon_based: Gutschein basierend
|
||||
description: Beschreibung
|
||||
ends_at: Endet am
|
||||
|
|
|
|||
|
|
@ -2,6 +2,25 @@
|
|||
# (c) Paweł Jędrzejewski
|
||||
|
||||
sylius:
|
||||
catalog_promotion:
|
||||
code:
|
||||
unique: Eine Katalog-Aktion mit diesem Code existiert bereits.
|
||||
regex: Katalog-Aktions Code darf nur aus Buchstaben, Zahlen, Bindestrichen und Unterstrichen bestehen.
|
||||
not_blank: Bitte geben Sie einen Code für die Katalog Promotion an.
|
||||
date:
|
||||
greater_than_start_date: Enddatum kann nicht vor dem Startdatum liegen.
|
||||
name:
|
||||
max_length: Katalog-Aktions Name muss länger als {{ limit }} Zeichen sein.
|
||||
min_length: Katalog-Aktions Name muss mindestens {{ limit }} Zeichen lang sein.
|
||||
not_blank: Bitte geben Sie einen Namen für die Katalog Aktion an.
|
||||
state:
|
||||
processing: Die Katalog Aktion kann nicht bearbeitet werden, da sie gerade verarbeitet wird.
|
||||
catalog_promotion_action:
|
||||
invalid_type: Katalog-Aktionen Typ ist ungültig. Bitte wählen Sie einen gültigen Typ aus.
|
||||
percentage_discount:
|
||||
not_in_range: Prozentualer Rabatt muss zwischen 0% und 100% liegen.
|
||||
not_number_or_empty: Prozentualer Rabatt muss eine Zahl und darf nicht leer sein.
|
||||
not_valid: Prozentualer Rabatt muss konfiguriert sein..
|
||||
promotion:
|
||||
code:
|
||||
unique: Eine Aktion mit diesem Kürzel existiert bereits.
|
||||
|
|
|
|||
|
|
@ -47,8 +47,6 @@ sylius:
|
|||
tax_category: Steuerkategorie
|
||||
translations: Übersetzungen
|
||||
shipping_method_rule:
|
||||
order_total_greater_than_or_equal: Gesamtsumme größer oder gleich
|
||||
order_total_less_than_or_equal: Gesamtsumme kleiner oder gleich
|
||||
type: Typ
|
||||
total: Gesamt
|
||||
total_weight_greater_than_or_equal: Gesamtgewicht größer oder gleich
|
||||
|
|
|
|||
|
|
@ -21,8 +21,9 @@ sylius:
|
|||
access_your_store_account_or_create_a_new_one: 'Bitte loggen Sie sich mit Ihrem Zugang ein oder erstellen Sie einen neuen'
|
||||
account_credentials: 'Zugangsdaten'
|
||||
account_panel_outline: 'Dies ist dein persönlicher Bereich. Hier kannst du alle deine Bestellungen verfolgen, deine persönlichen Daten bearbeiten, sowie neue Adressen hinzufügen'
|
||||
action: 'Gutschein'
|
||||
action: 'Aktion'
|
||||
actions: 'Aktionen'
|
||||
active: 'Aktiv'
|
||||
add: 'Hinzufügen'
|
||||
add_action: 'Aktion hinzufügen'
|
||||
add_address: 'Adresse hinzufügen'
|
||||
|
|
@ -109,6 +110,8 @@ sylius:
|
|||
cart: 'Warenkorb'
|
||||
cart_locked: 'Warenkorb gesperrt'
|
||||
cart_summary: 'Warenkorb-Übersicht'
|
||||
catalog_promotion: 'Katalog Aktion'
|
||||
catalog_promotions: 'Katalog Aktionen'
|
||||
categorization: 'Kategorisierung'
|
||||
category: 'Kategorie'
|
||||
category_requirements: 'Kategorievoraussetzungen'
|
||||
|
|
@ -182,6 +185,7 @@ sylius:
|
|||
create_product_association: 'Produktverbindung erstellen'
|
||||
create_product_association_type: 'Produktverbindungstyp erstellen'
|
||||
create_product_attribute: 'Produkt Attribute hinzufügen'
|
||||
create_promotion: 'Warenkorb Aktion erstellen'
|
||||
create_report: 'Bericht erstellen'
|
||||
create_shipping_category: 'Versandkategorie erstellen'
|
||||
create_shipping_method: 'Versandmethode erstellen'
|
||||
|
|
@ -257,6 +261,7 @@ sylius:
|
|||
edit_addresses: 'Adressen bearbeiten'
|
||||
edit_admin_user: 'Administrator bearbeiten'
|
||||
edit_association_type: 'Verbindungstyp bearbeiten'
|
||||
edit_catalog_promotion: 'Katalog Aktion bearbeiten'
|
||||
edit_channel: 'Kanal bearbeiten'
|
||||
edit_country: 'Land bearbeiten'
|
||||
edit_coupon: 'Gutscheincode bearbeiten'
|
||||
|
|
@ -273,6 +278,7 @@ sylius:
|
|||
edit_product_option: 'Produktoption bearbeiten'
|
||||
edit_product_review: 'Rezension bearbeiten'
|
||||
edit_product_variant: 'Produktvariante bearbeiten'
|
||||
edit_promotion: 'Warenkorb Aktion bearbeiten'
|
||||
edit_promotion_coupon: 'Aktionscode bearbeiten'
|
||||
edit_report: 'Bericht editieren'
|
||||
edit_shipping_address: 'Versandadresse bearbeiten'
|
||||
|
|
@ -302,6 +308,7 @@ sylius:
|
|||
editing_payment_method: 'Zahlart editieren'
|
||||
editing_permission: 'Berechtigung editieren'
|
||||
editing_product: 'Produkt editieren'
|
||||
editing_promotion: 'Bearbeite Warenkorb Aktion'
|
||||
editing_review: 'Rezension bearbeiten'
|
||||
editing_role: 'Rolle editieren'
|
||||
editing_shipment: 'Lieferung bearbeiten'
|
||||
|
|
@ -344,6 +351,10 @@ sylius:
|
|||
filter: 'Filter'
|
||||
filters: 'Filter'
|
||||
first_name: 'Vorname'
|
||||
fixed_discount: 'Fixer Rabatt'
|
||||
for_products: 'Für Produkte'
|
||||
for_taxons: 'Für Produktgruppen'
|
||||
for_variants: 'Für Varianten'
|
||||
forgot_password: 'Passwort vergessen?'
|
||||
from: 'Von'
|
||||
from_a_to_z: 'Von A nach Z'
|
||||
|
|
@ -387,6 +398,7 @@ sylius:
|
|||
imagine_blocks: 'Bild Blöcke'
|
||||
impersonate: 'Benutzerübernahme'
|
||||
in: 'In'
|
||||
inactive: 'Inaktiv'
|
||||
included_in_price: 'Im Preis inbegriffen'
|
||||
index_metadata: 'Metadaten'
|
||||
index_of_all_configured_locales: 'Übersicht der konfigurierten Gebietsschemen'
|
||||
|
|
@ -451,6 +463,7 @@ sylius:
|
|||
manage_customer_groups: 'Kundengruppen verwalten'
|
||||
manage_customers: 'Kunden verwalten'
|
||||
manage_discounts_and_promotional_campaigns: 'Verwaltung der Rabatte und Promotionen'
|
||||
manage_discounts_on_product_catalog: 'Aktionen auf Produktkatalog verwalten'
|
||||
manage_emails: 'E-Mails verwalten'
|
||||
manage_exchange_rates: 'Wechselkurse verwalten'
|
||||
manage_geographical_zones: 'Länderverwaltung'
|
||||
|
|
@ -462,6 +475,7 @@ sylius:
|
|||
manage_payment_methods_available_to_your_customers: 'Verwaltung der Zahlungsmethoden deiner Kunden'
|
||||
manage_payments: 'Zahlungen verwalten'
|
||||
manage_products: 'Produkte verwalten'
|
||||
manage_promotions: 'Warenkorb Aktionen verwalten'
|
||||
manage_reviews: 'Rezensionen verwalten'
|
||||
manage_reviews_of_your_products: 'Produktbewertungen bearbeiten'
|
||||
manage_shipments: 'Verwalten'
|
||||
|
|
@ -492,6 +506,7 @@ sylius:
|
|||
meta_keywords: 'Metastichwörter'
|
||||
metadata_index: 'Metadaten'
|
||||
method: 'Methode'
|
||||
minimum_price: 'Mindestpreis'
|
||||
modified: 'Geändert'
|
||||
money: 'Geld'
|
||||
most_expensive_first: 'Teuerste zuerst'
|
||||
|
|
@ -503,6 +518,7 @@ sylius:
|
|||
need_assistance: 'Benötigen Sie Hilfe?'
|
||||
new: 'Neu'
|
||||
new_admin_user: 'Neuer Administrator'
|
||||
new_catalog_promotion: 'Neue Katalog Aktion'
|
||||
new_channel: 'Neuer Kanal'
|
||||
new_comment_posted_on_order: 'Neuer Kommentar zu einer Bestellung'
|
||||
new_country: 'Neues Land'
|
||||
|
|
@ -523,6 +539,7 @@ sylius:
|
|||
new_product_attribute: 'Neues Produkt Attribut'
|
||||
new_product_option: 'Neue Produktoption'
|
||||
new_product_variant: 'Neue Produktvariante'
|
||||
new_promotion: 'Neue Warenkorb Aktion'
|
||||
new_promotion_coupon: 'Neuer Promotionscode'
|
||||
new_review: 'Neue Rezension'
|
||||
new_role: 'Neue Rolle'
|
||||
|
|
@ -619,6 +636,7 @@ sylius:
|
|||
pending: 'Ausstehend'
|
||||
per_customer_usage_limit: 'Verbrauchslimit pro Kunde'
|
||||
percent: 'Prozent'
|
||||
percentage_discount: 'Prozentsatz Rabatt'
|
||||
permissions: 'Berechtigungen'
|
||||
personal_information: 'Persönliche Informationen'
|
||||
phone_number: 'Telefonnummer'
|
||||
|
|
@ -663,6 +681,7 @@ sylius:
|
|||
promotion_discount: 'Rabatt'
|
||||
promotion_information: 'Aktionsinformationen'
|
||||
promotion_total: 'Rabatt gesamt'
|
||||
promotions: 'Warenkorb Aktion'
|
||||
properties: 'Eigenschaften'
|
||||
province: 'Bundesland'
|
||||
provinces: 'Bundesländer'
|
||||
|
|
@ -718,6 +737,7 @@ sylius:
|
|||
save_changes: 'Änderungen speichern'
|
||||
save_positions: 'Positionen speichern'
|
||||
scope: 'Umfang'
|
||||
scopes: 'Geltungsbereiche'
|
||||
search: 'Suche'
|
||||
search_products: 'Artikel suchen'
|
||||
security_settings: 'Sicherheitseinstellungen'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue