git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@347
7612ce4b-ef26-0410-bec9-
ea0150e637f0
$this->open(true);
} else {
$this->open(true);
} else {
- $this->set_error(_("Invalid argument to constructor"));
+ $this->set_error("Invalid argument to constructor");
$this->open(true);
} else {
$this->open(true);
} else {
- $this->set_error(_("Invalid argument to constructor"));
+ $this->set_error("Invalid argument to constructor");
$r = $abook->add_backend("local_file", Array("filename" => $filename,
"create" => true));
if(!$r) {
$r = $abook->add_backend("local_file", Array("filename" => $filename,
"create" => true));
if(!$r) {
- print _("Error opening ") ."$filename";
+ printf(_("Error opening file %s"), $filename);
// Check that specified backend accept new entries
if(!$this->backends[$bnum]->writeable) {
// Check that specified backend accept new entries
if(!$this->backends[$bnum]->writeable) {
- $this->error = _("Addressbook is not writable");
+ $this->error = _("Addressbook is read-only");