summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-03 01:57:14 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-03 01:57:14 +0000
commit3b1878dd7812f23159471b4d5384a4f1c9671737 (patch)
tree03c1a10fd9087e98c80220cd1c8f4476df1b10fc
parent387f2ba1cf919bcfe5fc5bad77e194cf8a3efdfc (diff)
String updates
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@473 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xbin/admin.pl8
-rwxr-xr-xbin/login.pl2
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 {
<center>
<h2>$form->{title}</h2>
<form method="post" action="$form->{script}">|
- .$locale->text('Dataset')." $form->{db} ".$locale->text('successfully created!')
+ .$locale->text('Dataset [_1] successfully created!', $form->{db})
.qq|
<input type="hidden" name="path" value="$form->{path}" />
<input type="hidden" name="sessionid" value="$form->{sessionid}" />
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|<body>|;
- print $locale->text('Upgrading to Version')." $form->{version} ... ";
+ print $locale->text('Upgrading to Version [_1] ...', $form->{version});
# required for Oracle
$form->{dbdefault} = $sid;