percentage discounts
Some checks failed
CI / Check Style (push) Has been cancelled
CI / Run Clippy (push) Has been cancelled
CI / Run Tests (push) Has been cancelled

This commit is contained in:
Priec
2026-06-21 22:41:30 +02:00
parent 9ce1cb97f0
commit ed566b5347
5 changed files with 161 additions and 28 deletions

View File

@@ -213,12 +213,19 @@ admin-discounts = Discounts
admin-discounts-desc = Set discounted product prices. A discount shows up as a sale in the shop.
on-sale = On sale
no-discount = No discount
discount = Discount
set-discount = Set discount
remove-discount = Remove discount
discount-hint = Enter the discounted price (below the regular price). Leave empty to remove the discount.
discount-mode-fixed = Fixed price
discount-mode-percent = Percentage
discount-percent = Discount (%)
discount-preview-before = Original price
discount-preview-after = New price
discount-preview-save = You save
discount-invalid = Invalid price.
discount-must-be-positive = The sale price must be greater than zero.
discount-below-regular = The sale price must be below the regular price.
discount-percent-range = The percentage must be between 0 and 100.
stock = Stock
sku = SKU
currency = Currency

View File

@@ -213,12 +213,19 @@ admin-discounts = Zľavy
admin-discounts-desc = Nastavte zľavnené ceny produktov. Zľava sa v obchode zobrazí ako akcia.
on-sale = V akcii
no-discount = Bez zľavy
discount = Zľava
set-discount = Nastaviť zľavu
remove-discount = Zrušiť zľavu
discount-hint = Zadajte zľavnenú cenu (nižšiu ako bežná cena). Nechajte prázdne pre zrušenie zľavy.
discount-mode-fixed = Pevná cena
discount-mode-percent = Percentá
discount-percent = Zľava (%)
discount-preview-before = Pôvodná cena
discount-preview-after = Nová cena
discount-preview-save = Ušetríte
discount-invalid = Neplatná cena.
discount-must-be-positive = Zľavnená cena musí byť väčšia ako nula.
discount-below-regular = Zľavnená cena musí byť nižšia ako bežná cena.
discount-percent-range = Percento musí byť medzi 0 a 100.
stock = Sklad
sku = Kód (SKU)
currency = Mena