summaryrefslogtreecommitdiffstats
path: root/src/util/testpkg.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-21 11:04:52 -0600
committerDan McGee <dan@archlinux.org>2011-01-21 11:04:52 -0600
commit76735e6519c9dd7a3efee2613070588b5a1b12ac (patch)
tree1bca598998aeb4b29c9ed272e38c848bc869c016 /src/util/testpkg.c
parent85d0111da8413dc7879f6259afc0e5621c2d2634 (diff)
downloadpacman-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 'src/util/testpkg.c')
0 files changed, 0 insertions, 0 deletions