Vaultwarden : emails templates en français

Documenté https://github.com/dani-garcia/vaultwarden/wiki/Translating-the-email-templates
Le depot avec les traductions est https://github.com/YoanSimco/vaultwarden-lang-fr

Validé pour 1.28.1 mais incomplet pour 1.30.x (pas de commit depuis Mai 2023), il serait a améliorer (contribuer)
This commit is contained in:
Gitouche 2024-04-09 18:45:25 +02:00
parent 293c7c57a8
commit a6cbdd7ab0

View file

@ -12,6 +12,11 @@ buildfolder=/tmp/vaultwarden-$$
if ! podman image exists ${service_image}:${service_version}; then if ! podman image exists ${service_image}:${service_version}; then
mkdir ${buildfolder} && mkdir ${buildfolder} &&
if git clone --depth=1 --branch=${service_version%%-*} https://github.com/dani-garcia/vaultwarden.git ${buildfolder}/ ; then if git clone --depth=1 --branch=${service_version%%-*} https://github.com/dani-garcia/vaultwarden.git ${buildfolder}/ ; then
vaultwardenlangfrfolder=/tmp/vaultwardenlangfrfolder-$$
if git clone --depth=1 https://github.com/YoanSimco/vaultwarden-lang-fr.git ${vaultwardenlangfrfolder}/; then
install -v ${vaultwardenlangfrfolder}/email/* ${buildfolder}/src/static/templates/email/
fi
rm -rf ${vaultwardenlangfrfolder}
TMPDIR=${HOME} DB='postgresql,enable_mimalloc' CONTAINER_REGISTRIES='git.garbaye.fr/garbaye/vaultwarden' BASE_TAGS=${service_version%%-*} ${buildfolder}/docker/podman-bake.sh || retval=false TMPDIR=${HOME} DB='postgresql,enable_mimalloc' CONTAINER_REGISTRIES='git.garbaye.fr/garbaye/vaultwarden' BASE_TAGS=${service_version%%-*} ${buildfolder}/docker/podman-bake.sh || retval=false
podman image prune -a -f --filter dangling=true podman image prune -a -f --filter dangling=true
podman image prune -a -f --filter intermediate=true podman image prune -a -f --filter intermediate=true