From 152f04c0a728d6303b46f196da9686d47046a9af Mon Sep 17 00:00:00 2001 From: Rafael Ferreira Date: Wed, 16 Jul 2014 12:18:58 -0300 Subject: [PATCH] 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. --- linux_various/generate_pot.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux_various/generate_pot.sh b/linux_various/generate_pot.sh index ed7552cc0b..53cb0535fd 100644 --- a/linux_various/generate_pot.sh +++ b/linux_various/generate_pot.sh @@ -19,7 +19,7 @@ ###################################################################### # Script configuration ###################################################################### -VERSION=0.9.9 +VERSION=1.3.0 COPYRIGHT="PCSX2 Dev Team" 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" for po_file in `find ./locales -iname pcsx2_Main.po` do - msgmerge --update $po_file $MAIN_POT + msgmerge --previous --update $po_file $MAIN_POT done echo "Update pcsx2_Iconized.po files" for po_file in `find ./locales -iname pcsx2_Iconized.po` do - msgmerge --update $po_file $ICO_POT + msgmerge --previous --update $po_file $ICO_POT done ######################################################################