From 98352c1c50717ff8176fbf5a1a6b0bb14d4c4bbf Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 20 Feb 2021 11:25:53 +0100 Subject: [PATCH] Prepare head message of privacy policy settings page for translation --- assets/js/pages/settings/sections/privacy.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/assets/js/pages/settings/sections/privacy.js b/assets/js/pages/settings/sections/privacy.js index 36fff8cb..9832d799 100644 --- a/assets/js/pages/settings/sections/privacy.js +++ b/assets/js/pages/settings/sections/privacy.js @@ -74,7 +74,13 @@ const SettingsPrivacySection = { createElem2({ appendTo: boxBody, type: "p", - innerHTML: "We give an high importance to our users privacy. Please take some time to check our Privacy Policy and our Terms of use." + innerHTML: tr( + "We give an high importance to our users privacy. Please take some time to check our Privacy Policy and our Terms of use.", + { + "privacy_policy_url" :ServerConfig.conf.privacy_policy_url, + "terms_url": ServerConfig.conf.terms_url, + } + ) }) },