浏览代码

string typo

Thijs Kinkhorst 20 年之前
父节点
当前提交
2a8241b7df
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      functions/abook_database.php
  2. 2 2
      functions/abook_local_file.php

+ 2 - 2
functions/abook_database.php

@@ -313,7 +313,7 @@ class abook_database extends addressbook_backend {
         /* See if user exist already */
         $ret = $this->lookup($userdata['nickname']);
         if (!empty($ret)) {
-            return $this->set_error(sprintf(_("User '%s' already exist"),
+            return $this->set_error(sprintf(_("User '%s' already exists"),
                                             $ret['nickname']));
         }
 
@@ -424,4 +424,4 @@ class abook_database extends addressbook_backend {
 } /* End of class abook_database */
 
 // vim: et ts=4
-?>
+?>

+ 2 - 2
functions/abook_local_file.php

@@ -357,7 +357,7 @@ class abook_local_file extends addressbook_backend {
         /* See if user exists already */
         $ret = $this->lookup($userdata['nickname']);
         if(!empty($ret)) {
-            return $this->set_error(sprintf(_("User '%s' already exist"),
+            return $this->set_error(sprintf(_("User '%s' already exists"),
                    $ret['nickname']));
         }
 
@@ -503,4 +503,4 @@ class abook_local_file extends addressbook_backend {
     }
 
 } /* End of class abook_local_file */
-?>
+?>