[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [259] trunk/LedgerSMB/Form.pm
- Subject: SF.net SVN: ledger-smb: [259] trunk/LedgerSMB/Form.pm
- From: ..hidden..
- Date: Sat, 21 Oct 2006 11:13:25 -0700
Revision: 259
http://svn.sourceforge.net/ledger-smb/?rev=259&view=rev
Author: tetragon
Date: 2006-10-21 11:13:23 -0700 (Sat, 21 Oct 2006)
Log Message:
-----------
Reverse function translation lookup removal
Modified Paths:
--------------
trunk/LedgerSMB/Form.pm
Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm 2006-10-21 17:51:45 UTC (rev 258)
+++ trunk/LedgerSMB/Form.pm 2006-10-21 18:13:23 UTC (rev 259)
@@ -3142,16 +3142,7 @@
sub findsub {
my ($self, $text) = @_;
-
- if (exists $self{subs}{$text}) {
- $text = $self{subs}{$text};
- } else {
- if ($self->{countrycode} && $self->{NLS_file}) {
- Form->error("$text not defined in locale/$self->{countrycode}/$self->{NLS_file}");
- }
- }
-
- $text;
+ return $text;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.