From 3b1878dd7812f23159471b4d5384a4f1c9671737 Mon Sep 17 00:00:00 2001 From: tetragon Date: Fri, 3 Nov 2006 01:57:14 +0000 Subject: String updates git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@473 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/admin.pl | 8 ++++---- bin/login.pl | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/admin.pl b/bin/admin.pl index 4913b9b3..1922e692 100755 --- a/bin/admin.pl +++ b/bin/admin.pl @@ -404,7 +404,7 @@ sub form_header { # is there a templates basedir if (! -d "${LedgerSMB::Sysconfig::templates}") { - $form->error($locale->text('Directory').": ${LedgerSMB::Sysconfig::templates} ".$locale->text('does not exist')); + $form->error($locale->text('Directory [_1] does not exist', ${LedgerSMB::Sysconfig::templates})); } opendir TEMPLATEDIR, "${LedgerSMB::Sysconfig::templates}/." or $form->error("$templates : $!"); @@ -772,7 +772,7 @@ sub save { $temp = LedgerSMB::User->new("${LedgerSMB::Sysconfig::memberfile}", "$form->{login}"); if ($temp->{login}) { - $form->error("$form->{login} ".$locale->text('is already a member!')); + $form->error($locale->text('[_1] is already a member!', $form->{login})); } } @@ -787,7 +787,7 @@ sub save { # is there a basedir if (! -d "${LedgerSMB::Sysconfig::templates}") { - $form->error($locale->text('Directory').": ${LedgerSMB::Sysconfig::templates} ".$locale->text('does not exist')); + $form->error($locale->text('Directory [_1] does not exist', ${LedgerSMB::Sysconfig::templates})); } # add base directory to $form->{templates} @@ -1356,7 +1356,7 @@ sub dbcreate {

$form->{title}

| - .$locale->text('Dataset')." $form->{db} ".$locale->text('successfully created!') + .$locale->text('Dataset [_1] successfully created!', $form->{db}) .qq| diff --git a/bin/login.pl b/bin/login.pl index 9eb63200..8fbfefd9 100755 --- a/bin/login.pl +++ b/bin/login.pl @@ -286,7 +286,7 @@ sub login { $form->header; print qq||; - print $locale->text('Upgrading to Version')." $form->{version} ... "; + print $locale->text('Upgrading to Version [_1] ...', $form->{version}); # required for Oracle $form->{dbdefault} = $sid; -- cgit v1.2.3