projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88e1c41
)
new i18n string
author
Alain Peyrat
<aljeux@free.fr>
Tue, 24 Feb 2009 10:23:05 +0000
(10:23 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Tue, 24 Feb 2009 10:23:05 +0000
(10:23 +0000)
gforge/common/include/account.php
patch
|
blob
|
history
diff --git
a/gforge/common/include/account.php
b/gforge/common/include/account.php
index aa346d72e3ccc7d78e0185477b49cc988653288d..20401e5e7b18d6df88907dd280e6baf7f8c28808 100644
(file)
--- a/
gforge/common/include/account.php
+++ b/
gforge/common/include/account.php
@@
-70,7
+70,7
@@
function account_namevalid($name) {
if (eregi("^((root)|(bin)|(daemon)|(adm)|(lp)|(sync)|(shutdown)|(halt)|(mail)|(news)"
. "|(uucp)|(operator)|(games)|(mysql)|(httpd)|(nobody)|(dummy)"
. "|(www)|(cvs)|(shell)|(ftp)|(irc)|(debian)|(ns)|(download))$",$name)) {
- $GLOBALS['register_error'] =
"Name is reserved."
;
+ $GLOBALS['register_error'] =
_('Name is reserved.')
;
return 0;
}
if ( exec("getent passwd $name") != "" ){