summaryrefslogtreecommitdiff
path: root/LedgerSMB/Locale.pm
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-31 00:16:12 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-31 00:16:12 +0000
commit0f96d26ac9c15929c407b4004becf3ba2f137a86 (patch)
treef71489fd332b3412d88a221530501fb5cdd0d69c /LedgerSMB/Locale.pm
parentc86c528318290c6dff4de16a7c7c98d1ff7ad2aa (diff)
Allow $locale->text to handle parameters for strings
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@408 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/Locale.pm')
-rw-r--r--LedgerSMB/Locale.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/LedgerSMB/Locale.pm b/LedgerSMB/Locale.pm
index 5b1e7568..f9674d23 100644
--- a/LedgerSMB/Locale.pm
+++ b/LedgerSMB/Locale.pm
@@ -39,8 +39,8 @@ Locale::Maketext::Lexicon->import({
});
sub text {
- my ($self, $text) = @_;
- return encode_entities($self->maketext($text));
+ my ($self, $text, @params) = @_;
+ return encode_entities($self->maketext($text, @params));
}
##sub date {