From 58b8c346ea2ea1ea525c0bb0415207b3a53f4478 Mon Sep 17 00:00:00 2001 From: Sage Abdullah Date: Sun, 4 Dec 2022 10:43:56 +0000 Subject: [PATCH] Add warning if repo and/or category has not been filled out --- components/Configuration.tsx | 8 ++++++++ locales/ar/config.json | 1 + locales/de/config.json | 1 + locales/en/config.json | 1 + locales/es/config.json | 1 + locales/fr/config.json | 1 + locales/id/config.json | 1 + locales/it/config.json | 1 + locales/ja/config.json | 1 + locales/ko/config.json | 1 + locales/nl/config.json | 1 + locales/pl/config.json | 1 + locales/pt/config.json | 1 + locales/ro/config.json | 1 + locales/ru/config.json | 1 + locales/th/config.json | 1 + locales/tr/config.json | 1 + locales/vi/config.json | 1 + locales/zh-CN/config.json | 1 + locales/zh-TW/config.json | 1 + styles/base.css | 2 ++ 21 files changed, 29 insertions(+) diff --git a/components/Configuration.tsx b/components/Configuration.tsx index 406ac75c0..19e0a690d 100644 --- a/components/Configuration.tsx +++ b/components/Configuration.tsx @@ -548,6 +548,14 @@ export default function Configuration({ directConfig, onDirectConfigChange }: IC

+ {!config.repositoryId || (!config.category && config.mapping !== 'number') ? ( +
+ , acategory: }} + /> +
+ ) : null}
           {'<'}
diff --git a/locales/ar/config.json b/locales/ar/config.json
index 027f254a4..868e423cc 100644
--- a/locales/ar/config.json
+++ b/locales/ar/config.json
@@ -76,6 +76,7 @@
 
   "enableGiscus": "تفعيل غيسكوس",
   "addTheFollowingScriptTag": "أضف