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:
|
||||
image: python:3.8-bullseye
|
||||
commands:
|
||||
- echo Etc/UTC > /etc/timezone
|
||||
- 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 update
|
||||
- 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
|
||||
- python3 -m pip install --require-hashes -r requirements.txt
|
||||
|
|
|
@ -13,7 +13,6 @@ type = sort_key
|
|||
[fields.type]
|
||||
label = Type
|
||||
type = boolean
|
||||
checkbox_label = true for type 1
|
||||
|
||||
[fields.title]
|
||||
label = Title
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
<h4 class="text-white">{{ project.title }}</h4>
|
||||
<p class="mb-0 text-white-80">{{ project.body }}</p>
|
||||
<hr class="d-none d-lg-block mb-0" />
|
||||
<a href="https://littleroot.net/weblate/engage/{{project.weblate}}/">
|
||||
<img src="https://littleroot.net/weblate/widgets/{{project.weblate}}/-/svg-badge.svg" alt="Translation status" />
|
||||
<a href="https://littleroot.net/weblate/engage/{{ project.weblate }}/">
|
||||
<img src="https://littleroot.net/weblate/widgets/{{ project.weblate }}/-/svg-badge.svg" alt="Translation status" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue