Ctrl K
ComunidadGuías…

locales/update_po.sh

Rama master · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
#!/bin/bash

# Should we only update a language?
if [ $# -eq 1 ]
then
    echo "Updating language ${1}"
    msgmerge --no-fuzzy-matching --no-wrap -o "${1}.po" "${1}.po" messages.pot
else
    echo "Updating all tranlations"
    for lang in *.po
    do
        echo ${lang%.po}
        msgmerge --no-fuzzy-matching --no-wrap -o "$lang" "$lang" messages.pot
    done
fi