From 12678ad9ee0768e86797dabd6ccf65a5cf488a0a Mon Sep 17 00:00:00 2001 From: Henk De Groot <13550012+henkdegroot@users.noreply.github.com> Date: Wed, 29 Mar 2023 00:30:40 +0200 Subject: [PATCH] Update po4a create script to set location for copyright file Update po4a create script to set the correct location for copyright file so that is is used in translated version of the website. --- _po4a-tools/po4a-create-all-targets.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_po4a-tools/po4a-create-all-targets.sh b/_po4a-tools/po4a-create-all-targets.sh index f368599d2..b9c17279e 100755 --- a/_po4a-tools/po4a-create-all-targets.sh +++ b/_po4a-tools/po4a-create-all-targets.sh @@ -1,7 +1,7 @@ #!/bin/bash # This script creates the target translations from the .po files -# po4a >= 0.63 is required, see https://github.com/mquinson/po4a/releases +# po4a >= 0.68 is required, see https://github.com/mquinson/po4a/releases # You can set the following variables: # SRC_DIR: directory for the original documents in English. Files in sub-directories within SRC_DIR are also detected. # PO_DIR: directory where the .po files are stored @@ -78,7 +78,7 @@ process_with_po4a () { # Get source doc names and set target file names and dirs filename=$(basename "$doc" .$ext) - if [[ $filename == 'general' || $filename == 'navigation' ]] ; then + if [[ $filename == 'general' || $filename == 'navigation' || $filename == 'copyright' ]] ; then TARG_DIR="$DATA_DIR" else