[slbackup-commit] CVS update: slbackup-php/src index.php
finnarne-guest at alioth.debian.org
finnarne-guest at alioth.debian.org
Fri Apr 13 11:03:04 UTC 2007
User: finnarne-guest
Date: 07/04/13 11:03:04
Modified: src index.php
Log:
Preparred localization of index.php
Revision Changes Path
1.9 +5 -5 slbackup-php/src/index.php
Index: index.php
===================================================================
RCS file: /cvsroot/slbackup/slbackup-php/src/index.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- index.php 13 Apr 2007 09:20:34 -0000 1.8
+++ index.php 13 Apr 2007 11:03:04 -0000 1.9
@@ -302,12 +302,12 @@
break ;
case "delclient":
if (empty ($client)) {
- printf ("No client specified :(<BR>\n") ;
+ printf (_("No client specified :(") . "<BR>\n") ;
break ;
}
$pos = array_search($client, array_keys ($config["clients"])) ;
if ($pos === false)
- printf ("Unable to find %s in the list of clients<BR>\n",
+ printf (_("Unable to find %s in the list of clients.") . "<BR>\n",
$client) ;
else {
array_splice ($config["clients"],
@@ -341,7 +341,7 @@
$pos = array_search ($newconf["location"],
$config["clients"][$client]["location"]) ;
if ($pos === false)
- printf ("Unable to find %s in the locations of %s<BR>\n",
+ printf (_("Unable to find %s in the locations of %s.") . "<BR>\n",
$newconf["location"], $client) ;
else
array_splice ($config["clients"][$client]["location"],
@@ -384,9 +384,9 @@
$smarty->assign ('client_type', $config["clients"][$client]["type"]) ;
$smarty->assign ('clientuser', $config["clients"][$client]["user"]) ;
if ($submit == "addclient")
- $smarty->assign ('clientsubmit', "Add") ;
+ $smarty->assign ('clientsubmit', _("Add")) ;
else
- $smarty->assign ('clientsubmit', "Update") ;
+ $smarty->assign ('clientsubmit', _("Update")) ;
$smarty->assign ('locations', $config["clients"][$client]["location"]) ;
$smarty->display ('config.tpl') ;
?>
More information about the slbackup-commit
mailing list