|
@@ -361,8 +361,8 @@ class abook_local_file extends addressbook_backend {
|
|
/* See if user exists already */
|
|
/* See if user exists already */
|
|
$ret = $this->lookup($userdata['nickname']);
|
|
$ret = $this->lookup($userdata['nickname']);
|
|
if(!empty($ret)) {
|
|
if(!empty($ret)) {
|
|
- return $this->set_error(sprintf(_("User %s already exists"),
|
|
|
|
- '"' . $ret['nickname'] . '"'));
|
|
|
|
|
|
+ // i18n: don't use html formating in translation
|
|
|
|
+ return $this->set_error(sprintf(_("User \"%s\" already exists"),$ret['nickname']));
|
|
}
|
|
}
|
|
|
|
|
|
/* Here is the data to write */
|
|
/* Here is the data to write */
|
|
@@ -454,8 +454,8 @@ class abook_local_file extends addressbook_backend {
|
|
/* See if user exists */
|
|
/* See if user exists */
|
|
$ret = $this->lookup($alias);
|
|
$ret = $this->lookup($alias);
|
|
if(empty($ret)) {
|
|
if(empty($ret)) {
|
|
- return $this->set_error(sprintf(_("User %s does not exist"),
|
|
|
|
- '"' . $alias . '"'));
|
|
|
|
|
|
+ // i18n: don't use html formating in translation
|
|
|
|
+ return $this->set_error(sprintf(_("User \"%s\" does not exist"),$alias));
|
|
}
|
|
}
|
|
|
|
|
|
/* Lock the file to make sure we're the only process working
|
|
/* Lock the file to make sure we're the only process working
|