From 20280ea9a50e02b701155805d0f77b9fdd0d33fb Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Fri, 07 Feb 2020 08:05:34 +0000
Subject: [PATCH] Force application language to pl

---
 debian/rules |    2 +-
 pzsigner     |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/debian/rules b/debian/rules
index 65f5cb0..dc8cd55 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 NAME = pzsigner
 VERSION = 1.0
 PACKAGENAME = pzsigner
-PACKAGEVERSION = $(VERSION)-3
+PACKAGEVERSION = $(VERSION)-4
 URL = "https://pz.gov.pl/PZ%20Signer/linux/x86"
 BASENAME = pzsigner.zip
 
diff --git a/pzsigner b/pzsigner
index baa4ea1..891a7c3 100755
--- a/pzsigner
+++ b/pzsigner
@@ -4,6 +4,7 @@
 
 cd /opt/pzsigner
 java -Dfile.encoding=UTF8 \
+	-Duser.language=pl \
 	"-Dpz.signer.pkcs11.libpath=${PKCS11_LIBRARY}" \
 	-cp 'classes:lib/*' \
 	com.pentacomp.signer.Application

--
Gitblit v1.9.1