Hello Koha Folks, RMaint fellows,
Struggling with translation issues at each release I've started to write a script to fix "most" small translation issues. The script is to be executed in Koha's source folder after merging the translation branch.
Best,
Arthur

--
Arthur Suzuki, 🌈🏔️
Développeur @BibLibre
junitmsgfmt misc/translator/po/* | grep failure | grep -e "[^>:]*.po:[0-9]*" -o 
> translate-errors
for line in $(cat translate-errors)
do
    file=$(echo $line|cut -d':' -f1)
    from=$(echo $line|cut -d':' -f2)
    sed -i -e "$((from -6)),$((from))s/#,/#, fuzzy,/" $file
done
    
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/

Reply via email to