From 90d1135904b3119ca19d92bf8bb20f99b22ccaab Mon Sep 17 00:00:00 2001 From: jacr13 Date: Thu, 8 Sep 2022 01:14:35 +0200 Subject: [PATCH] fix url description and add english translation --- app/static/settings/translations.json | 1 + app/templates/index.html | 11 +++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/static/settings/translations.json b/app/static/settings/translations.json index 9199414..b244363 100644 --- a/app/static/settings/translations.json +++ b/app/static/settings/translations.json @@ -26,6 +26,7 @@ "config-tor": "Use Tor", "config-get-only": "GET Requests Only", "config-url": "Root URL", + "config-url-pref": "Preferences URL", "config-css": "Custom CSS", "load": "Load", "apply": "Apply", diff --git a/app/templates/index.html b/app/templates/index.html index 13a22ac..19cb684 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -236,10 +236,13 @@ {{ config.style.replace('\t', '') }} -
- - -
+ {% if config.preferences %} +
+ + +
+ {% endif %} +