From 1e62e50ead1ee33a2ce730c834c64f5b1dd5eb50 Mon Sep 17 00:00:00 2001 From: pallo Date: Tue, 28 Mar 2000 12:09:28 +0000 Subject: [PATCH] Some changes to make translation easier. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@347 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/abook_ldap_server.php | 2 +- functions/abook_local_file.php | 2 +- functions/addressbook.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/abook_ldap_server.php b/functions/abook_ldap_server.php index 3ed9e413..dcf189d3 100644 --- a/functions/abook_ldap_server.php +++ b/functions/abook_ldap_server.php @@ -53,7 +53,7 @@ $this->open(true); } else { - $this->set_error(_("Invalid argument to constructor")); + $this->set_error("Invalid argument to constructor"); } } diff --git a/functions/abook_local_file.php b/functions/abook_local_file.php index 7e25b115..3ad5dec2 100644 --- a/functions/abook_local_file.php +++ b/functions/abook_local_file.php @@ -48,7 +48,7 @@ $this->open(true); } else { - $this->set_error(_("Invalid argument to constructor")); + $this->set_error("Invalid argument to constructor"); } } diff --git a/functions/addressbook.php b/functions/addressbook.php index eec06b7e..c57fdb24 100644 --- a/functions/addressbook.php +++ b/functions/addressbook.php @@ -26,7 +26,7 @@ $r = $abook->add_backend("local_file", Array("filename" => $filename, "create" => true)); if(!$r) { - print _("Error opening ") ."$filename"; + printf(_("Error opening file %s"), $filename); exit; } @@ -201,7 +201,7 @@ // Check that specified backend accept new entries if(!$this->backends[$bnum]->writeable) { - $this->error = _("Addressbook is not writable"); + $this->error = _("Addressbook is read-only"); return false; } -- 2.25.1