summaryrefslogtreecommitdiff
path: root/pos.conf.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-25 04:12:28 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-25 04:12:28 +0000
commit607d006837906e0ad95a4f5f032117efade097dd (patch)
tree73a7b9c9345655ccc53a3ee99b671467edfe9dfd /pos.conf.pl
parentd257dc368e8d02f84b69c10a838a720b24c54c89 (diff)
Made POS memo fields translatable and added sort to the fields
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@298 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'pos.conf.pl')
-rw-r--r--pos.conf.pl12
1 files changed, 7 insertions, 5 deletions
diff --git a/pos.conf.pl b/pos.conf.pl
index 64827f6f..e89e69ce 100644
--- a/pos.conf.pl
+++ b/pos.conf.pl
@@ -34,11 +34,13 @@ $pos_config{'close_cash_accno'} = 1060;
$pos_config{till_cash} = 200;
# Add your sources here.
-$pos_sources{'visa'} = "Visa/MC";
-$pos_sources{'disc'} = "Discover";
-$pos_sources{'check'} = 'Check';
-$pos_sources{'cash'} = 'Cash';
-$pos_sources{'gcert'} = 'Gift Cert';
+$pos_sources{'visa'} = $locale->text("Visa/MC");
+$pos_sources{'disc'} = $locale->text("Discover");
+$pos_sources{'check'} = $locale->text('Check');
+$pos_sources{'cash'} = $locale->text('Cash');
+$pos_sources{'gcert'} = $locale->text('Gift Cert');
+
+$pos_source_default = 'cash';
# 1 for source = memo
# 2 for credit card handling