Trying to translate
This commit is contained in:
parent
ad982c8068
commit
e0788b1e37
12
.aptconf
12
.aptconf
|
@ -1,12 +0,0 @@
|
||||||
cat > /etc/apt/apt.conf.d/99gitlab <<EOF
|
|
||||||
quiet "1";
|
|
||||||
Acquire::Retries "20";
|
|
||||||
APT::Clean-Installed "1";
|
|
||||||
APT::Install-Recommends "0";
|
|
||||||
APT::Install-Suggests "0";
|
|
||||||
APT::Get::Assume-Yes "true";
|
|
||||||
Binary::apt::APT::Keep-Downloaded-Packages "1";
|
|
||||||
Dir::Cache::Archives "${APT_CACHE_DIR}/archives";
|
|
||||||
Dir::State::Lists "${APT_CACHE_DIR}/lists";
|
|
||||||
Dpkg::Use-Pty "0";
|
|
||||||
EOF
|
|
|
@ -2,16 +2,7 @@ pipeline:
|
||||||
build:
|
build:
|
||||||
image: python:3.8-bullseye
|
image: python:3.8-bullseye
|
||||||
commands:
|
commands:
|
||||||
- echo Etc/UTC > /etc/timezone
|
- apt-get update
|
||||||
- export LC_ALL=C.UTF-8
|
|
||||||
- export DEBIAN_FRONTEND=noninteractive
|
|
||||||
- export APT_CACHE_DIR="$(pwd)/.cache/apt"
|
|
||||||
- rm -f /etc/apt/apt.conf.d/docker-clean
|
|
||||||
- mkdir -p "${APT_CACHE_DIR}/archives"
|
|
||||||
- mkdir -p "${APT_CACHE_DIR}/lists"
|
|
||||||
- ./.aptconf
|
|
||||||
- apt-get update -qq
|
|
||||||
- apt-get upgrade -qy
|
|
||||||
- apt-get install -y git gettext ca-certificates wget python3-pip
|
- apt-get install -y git gettext ca-certificates wget python3-pip
|
||||||
- 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
|
||||||
|
|
|
@ -13,7 +13,6 @@ type = sort_key
|
||||||
[fields.type]
|
[fields.type]
|
||||||
label = Type
|
label = Type
|
||||||
type = boolean
|
type = boolean
|
||||||
checkbox_label = true for type 1
|
|
||||||
|
|
||||||
[fields.title]
|
[fields.title]
|
||||||
label = Title
|
label = Title
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
<h4 class="text-white">{{ project.title }}</h4>
|
<h4 class="text-white">{{ project.title }}</h4>
|
||||||
<p class="mb-0 text-white-80">{{ project.body }}</p>
|
<p class="mb-0 text-white-80">{{ project.body }}</p>
|
||||||
<hr class="d-none d-lg-block mb-0" />
|
<hr class="d-none d-lg-block mb-0" />
|
||||||
<a href="https://littleroot.net/weblate/engage/{{project.weblate}}/">
|
<a href="https://littleroot.net/weblate/engage/{{ project.weblate }}/">
|
||||||
<img src="https://littleroot.net/weblate/widgets/{{project.weblate}}/-/svg-badge.svg" alt="Translation status" />
|
<img src="https://littleroot.net/weblate/widgets/{{ project.weblate }}/-/svg-badge.svg" alt="Translation status" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue