Updates for translations

This commit is contained in:
HackerNCoder 2022-08-26 23:57:51 +02:00
parent 88400c9c2e
commit 6d5dbb8967
3 changed files with 3 additions and 2 deletions

View file

@ -6,6 +6,7 @@ pipeline:
- apt-get install -y git ca-certificates gettext wget python3-pip python3-babel - apt-get install -y git ca-certificates gettext wget python3-pip python3-babel
- wget https://gitlab.torproject.org/tpo/tpa/ci-templates/-/raw/main/lektor-requirements.txt -O requirements.txt - wget https://gitlab.torproject.org/tpo/tpa/ci-templates/-/raw/main/lektor-requirements.txt -O requirements.txt
- python3 -m pip install --require-hashes -r requirements.txt - python3 -m pip install --require-hashes -r requirements.txt
- git clone https://lab.encryptionin.space/Queerscriptors/weblate-website.git i18n
- lektor build --output-path public - lektor build --output-path public
publish: publish:
image: debian image: debian

View file

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="{{ this.alt }}">
{% include 'meta.html' %} {% include 'meta.html' %}
<body id="page-top"> <body id="page-top">
{% block page %} {% block page %}

View file

@ -7,7 +7,7 @@
<meta name="og:type" content="website" /> <meta name="og:type" content="website" />
<meta name="og:image" content="{{ '/images/ogp.png'|url(absolute=True,external=True) }}" /> <meta name="og:image" content="{{ '/images/ogp.png'|url(absolute=True,external=True) }}" />
<meta name="og:url" content="{{ '.'|url(absolute=True,external=True) }}" /> <meta name="og:url" content="{{ '.'|url(absolute=True,external=True) }}" />
<meta name="og:description" content="A community of people that translate queer games" /> <meta name="og:description" content="{{ _("A community of people that translate queer games") }}" />
<title>{{ this.title }}</title> <title>{{ this.title }}</title>
<link rel="icon" type="image/svg+xml" href="{{ '/images/favicon.svg'|asseturl }}" /> <link rel="icon" type="image/svg+xml" href="{{ '/images/favicon.svg'|asseturl }}" />