From cf88b7ce8c0aa8d7ac23822076305f7cde7c2647 Mon Sep 17 00:00:00 2001 From: cxxxr Date: Wed, 22 May 2024 12:46:48 +0900 Subject: [PATCH] =?UTF-8?q?sample.properties=E3=81=ABACCEPT-LANGUAGE?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sample.properties | 3 +++ src/main/java/jp/pokepay/partnerapi/Config.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/sample.properties b/sample.properties index d3305c4..1cdd664 100644 --- a/sample.properties +++ b/sample.properties @@ -4,3 +4,6 @@ API_BASE_URL = https://partnerapi-sandbox.pokepay.jp PKCS12_FILE = certkey.p12 PKCS12_PASSWORD = changeit + +ACCEPT-LANGUAGE = en + diff --git a/src/main/java/jp/pokepay/partnerapi/Config.java b/src/main/java/jp/pokepay/partnerapi/Config.java index 6281397..7eae1a6 100644 --- a/src/main/java/jp/pokepay/partnerapi/Config.java +++ b/src/main/java/jp/pokepay/partnerapi/Config.java @@ -30,6 +30,6 @@ public Config(File file) throws ConfigFileNotFoundException, ProcessingError { this.baseUrl = properties.getProperty("API_BASE_URL"); this.p12File = file.toPath().getParent().resolve(properties.getProperty("PKCS12_FILE")).toString(); this.p12Password = properties.getProperty("PKCS12_PASSWORD"); - this.acceptLanguage = properties.getProperty("ACCEPT-LANGUAGE", "jp"); + this.acceptLanguage = properties.getProperty("ACCEPT-LANGUAGE", "en"); } }