Skip to content

Commit 76d629f

Browse files
author
Till Brehm
committed
Merge branch 'goaccess-pt-lang-selection' into 'develop'
Use pt_BR as a substitute for pt_PT as pt_BR is the only translation provided by GoAccess See merge request ispconfig/ispconfig3!1183
2 parents 8b9a510 + 119a63a commit 76d629f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

server/lib/classes/cron.d/150-goaccess.inc.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,11 @@ public function onRunJob() {
201201
$cust_lang = 'en_UK.UTF-8';
202202
break;
203203
case 'br':
204-
$cust_lang = 'pt_PT.UTF-8';
204+
$cust_lang = 'pt_BR.UTF-8';
205205
break;
206+
case 'pt':
207+
$cust_lang = 'pt_BR.UTF-8';
208+
break;
206209
case 'ca':
207210
$cust_lang = 'en_US.UTF-8';
208211
break;

0 commit comments

Comments
 (0)