From b2a72da2194e2a97d78eee328f04b56dd07cf174 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 8 Jan 2022 02:34:19 +0000 Subject: [PATCH] Enable Melay translation --- app/__init__.py | 5 +++-- app/templates/base.html | 26 ++++++++++---------------- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/app/__init__.py b/app/__init__.py index 5a1000d..1708177 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -34,8 +34,9 @@ app.config["FLATPAGES_MARKDOWN_EXTENSIONS"] = MARKDOWN_EXTENSIONS app.config["FLATPAGES_EXTENSION_CONFIG"] = MARKDOWN_EXTENSION_CONFIG app.config["BABEL_TRANSLATION_DIRECTORIES"] = "../translations" app.config["LANGUAGES"] = { - "en": "English", - "fr": "Français", + "en": "English", + "fr": "Français", + "ms": "Bahasa Melayu", } app.config.from_pyfile(os.environ["FLASK_CONFIG"]) diff --git a/app/templates/base.html b/app/templates/base.html index b5a5b4f..fbe107b 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -173,22 +173,16 @@