Skip to content

Commit 8e87b3d

Browse files
committed
ADD Support for SK, DE, RU languages
1 parent 6a8af2a commit 8e87b3d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Diff for: src/Gopay/Gopay.php

+6
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ class Gopay extends Object
101101
const LANG_CS = 'CS';
102102
/** @const English */
103103
const LANG_EN = 'EN';
104+
/** @const Slovak */
105+
const LANG_SK = 'SK';
106+
/** @const German */
107+
const LANG_DE = 'DE';
108+
/** @const Russian */
109+
const LANG_RU = 'RU';
104110

105111
/** @var Config */
106112
private $config;

Diff for: src/Gopay/Service/AbstractService.php

+3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ abstract class AbstractService extends Object
3131
protected $allowedLang = [
3232
Gopay::LANG_CS,
3333
Gopay::LANG_EN,
34+
Gopay::LANG_SK,
35+
Gopay::LANG_DE,
36+
Gopay::LANG_RU,
3437
];
3538

3639
/**

0 commit comments

Comments
 (0)