Keep previous translation

When updating existing PO files with the newly created POT files, keep previous msgids of translated messsages (as fuzzy). This allows translators to compare previous and current msgid strings and then identify what has changed, resulting in a faster translation activity and a more consistent GUI.
This commit is contained in:
Rafael Ferreira 2014-07-16 12:18:58 -03:00
parent 527d58c9c3
commit 152f04c0a7
1 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@
###################################################################### ######################################################################
# Script configuration # Script configuration
###################################################################### ######################################################################
VERSION=0.9.9 VERSION=1.3.0
COPYRIGHT="PCSX2 Dev Team" COPYRIGHT="PCSX2 Dev Team"
BUG_MAIL="https://github.com/PCSX2/pcsx2/issues" BUG_MAIL="https://github.com/PCSX2/pcsx2/issues"
@ -94,13 +94,13 @@ sed --in-place $ICO_POT --expression=s/'\"Content-Transfer-Encoding: 8bit\\n\"'/
echo "Update pcsx2_Main.po files" echo "Update pcsx2_Main.po files"
for po_file in `find ./locales -iname pcsx2_Main.po` for po_file in `find ./locales -iname pcsx2_Main.po`
do do
msgmerge --update $po_file $MAIN_POT msgmerge --previous --update $po_file $MAIN_POT
done done
echo "Update pcsx2_Iconized.po files" echo "Update pcsx2_Iconized.po files"
for po_file in `find ./locales -iname pcsx2_Iconized.po` for po_file in `find ./locales -iname pcsx2_Iconized.po`
do do
msgmerge --update $po_file $ICO_POT msgmerge --previous --update $po_file $ICO_POT
done done
###################################################################### ######################################################################