summaryrefslogtreecommitdiffstats
path: root/doc/PKGBUILD-example.txt
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-21 18:04:52 +0100
committerDan McGee <dan@archlinux.org>2011-01-21 18:04:52 +0100
commit76735e6519c9dd7a3efee2613070588b5a1b12ac (patch)
tree1bca598998aeb4b29c9ed272e38c848bc869c016 /doc/PKGBUILD-example.txt
parent85d0111da8413dc7879f6259afc0e5621c2d2634 (diff)
downloadpacman-76735e6519c9dd7a3efee2613070588b5a1b12ac.tar.gz
pacman-76735e6519c9dd7a3efee2613070588b5a1b12ac.tar.xz
Copy new backend translation over from frontend translation
Since it is the same string. Done with some bash looping and sed magic. for src in po/*.po; do echo $src newtrans=$(grep -A1 "msgid.*$1" $src | tail -n1) newtrans=${newtrans//\\/\\\\} echo "$newtrans" fname=${src##*/} dest=lib/libalpm/po/$fname sed -i -e "/msgid.*$1/{N; s/msgstr.*$/$newtrans/}" $dest done Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc/PKGBUILD-example.txt')
0 files changed, 0 insertions, 0 deletions