File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
* License: GNU/GPLv2
9
9
* @see LICENSE.txt
10
10
*
11
- * This file: PHPMailer-phpMussel linker (last modified: 2023.09.27 ).
11
+ * This file: PHPMailer-phpMussel linker (last modified: 2023.12.02 ).
12
12
*/
13
13
14
14
namespace phpMussel \PHPMailer ;
@@ -269,9 +269,9 @@ public function __invoke(string $NotUsed, array $Data): bool
269
269
*/
270
270
private function mapLanguage (string $ Language ): string
271
271
{
272
- if ($ Language === 'zh ' ) {
272
+ if ($ Language === 'zh ' || $ Language === ' zh-CN ' || $ Language === ' zh-SG ' ) {
273
273
$ Language = 'zh_cn ' ;
274
- } elseif ($ Language === 'zh-TW ' ) {
274
+ } elseif ($ Language === 'zh-TW ' || $ Language === ' zh-HK ' || $ Language === ' zh-MO ' ) {
275
275
$ Language = 'zh ' ;
276
276
}
277
277
$ Try = sprintf (
You can’t perform that action at this time.
0 commit comments