diff options
author | Dan McGee <dan@archlinux.org> | 2011-01-21 11:04:52 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-21 11:04:52 -0600 |
commit | 76735e6519c9dd7a3efee2613070588b5a1b12ac (patch) | |
tree | 1bca598998aeb4b29c9ed272e38c848bc869c016 /doc/.gitignore | |
parent | 85d0111da8413dc7879f6259afc0e5621c2d2634 (diff) |
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/.gitignore')
0 files changed, 0 insertions, 0 deletions