diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-31 00:16:12 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-31 00:16:12 +0000 |
commit | 0f96d26ac9c15929c407b4004becf3ba2f137a86 (patch) | |
tree | f71489fd332b3412d88a221530501fb5cdd0d69c | |
parent | c86c528318290c6dff4de16a7c7c98d1ff7ad2aa (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
-rw-r--r-- | LedgerSMB/Locale.pm | 4 |
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 { |