← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~linuxdcpp-team/linuxdcpp/trunk] Rev 417: Fix the build failing when translation files contain errors

 

------------------------------------------------------------
revno: 417
committer: Steven Sheehy <steven.sheehy@xxxxxxxxx>
branch nick: trunk
timestamp: Mon 2011-03-28 00:34:08 -0500
message:
  Fix the build failing when translation files contain errors
modified:
  SConstruct
  po/linuxdcpp.pot


--
lp:linuxdcpp
https://code.launchpad.net/~linuxdcpp-team/linuxdcpp/trunk

Your team LinuxDC++ Team is subscribed to branch lp:linuxdcpp.
To unsubscribe from this branch go to https://code.launchpad.net/~linuxdcpp-team/linuxdcpp/trunk/+edit-subscription
=== modified file 'SConstruct'
--- SConstruct	2011-03-08 00:14:03 +0000
+++ SConstruct	2011-03-28 05:34:08 +0000
@@ -159,7 +159,8 @@
 merge_pot_builder = Builder(action = Action([merge_pot_args], 'Merging pot files $SOURCES to $TARGET'))
 env.Append(BUILDERS = {'MergePotFiles' : merge_pot_builder})
 
-mo_args = ['msgfmt', '-c', '-o', '$TARGET', '$SOURCE']
+# A dash in front of a command tells SCons to ignore any errors and continue
+mo_args = ['-msgfmt', '-c', '-o', '$TARGET', '$SOURCE']
 mo_build = Builder(action = Action([mo_args], 'Compiling message catalog $TARGET from $SOURCES'))
 env.Append(BUILDERS = {'MoBuild' : mo_build})
 

=== modified file 'po/linuxdcpp.pot'
--- po/linuxdcpp.pot	2011-03-18 11:15:56 +0000
+++ po/linuxdcpp.pot	2011-03-28 05:34:08 +0000
@@ -8,7 +8,7 @@
 "#-#-#-#-#  glade.pot  #-#-#-#-#\n"
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: https://translations.launchpad.net/linuxdcpp\n";
-"POT-Creation-Date: 2011-03-15 06:45+0200\n"
+"POT-Creation-Date: 2011-03-07 18:26-0600\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@xxxxxx>\n"
@@ -19,7 +19,7 @@
 "#-#-#-#-#  linux.pot  #-#-#-#-#\n"
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: https://translations.launchpad.net/linuxdcpp\n";
-"POT-Creation-Date: 2011-03-18 13:09+0200\n"
+"POT-Creation-Date: 2011-03-28 00:31-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@xxxxxx>\n"