From 04b8c9aa476bfb43475910f91f68436b2ec76cff Mon Sep 17 00:00:00 2001 From: TurtIeSocks <58572875+TurtIeSocks@users.noreply.github.com> Date: Thu, 20 Oct 2022 20:42:34 -0400 Subject: [PATCH] add locale selector - Add locale selection to loginPage/donationPage/motd - Set type = "localeSelection" in the config --- package.json | 2 +- src/components/layout/custom/Generator.jsx | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9f318cb2c..5017cfc52 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "reactmap", - "version": "1.6.4", + "version": "1.6.5", "description": "React based frontend map.", "main": "ReactMap.js", "author": "TurtIeSocks <58572875+TurtIeSocks@users.noreply.github.com>", diff --git a/src/components/layout/custom/Generator.jsx b/src/components/layout/custom/Generator.jsx index 5dc4ac5a2..9f90028d8 100644 --- a/src/components/layout/custom/Generator.jsx +++ b/src/components/layout/custom/Generator.jsx @@ -11,6 +11,7 @@ import Telegram from '../auth/Telegram' import CustomText from './CustomText' import CustomButton from './CustomButton' import CustomImg from './CustomImg' +import LocaleSelection from '../general/LocaleSelection' export default function Generator({ block = {}, @@ -45,6 +46,12 @@ export default function Generator({ getServerSettings={getServerSettings} /> ) + case 'localeSelection': + return ( + + ) case 'parent': return (