From 6fb18e1649cb607f025e99179196c39da649d82c Mon Sep 17 00:00:00 2001 From: billz Date: Mon, 23 Oct 2017 17:37:59 +0000 Subject: [PATCH] Added gettext for i18n support --- index.php | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/index.php b/index.php index 1c1eb921..79f4f0b6 100755 --- a/index.php +++ b/index.php @@ -44,6 +44,7 @@ define('RASPI_OPENVPN_ENABLED', false ); define('RASPI_TORPROXY_ENABLED', false ); include_once( RASPI_CONFIG.'/raspap.php' ); +include_once( 'includes/locale.php'); include_once( 'includes/functions.php' ); include_once( 'includes/dashboard.php' ); include_once( 'includes/authenticate.php' ); @@ -84,7 +85,7 @@ $theme_url = 'dist/css/' . $theme; - Raspbian WiFi Configuration Portal + <?php echo _("Raspbian WiFi Configuration Portal"); ?> @@ -127,7 +128,7 @@ $theme_url = 'dist/css/' . $theme; - RaspAP Wifi Portal v1.2.2 + @@ -136,35 +137,35 @@ $theme_url = 'dist/css/' . $theme;