Prepare head message of privacy policy settings page for translation

This commit is contained in:
Pierre HUBERT 2021-02-20 11:25:53 +01:00
parent 93ef106499
commit 98352c1c50

View File

@ -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 <a href='"+ServerConfig.conf.privacy_policy_url+"' target='_blank'>Privacy Policy</a> and our <a href='"+ServerConfig.conf.terms_url+"' target='_blank'>Terms of use</a>."
innerHTML: tr(
"We give an high importance to our users privacy. Please take some time to check our <a href='%privacy_policy_url%' target='_blank'>Privacy Policy</a> and our <a href='%terms_url%' target='_blank'>Terms of use</a>.",
{
"privacy_policy_url" :ServerConfig.conf.privacy_policy_url,
"terms_url": ServerConfig.conf.terms_url,
}
)
})
},