From 28eff2e09b532052f9dd1b4cfcdadf466cb6e66e Mon Sep 17 00:00:00 2001
From: Guy Halse <guy@tenet.ac.za>
Date: Fri, 5 Aug 2016 09:07:44 +0200
Subject: [PATCH] Add the existing Afrikaans translation into the list of
 supported languages so that South African users don't need to go editing
 code.

---
 config-templates/config.php   | 2 +-
 templates/includes/header.php | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/config-templates/config.php b/config-templates/config.php
index a2c102f48..bd28e7958 100644
--- a/config-templates/config.php
+++ b/config-templates/config.php
@@ -609,7 +609,7 @@ $config = array(
     'language.available' => array(
         'en', 'no', 'nn', 'se', 'da', 'de', 'sv', 'fi', 'es', 'fr', 'it', 'nl', 'lb', 'cs',
         'sl', 'lt', 'hr', 'hu', 'pl', 'pt', 'pt-br', 'tr', 'ja', 'zh', 'zh-tw', 'ru', 'et',
-        'he', 'id', 'sr', 'lv', 'ro', 'eu', 'el'
+        'he', 'id', 'sr', 'lv', 'ro', 'eu', 'el', 'af'
     ),
     'language.rtl' => array('ar', 'dv', 'fa', 'ur', 'he'),
     'language.default' => 'en',
diff --git a/templates/includes/header.php b/templates/includes/header.php
index 7591a1b49..de8454d19 100644
--- a/templates/includes/header.php
+++ b/templates/includes/header.php
@@ -180,6 +180,7 @@ if($onLoad !== '') {
 						'lv' => 'Latviešu', // Latvian
 						'ro' => 'Românește', // Romanian
 						'eu' => 'Euskara', // Basque
+						'af' => 'Afrikaans', // Afrikaans
 			);
 			
 			$textarray = array();
-- 
GitLab