[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [473] trunk/bin



Revision: 473
          http://svn.sourceforge.net/ledger-smb/?rev=473&view=rev
Author:   tetragon
Date:     2006-11-02 17:57:14 -0800 (Thu, 02 Nov 2006)

Log Message:
-----------
String updates

Modified Paths:
--------------
    trunk/bin/admin.pl
    trunk/bin/login.pl

Modified: trunk/bin/admin.pl
===================================================================
--- trunk/bin/admin.pl	2006-11-03 01:27:50 UTC (rev 472)
+++ trunk/bin/admin.pl	2006-11-03 01:57:14 UTC (rev 473)
@@ -404,7 +404,7 @@
 
 	# 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 @@
 		$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 @@
 
 	# 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 @@
 	<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}" />

Modified: trunk/bin/login.pl
===================================================================
--- trunk/bin/login.pl	2006-11-03 01:27:50 UTC (rev 472)
+++ trunk/bin/login.pl	2006-11-03 01:57:14 UTC (rev 473)
@@ -286,7 +286,7 @@
 
 			$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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.