mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2025-07-02 09:42:35 +00:00
Support l10n of config strings (#2045)
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% extends "main.html" %}
|
||||
{% block extrahead %}
|
||||
<link rel="preload" href="{{ 'assets/brand/WOFF/bagnard/Bagnard.woff' | url }}" as="font" type="font/woff" crossorigin>
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/home.css?v=2.10.0' | url }}">
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
{% block tabs %}
|
||||
{{ super() }}
|
||||
|
27
theme/overrides/strings.en.html
Normal file
27
theme/overrides/strings.en.html
Normal file
@ -0,0 +1,27 @@
|
||||
{% macro t(key) %}{{ {
|
||||
|
||||
"language": "en",
|
||||
|
||||
"site.description": "Privacy Guides is your central privacy and security resource to protect yourself online.",
|
||||
|
||||
"theme.light": "Switch to light mode",
|
||||
|
||||
"theme.dark": "Switch to dark mode",
|
||||
|
||||
"theme.auto": "Switch to system theme",
|
||||
|
||||
"feedback.title": "Was this page helpful?",
|
||||
|
||||
"feedback.helpful.name": "This page was helpful",
|
||||
|
||||
"feedback.helpful.note": "Thanks for your feedback!",
|
||||
|
||||
"feedback.improve.name": "This page could be improved",
|
||||
|
||||
"feedback.improve.note": "Thanks for your feedback! Help us improve this page by opening a <a href='https://discuss.privacyguides.net/'>discussion on our forum</a>.",
|
||||
|
||||
"copyright.intro": "<b>Privacy Guides</b> is a non-profit, socially motivated website that provides information for protecting your data security and privacy.",
|
||||
|
||||
"copyright.affiliates": "We do not make money from recommending certain products, and we do not use affiliate links."
|
||||
|
||||
}[key] }}{% endmacro %}
|
5
theme/overrides/strings.fr.html
Normal file
5
theme/overrides/strings.fr.html
Normal file
@ -0,0 +1,5 @@
|
||||
{% macro t(key) %}{{ {
|
||||
|
||||
"language": "fr"
|
||||
|
||||
}[key] }}{% endmacro %}
|
5
theme/overrides/strings.he.html
Normal file
5
theme/overrides/strings.he.html
Normal file
@ -0,0 +1,5 @@
|
||||
{% macro t(key) %}{{ {
|
||||
|
||||
"language": "he"
|
||||
|
||||
}[key] }}{% endmacro %}
|
5
theme/overrides/strings.nl.html
Normal file
5
theme/overrides/strings.nl.html
Normal file
@ -0,0 +1,5 @@
|
||||
{% macro t(key) %}{{ {
|
||||
|
||||
"language": "nl"
|
||||
|
||||
}[key] }}{% endmacro %}
|
Reference in New Issue
Block a user