From f5e100112684e3f76523ec018b5bfc212e6104d5 Mon Sep 17 00:00:00 2001 From: Brian (bex) Exelbierd Date: Dec 15 2017 08:59:09 +0000 Subject: updating pot generation paths --- diff --git a/_l10n/make_pot.sh b/_l10n/make_pot.sh index 2c44757..359aba5 100755 --- a/_l10n/make_pot.sh +++ b/_l10n/make_pot.sh @@ -13,11 +13,11 @@ for file in $( find -L $dir -name "*.adoc" ); do mkdir -p pot/$path fi echo po4a-gettextize -f asciidoc -m $file -p pot/$potname --master-charset "UTF-8" -o debug split_attributelist - PERLLIB=~/Repositories/Fedora-Docs/po4a/lib po4a-gettextize -f asciidoc -m $file -p pot/$potname --master-charset "UTF-8" -o debug split_attributelist + PERLLIB=../../po4a/lib po4a-gettextize -f asciidoc -m $file -p pot/$potname --master-charset "UTF-8" -o debug split_attributelist done echo po4a-gettextize -f yaml -o keys=Name -m ../_topic_map.yml -p pot/_topic_map.yml.pot --master-charset "UTF-8" -PERLLIB=~/Repositories/Fedora-Docs/po4a/lib po4a-gettextize -f yaml -o keys=Name -m ../_topic_map.yml -p pot/_topic_map.yml.pot --master-charset "UTF-8" +PERLLIB=../../po4a/lib po4a-gettextize -f yaml -o keys=Name -m ../_topic_map.yml -p pot/_topic_map.yml.pot --master-charset "UTF-8" echo po4a-gettextize -f yaml -o keys="Name site_name" -m ../_distro_map.yml -p pot/_distro_map.yml.pot --master-charset "UTF-8" -PERLLIB=~/Repositories/Fedora-Docs/po4a/lib po4a-gettextize -f yaml -o keys="Name site_name" -m ../_distro_map.yml -p pot/_distro_map.yml.pot --master-charset "UTF-8" +PERLLIB=../../po4a/lib po4a-gettextize -f yaml -o keys="Name site_name" -m ../_distro_map.yml -p pot/_distro_map.yml.pot --master-charset "UTF-8" diff --git a/_l10n/use_pot.sh b/_l10n/use_pot.sh index 9a32dbc..943be5e 100755 --- a/_l10n/use_pot.sh +++ b/_l10n/use_pot.sh @@ -14,16 +14,16 @@ for file in $( find -L $dir -name "*.adoc" ); do fi if [ -e po/$potname.$lang.po ]; then echo po4a-translate -f asciidoc -m $file -p po/$potname.$lang.po --master-charset "UTF-8" --localized-charset "UTF-8" -l $file -o debug split_attributelist -k 0 - PERLLIB=~/Repositories/Fedora-Docs/po4a/lib po4a-translate -f asciidoc -m $file -p po/$potname.$lang.po --master-charset "UTF-8" --localized-charset "UTF-8" -l $file -o debug split_attributelist -k 0 + PERLLIB=../../po4a/lib po4a-translate -f asciidoc -m $file -p po/$potname.$lang.po --master-charset "UTF-8" --localized-charset "UTF-8" -l $file -o debug split_attributelist -k 0 fi done if [ -e po/_topic_map.yml.$lang.po ]; then echo po4a-translate -f yaml -o keys=Name -m ../_topic_map.yml -p po/_topic_map.yml.$lang.po --master-charset "UTF-8" --localized-charset "UTF-8" -l ../_topic_map.yml -k 0 - PERLLIB=~/Repositories/Fedora-Docs/po4a/lib po4a-translate -f yaml -o keys=Name -m ../_topic_map.yml -p po/_topic_map.yml.$lang.po --master-charset "UTF-8" --localized-charset "UTF-8" -l ../_topic_map.yml -k 0 + PERLLIB=../../po4a/lib po4a-translate -f yaml -o keys=Name -m ../_topic_map.yml -p po/_topic_map.yml.$lang.po --master-charset "UTF-8" --localized-charset "UTF-8" -l ../_topic_map.yml -k 0 fi if [ -e po/_distro_map.yml.$lang.po ]; then echo po4a-translate -f yaml -o keys="Name site_name" -m ../_distro_map.yml -p po/_distro_map.yml.$lang.po --master-charset "UTF-8" --localized-charset "UTF-8" -l ../_distro_map.yml -k 0 - PERLLIB=~/Repositories/Fedora-Docs/po4a/lib po4a-translate -f yaml -o keys="Name site_name" -m ../_distro_map.yml -p po/_distro_map.yml.$lang.po --master-charset "UTF-8" --localized-charset "UTF-8" -l ../_distro_map.yml -k 0 + PERLLIB=../../po4a/lib po4a-translate -f yaml -o keys="Name site_name" -m ../_distro_map.yml -p po/_distro_map.yml.$lang.po --master-charset "UTF-8" --localized-charset "UTF-8" -l ../_distro_map.yml -k 0 fi