summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-21 18:13:23 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-21 18:13:23 +0000
commit2fc605b7ae3b92f85701cacf3a69c76fcb857f65 (patch)
tree8872be63b68a68fc22aa7dc01c3101bb36be4965 /LedgerSMB
parentaea558b1b941c8a7061f884211a6e5031e89b53c (diff)
Reverse function translation lookup removal
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@259 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/Form.pm11
1 files changed, 1 insertions, 10 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index ee1c42f9..a934440f 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -3142,16 +3142,7 @@ sub text {
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;
}