From 3de07eb565101db637da7b0ca4294ed316b62eaf Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 17 Dec 2021 14:58:46 +0100 Subject: [PATCH] Activate Catalan language Signed-off-by: Thomas Citharel --- admin/check.php | 1 + app/inc/init.php | 1 + tpl/admin/config.tpl | 1 + 3 files changed, 3 insertions(+) diff --git a/admin/check.php b/admin/check.php index 30cfed4..018f2e2 100644 --- a/admin/check.php +++ b/admin/check.php @@ -46,6 +46,7 @@ $ALLOWED_LANGUAGES = [ 'de' => 'Deutsch', 'it' => 'Italiano', 'br' => 'Brezhoneg', + 'ca' => 'Català', ]; const DEFAULT_LANGUAGE = 'en'; require_once ROOT_DIR . 'app/inc/i18n.php'; diff --git a/app/inc/init.php b/app/inc/init.php index 9950cfb..a32a7f5 100644 --- a/app/inc/init.php +++ b/app/inc/init.php @@ -55,6 +55,7 @@ if (is_file(CONF_FILENAME)) { 'de' => 'Deutsch', 'it' => 'Italiano', 'br' => 'Brezhoneg', + 'ca' => 'Català' ]; } diff --git a/tpl/admin/config.tpl b/tpl/admin/config.tpl index 253d283..f787bfa 100644 --- a/tpl/admin/config.tpl +++ b/tpl/admin/config.tpl @@ -59,6 +59,7 @@ $ALLOWED_LANGUAGES = [ 'nl' => 'Dutch', 'it' => 'Italiano', 'br' => 'Brezhoneg', + 'ca' => 'Català', ]; // Path to image file with the title