From 6ad625812a77dc1a63b3c88792b588de11ae8f3c Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Tue, 9 Sep 2025 16:01:04 -0400 Subject: Add a default language constant (#7933) This replace the use of `en` through out the code. --- app/Controllers/configureController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controllers/configureController.php') diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php index e69b46323..993982184 100644 --- a/app/Controllers/configureController.php +++ b/app/Controllers/configureController.php @@ -45,7 +45,7 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController { */ public function displayAction(): void { if (Minz_Request::isPost()) { - $language = Minz_Request::paramString('language') ?: 'en'; + $language = Minz_Request::paramString('language') ?: Minz_Translate::DEFAULT_LANGUAGE; if (Minz_Translate::exists($language)) { FreshRSS_Context::userConf()->language = $language; } -- cgit v1.2.3