From 8c9d0dd27b02c743212bd72ec0ddecd1cd2b5aba Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 24 Mar 2015 15:14:31 -0400 Subject: [PATCH] LOCALE: Add newly created MO files --- locale/updatetrans.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/locale/updatetrans.sh b/locale/updatetrans.sh index b662a4d686..e201ab8dc3 100755 --- a/locale/updatetrans.sh +++ b/locale/updatetrans.sh @@ -21,7 +21,10 @@ for file in `find -name 'BOINC-Manager.po'` ; do then # Compile the PO file into an MO file. - pocompile ${template_name}.po ${template_name}.mo + pocompile ${template_name}.po ${template_name}.mo + + # Add the updated file to git + git add ${template_name}.mo # Touch each file to adjust timestamps touch ${template_name}.po @@ -41,6 +44,9 @@ for file in `find -name 'BOINC-Client.po'` ; do # Compile the PO file into an MO file. pocompile ${template_name}.po ${template_name}.mo + + # Add the updated file to git + git add ${template_name}.mo # Touch each file to adjust timestamps touch ${template_name}.po @@ -60,6 +66,9 @@ for file in `find -name 'BOINC-Web.po'` ; do # Compile the PO file into an MO file. pocompile ${template_name}.po ${template_name}.mo + + # Add the updated file to git + git add ${template_name}.mo # Touch each file to adjust timestamps touch ${template_name}.po @@ -79,6 +88,9 @@ for file in `find -name 'BOINC-Setup.po'` ; do # Compile the PO file into an MO file. pocompile ${template_name}.po ${template_name}.mo + + # Add the updated file to git + git add ${template_name}.mo # Touch each file to adjust timestamps touch ${template_name}.po