Some changes to make translation easier.
authorpallo <pallo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 28 Mar 2000 12:09:28 +0000 (12:09 +0000)
committerpallo <pallo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 28 Mar 2000 12:09:28 +0000 (12:09 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@347 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/abook_ldap_server.php
functions/abook_local_file.php
functions/addressbook.php

index 3ed9e413634655e6d924370a779b52e6873d0d4d..dcf189d39419e9e26b1594bb5192286aff5023b3 100644 (file)
@@ -53,7 +53,7 @@
         
         $this->open(true);
        } else {
         
         $this->open(true);
        } else {
-        $this->set_error(_("Invalid argument to constructor"));
+        $this->set_error("Invalid argument to constructor");
        }
      }
 
        }
      }
 
index 7e25b115d63a99d9df72302dd6c4f0dde86c5993..3ad5dec293c7b16c4335b248573d236ae8a88173 100644 (file)
@@ -48,7 +48,7 @@
 
         $this->open(true);
        } else {
 
         $this->open(true);
        } else {
-        $this->set_error(_("Invalid argument to constructor"));
+        $this->set_error("Invalid argument to constructor");
        }
      }
 
        }
      }
 
index eec06b7e3faae968157775e6c8b0b58f931b9d86..c57fdb241ce81c6f24a6d9a5b6b4de4eccb4f5e8 100644 (file)
@@ -26,7 +26,7 @@
       $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);
         exit;
       }
      
         exit;
       }
      
 
         // 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");
            return false;
         }
 
            return false;
         }