From a15f759dcbb118f22dd34cb4524688d916003392 Mon Sep 17 00:00:00 2001
From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com>
Date: Sun, 19 Jan 2025 15:22:38 +0700
Subject: [PATCH] Update coupons-add.tpl
---
ui/ui/coupons-add.tpl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ui/ui/coupons-add.tpl b/ui/ui/coupons-add.tpl
index 137e2ccf..19c3d433 100644
--- a/ui/ui/coupons-add.tpl
+++ b/ui/ui/coupons-add.tpl
@@ -38,7 +38,7 @@
@@ -132,11 +132,11 @@
if (type === 'percent') {
valueInput.setAttribute('max', '100');
- valueInput.setAttribute('placeholder', 'Enter percentage');
+ valueInput.setAttribute('placeholder', '{Lang::T("Enter percentage")}');
helpText.textContent = '{Lang::T('Value of the discount (percentage, max 100)')}';
} else {
valueInput.removeAttribute('max');
- valueInput.setAttribute('placeholder', 'Enter amount');
+ valueInput.setAttribute('placeholder', '{Lang::T("Enter amount")}');
helpText.textContent = '{Lang::T('Value of the discount (amount)')}';
}
}
@@ -150,4 +150,4 @@
-{include file="sections/footer.tpl"}
\ No newline at end of file
+{include file="sections/footer.tpl"}