From 115b5e624e22212b0b0ba8db852bfec7a402c3fe Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 1 May 2017 12:39:42 +0100 Subject: [PATCH] captive: Show message when an invalid coupon code was entered Signed-off-by: Michael Tremer --- doc/language_issues.en | 1 + langs/en/cgi-bin/en.pl | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/language_issues.en b/doc/language_issues.en index ee4eb01519..1a22e2836f 100644 --- a/doc/language_issues.en +++ b/doc/language_issues.en @@ -9,6 +9,7 @@ WARNING: translation string unused: Captive err doublevoucher WARNING: translation string unused: Captive expire WARNING: translation string unused: Captive heading terms WARNING: translation string unused: Captive heading voucher +WARNING: translation string unused: Captive invalid coupon WARNING: translation string unused: Captive invalid logosize WARNING: translation string unused: Captive invalid_voucher WARNING: translation string unused: Captive ip diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index c0fff16071..6c92e9d794 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -31,6 +31,7 @@ 'Captive generate coupon' => 'Generate Coupon', 'Captive heading terms' => 'Terms & Conditions', 'Captive heading voucher' => 'Voucher or Access Code', +'Captive invalid coupon' => 'You entered an invalid coupon code. Please try again.', 'Captive invalid logosize' => 'The uploaded image file does not meet the required resolution of at least 1280x400 but not larger than 1920x800 pixels', 'Captive invalid_voucher' => 'Invalid code. Please try again', 'Captive ip' => 'IP Address', -- 2.39.2