← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~linuxdcpp-team/linuxdcpp/linuxdcpp-i18n] Rev 389: Rename method to be scons-like

 

------------------------------------------------------------
revno: 389
committer: Steven Sheehy <steven.sheehy@xxxxxxxxx>
branch nick: linuxdcpp-i18n
timestamp: Mon 2010-10-11 00:42:52 -0500
message:
  Rename method to be scons-like
modified:
  SConstruct
  dcpp/SConscript


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

Your team LinuxDC++ Team is subscribed to branch lp:~linuxdcpp-team/linuxdcpp/linuxdcpp-i18n.
To unsubscribe from this branch go to https://code.launchpad.net/~linuxdcpp-team/linuxdcpp/linuxdcpp-i18n/+edit-subscription
=== modified file 'SConstruct'
--- SConstruct	2010-10-11 05:37:01 +0000
+++ SConstruct	2010-10-11 05:42:52 +0000
@@ -160,7 +160,7 @@
 mo_build = Builder(action = Action([mo_args], 'Compiling message catalog $TARGET from $SOURCES'))
 env.Append(BUILDERS = {'MoBuild' : mo_build})
 
-env.AddMethod(generate_message_catalogs)
+env.AddMethod(generate_message_catalogs, 'GenerateMessageCatalogs')
 
 
 # ----------------------------------------------------------------------
@@ -332,7 +332,7 @@
 	env.MergePotFiles(source = [glade_pot_file, linux_pot_file], target = 'po/%s.pot' % PACKAGE)
 
 	po_files = env.Glob('po/*.po', strings = True)
-	env.generate_message_catalogs(env, po_files)
+	env.GenerateMessageCatalogs(env, po_files)
 
 
 # ----------------------------------------------------------------------

=== modified file 'dcpp/SConscript'
--- dcpp/SConscript	2010-10-11 05:37:01 +0000
+++ dcpp/SConscript	2010-10-11 05:42:52 +0000
@@ -10,7 +10,7 @@
 # Build the dcpp files and create the library
 libdcpp  = env.StaticLibrary(target = 'dcpp', source = dcpp_files)
 
-env.generate_message_catalogs(env, po_files)
+env.GenerateMessageCatalogs(env, po_files)
 
 Return('libdcpp')