[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [408] trunk/LedgerSMB/Locale.pm



Revision: 408
          http://svn.sourceforge.net/ledger-smb/?rev=408&view=rev
Author:   tetragon
Date:     2006-10-30 16:16:12 -0800 (Mon, 30 Oct 2006)

Log Message:
-----------
Allow $locale->text to handle parameters for strings

Modified Paths:
--------------
    trunk/LedgerSMB/Locale.pm

Modified: trunk/LedgerSMB/Locale.pm
===================================================================
--- trunk/LedgerSMB/Locale.pm	2006-10-30 23:51:47 UTC (rev 407)
+++ trunk/LedgerSMB/Locale.pm	2006-10-31 00:16:12 UTC (rev 408)
@@ -39,8 +39,8 @@
 });
 
 sub text {
-	my ($self, $text) = @_;
-	return encode_entities($self->maketext($text));
+	my ($self, $text, @params) = @_;
+	return encode_entities($self->maketext($text, @params));
 }
 
 ##sub date {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.