Initial commit

This commit is contained in:
2021-10-26 13:02:53 +02:00
commit 73843b66ce
4678 changed files with 319494 additions and 0 deletions

View File

@@ -0,0 +1,494 @@
<?php
/**
* Plaintext authentication backend
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Andreas Gohr <andi@splitbrain.org>
* @author Chris Smith <chris@jalakai.co.uk>
* @author Jan Schumann <js@schumann-it.com>
*/
class auth_plugin_authplain extends DokuWiki_Auth_Plugin
{
/** @var array user cache */
protected $users = null;
/** @var array filter pattern */
protected $pattern = array();
/** @var bool safe version of preg_split */
protected $pregsplit_safe = false;
/**
* Constructor
*
* Carry out sanity checks to ensure the object is
* able to operate. Set capabilities.
*
* @author Christopher Smith <chris@jalakai.co.uk>
*/
public function __construct()
{
parent::__construct();
global $config_cascade;
if (!@is_readable($config_cascade['plainauth.users']['default'])) {
$this->success = false;
} else {
if (@is_writable($config_cascade['plainauth.users']['default'])) {
$this->cando['addUser'] = true;
$this->cando['delUser'] = true;
$this->cando['modLogin'] = true;
$this->cando['modPass'] = true;
$this->cando['modName'] = true;
$this->cando['modMail'] = true;
$this->cando['modGroups'] = true;
}
$this->cando['getUsers'] = true;
$this->cando['getUserCount'] = true;
$this->cando['getGroups'] = true;
}
$this->pregsplit_safe = version_compare(PCRE_VERSION, '6.7', '>=');
}
/**
* Check user+password
*
* Checks if the given user exists and the given
* plaintext password is correct
*
* @author Andreas Gohr <andi@splitbrain.org>
* @param string $user
* @param string $pass
* @return bool
*/
public function checkPass($user, $pass)
{
$userinfo = $this->getUserData($user);
if ($userinfo === false) return false;
return auth_verifyPassword($pass, $this->users[$user]['pass']);
}
/**
* Return user info
*
* Returns info about the given user needs to contain
* at least these fields:
*
* name string full name of the user
* mail string email addres of the user
* grps array list of groups the user is in
*
* @author Andreas Gohr <andi@splitbrain.org>
* @param string $user
* @param bool $requireGroups (optional) ignored by this plugin, grps info always supplied
* @return array|false
*/
public function getUserData($user, $requireGroups = true)
{
if ($this->users === null) $this->loadUserData();
return isset($this->users[$user]) ? $this->users[$user] : false;
}
/**
* Creates a string suitable for saving as a line
* in the file database
* (delimiters escaped, etc.)
*
* @param string $user
* @param string $pass
* @param string $name
* @param string $mail
* @param array $grps list of groups the user is in
* @return string
*/
protected function createUserLine($user, $pass, $name, $mail, $grps)
{
$groups = join(',', $grps);
$userline = array($user, $pass, $name, $mail, $groups);
$userline = str_replace('\\', '\\\\', $userline); // escape \ as \\
$userline = str_replace(':', '\\:', $userline); // escape : as \:
$userline = join(':', $userline)."\n";
return $userline;
}
/**
* Create a new User
*
* Returns false if the user already exists, null when an error
* occurred and true if everything went well.
*
* The new user will be added to the default group by this
* function if grps are not specified (default behaviour).
*
* @author Andreas Gohr <andi@splitbrain.org>
* @author Chris Smith <chris@jalakai.co.uk>
*
* @param string $user
* @param string $pwd
* @param string $name
* @param string $mail
* @param array $grps
* @return bool|null|string
*/
public function createUser($user, $pwd, $name, $mail, $grps = null)
{
global $conf;
global $config_cascade;
// user mustn't already exist
if ($this->getUserData($user) !== false) {
msg($this->getLang('userexists'), -1);
return false;
}
$pass = auth_cryptPassword($pwd);
// set default group if no groups specified
if (!is_array($grps)) $grps = array($conf['defaultgroup']);
// prepare user line
$userline = $this->createUserLine($user, $pass, $name, $mail, $grps);
if (!io_saveFile($config_cascade['plainauth.users']['default'], $userline, true)) {
msg($this->getLang('writefail'), -1);
return null;
}
$this->users[$user] = compact('pass', 'name', 'mail', 'grps');
return $pwd;
}
/**
* Modify user data
*
* @author Chris Smith <chris@jalakai.co.uk>
* @param string $user nick of the user to be changed
* @param array $changes array of field/value pairs to be changed (password will be clear text)
* @return bool
*/
public function modifyUser($user, $changes)
{
global $ACT;
global $config_cascade;
// sanity checks, user must already exist and there must be something to change
if (($userinfo = $this->getUserData($user)) === false) {
msg($this->getLang('usernotexists'), -1);
return false;
}
// don't modify protected users
if (!empty($userinfo['protected'])) {
msg(sprintf($this->getLang('protected'), hsc($user)), -1);
return false;
}
if (!is_array($changes) || !count($changes)) return true;
// update userinfo with new data, remembering to encrypt any password
$newuser = $user;
foreach ($changes as $field => $value) {
if ($field == 'user') {
$newuser = $value;
continue;
}
if ($field == 'pass') $value = auth_cryptPassword($value);
$userinfo[$field] = $value;
}
$userline = $this->createUserLine(
$newuser,
$userinfo['pass'],
$userinfo['name'],
$userinfo['mail'],
$userinfo['grps']
);
if (!io_replaceInFile($config_cascade['plainauth.users']['default'], '/^'.$user.':/', $userline, true)) {
msg('There was an error modifying your user data. You may need to register again.', -1);
// FIXME, io functions should be fail-safe so existing data isn't lost
$ACT = 'register';
return false;
}
$this->users[$newuser] = $userinfo;
return true;
}
/**
* Remove one or more users from the list of registered users
*
* @author Christopher Smith <chris@jalakai.co.uk>
* @param array $users array of users to be deleted
* @return int the number of users deleted
*/
public function deleteUsers($users)
{
global $config_cascade;
if (!is_array($users) || empty($users)) return 0;
if ($this->users === null) $this->loadUserData();
$deleted = array();
foreach ($users as $user) {
// don't delete protected users
if (!empty($this->users[$user]['protected'])) {
msg(sprintf($this->getLang('protected'), hsc($user)), -1);
continue;
}
if (isset($this->users[$user])) $deleted[] = preg_quote($user, '/');
}
if (empty($deleted)) return 0;
$pattern = '/^('.join('|', $deleted).'):/';
if (!io_deleteFromFile($config_cascade['plainauth.users']['default'], $pattern, true)) {
msg($this->getLang('writefail'), -1);
return 0;
}
// reload the user list and count the difference
$count = count($this->users);
$this->loadUserData();
$count -= count($this->users);
return $count;
}
/**
* Return a count of the number of user which meet $filter criteria
*
* @author Chris Smith <chris@jalakai.co.uk>
*
* @param array $filter
* @return int
*/
public function getUserCount($filter = array())
{
if ($this->users === null) $this->loadUserData();
if (!count($filter)) return count($this->users);
$count = 0;
$this->constructPattern($filter);
foreach ($this->users as $user => $info) {
$count += $this->filter($user, $info);
}
return $count;
}
/**
* Bulk retrieval of user data
*
* @author Chris Smith <chris@jalakai.co.uk>
*
* @param int $start index of first user to be returned
* @param int $limit max number of users to be returned
* @param array $filter array of field/pattern pairs
* @return array userinfo (refer getUserData for internal userinfo details)
*/
public function retrieveUsers($start = 0, $limit = 0, $filter = array())
{
if ($this->users === null) $this->loadUserData();
ksort($this->users);
$i = 0;
$count = 0;
$out = array();
$this->constructPattern($filter);
foreach ($this->users as $user => $info) {
if ($this->filter($user, $info)) {
if ($i >= $start) {
$out[$user] = $info;
$count++;
if (($limit > 0) && ($count >= $limit)) break;
}
$i++;
}
}
return $out;
}
/**
* Retrieves groups.
* Loads complete user data into memory before searching for groups.
*
* @param int $start index of first group to be returned
* @param int $limit max number of groups to be returned
* @return array
*/
public function retrieveGroups($start = 0, $limit = 0)
{
$groups = [];
if ($this->users === null) $this->loadUserData();
foreach($this->users as $user => $info) {
$groups = array_merge($groups, array_diff($info['grps'], $groups));
}
if($limit > 0) {
return array_splice($groups, $start, $limit);
}
return array_splice($groups, $start);
}
/**
* Only valid pageid's (no namespaces) for usernames
*
* @param string $user
* @return string
*/
public function cleanUser($user)
{
global $conf;
return cleanID(str_replace(':', $conf['sepchar'], $user));
}
/**
* Only valid pageid's (no namespaces) for groupnames
*
* @param string $group
* @return string
*/
public function cleanGroup($group)
{
global $conf;
return cleanID(str_replace(':', $conf['sepchar'], $group));
}
/**
* Load all user data
*
* loads the user file into a datastructure
*
* @author Andreas Gohr <andi@splitbrain.org>
*/
protected function loadUserData()
{
global $config_cascade;
$this->users = $this->readUserFile($config_cascade['plainauth.users']['default']);
// support protected users
if (!empty($config_cascade['plainauth.users']['protected'])) {
$protected = $this->readUserFile($config_cascade['plainauth.users']['protected']);
foreach (array_keys($protected) as $key) {
$protected[$key]['protected'] = true;
}
$this->users = array_merge($this->users, $protected);
}
}
/**
* Read user data from given file
*
* ignores non existing files
*
* @param string $file the file to load data from
* @return array
*/
protected function readUserFile($file)
{
$users = array();
if (!file_exists($file)) return $users;
$lines = file($file);
foreach ($lines as $line) {
$line = preg_replace('/#.*$/', '', $line); //ignore comments
$line = trim($line);
if (empty($line)) continue;
$row = $this->splitUserData($line);
$row = str_replace('\\:', ':', $row);
$row = str_replace('\\\\', '\\', $row);
$groups = array_values(array_filter(explode(",", $row[4])));
$users[$row[0]]['pass'] = $row[1];
$users[$row[0]]['name'] = urldecode($row[2]);
$users[$row[0]]['mail'] = $row[3];
$users[$row[0]]['grps'] = $groups;
}
return $users;
}
/**
* Get the user line split into it's parts
*
* @param string $line
* @return string[]
*/
protected function splitUserData($line)
{
// due to a bug in PCRE 6.6, preg_split will fail with the regex we use here
// refer github issues 877 & 885
if ($this->pregsplit_safe) {
return preg_split('/(?<![^\\\\]\\\\)\:/', $line, 5); // allow for : escaped as \:
}
$row = array();
$piece = '';
$len = strlen($line);
for ($i=0; $i<$len; $i++) {
if ($line[$i]=='\\') {
$piece .= $line[$i];
$i++;
if ($i>=$len) break;
} elseif ($line[$i]==':') {
$row[] = $piece;
$piece = '';
continue;
}
$piece .= $line[$i];
}
$row[] = $piece;
return $row;
}
/**
* return true if $user + $info match $filter criteria, false otherwise
*
* @author Chris Smith <chris@jalakai.co.uk>
*
* @param string $user User login
* @param array $info User's userinfo array
* @return bool
*/
protected function filter($user, $info)
{
foreach ($this->pattern as $item => $pattern) {
if ($item == 'user') {
if (!preg_match($pattern, $user)) return false;
} elseif ($item == 'grps') {
if (!count(preg_grep($pattern, $info['grps']))) return false;
} else {
if (!preg_match($pattern, $info[$item])) return false;
}
}
return true;
}
/**
* construct a filter pattern
*
* @param array $filter
*/
protected function constructPattern($filter)
{
$this->pattern = array();
foreach ($filter as $item => $pattern) {
$this->pattern[$item] = '/'.str_replace('/', '\/', $pattern).'/i'; // allow regex characters
}
}
}

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Die gebruikersnaam wat jy gebruik het, is alreeds gebruik. Kies asseblief \'n ander gebruikersnaam.';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'عذرا، يوجد مشترك بنفس الاسم.';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Təssüf ki bu ad ilə istifadəçi artıq mövcuddur.';

View File

@@ -0,0 +1,9 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Kiril <neohidra@gmail.com>
*/
$lang['userexists'] = 'Вече съществува потребител с избраното име.';
$lang['usernotexists'] = 'За съжаление потребителят не съществува.';

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'দুঃখিত, এই লগইন সঙ্গে একটি ব্যবহারকারী ইতিমধ্যেই বিদ্যমান.';

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Disculpe, pero ya existix un usuari en este nom.';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Ja existeix un altre usuari amb aquest nom.';

View File

@@ -0,0 +1,12 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Jaroslav Lichtblau <jlichtblau@seznam.cz>
* @author Daniel Slováček <danslo@danslo.cz>
*/
$lang['userexists'] = 'Uživatel se stejným jménem už je zaregistrován.';
$lang['usernotexists'] = 'Omlouváme se, uživatel tohoto jména neexistuje.';
$lang['writefail'] = 'Nelze změnit údaje uživatele. Informujte prosím správce wiki';
$lang['protected'] = 'Data pro uživatele %s jsou chráněna a nemůžou být upravena nebo smazána.';

View File

@@ -0,0 +1,8 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Sori, mae defnyddiwr gyda\'r enw hwnnw eisoes yn bodoli.';
$lang['usernotexists'] = 'Sori, \'dyw\'r defnyddiwr hwnnw ddim yn bodoli.';
$lang['writefail'] = 'Methu â newid data defnyddiwr. Rhowch wybod i Weinydd y Wici';

View File

@@ -0,0 +1,12 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Jacob Palm <mail@jacobpalm.dk>
* @author Kenneth Schack Banner <kescba@gmail.com>
*/
$lang['userexists'] = 'Dette brugernavn er allerede i brug.';
$lang['usernotexists'] = 'Beklager, brugeren eksisterer ikke.';
$lang['writefail'] = 'Ude af stand til at redigere bruger data. Kontakt venligst Wiki-Administratoren';
$lang['protected'] = 'Data for brugeren %s er beskyttet, og kan ikke ændres eller slettes.';

View File

@@ -0,0 +1,11 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author rnck <dokuwiki@rnck.de>
*/
$lang['userexists'] = 'Der Benutzername existiert leider schon.';
$lang['usernotexists'] = 'Entschuldigung, dieser Nutzer existiert nicht.';
$lang['writefail'] = 'Konnte Nutzer-Daten nicht modifizieren. Bitte informiere einen Admin.';
$lang['protected'] = 'Die Daten für den Nutzer %s sind geschützt und können nicht verändert oder gelöscht werden.';

View File

@@ -0,0 +1,12 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Anika Henke <anika@selfthinker.org>
* @author Carsten Perthel <carsten@cpesoft.com>
*/
$lang['userexists'] = 'Der Benutzername existiert leider schon.';
$lang['usernotexists'] = 'Dieser Benutzer existiert nicht.';
$lang['writefail'] = 'Kann Benutzerdaten nicht ändern. Bitte informieren Sie den Wiki-Administratoren';
$lang['protected'] = 'Die Daten des Benutzers %s sind geschützt und können nicht verändert oder gelöscht werden.';

View File

@@ -0,0 +1,11 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Katerina Katapodi <extragold1234@hotmail.com>
*/
$lang['userexists'] = 'Αυτός ο λογαριασμός υπάρχει ήδη.';
$lang['usernotexists'] = 'Λυπάμαι, αυτός ο χρήστης δεν υπάρχει.';
$lang['writefail'] = 'Δεν μπόρεσε να τροποποιήσει τα δεδομένα χρήστη. Παρακαλώ ενημερώστε το Wiki-Admin';
$lang['protected'] = ' Τα δεδομένα χρήστη %s είναι εμπιστευτικά και δεν μπορούν να τροποποιηθούν ή απαλειφθούν.';

View File

@@ -0,0 +1,9 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Sorry, a user with this login already exists.';
$lang['usernotexists'] = 'Sorry, that user doesn\'t exist.';
$lang['writefail'] = 'Unable to modify user data. Please inform the Wiki-Admin';
$lang['protected'] = 'Data for user %s is protected and can not be modified or deleted.';

View File

@@ -0,0 +1,9 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Kristjan SCHMIDT <kristjan.schmidt@googlemail.com>
*/
$lang['userexists'] = 'Pardonu, ĉi tiu uzanto-nomo jam ekzistas.';
$lang['usernotexists'] = 'Pardonu, tiu uzanto ne ekzistas.';

View File

@@ -0,0 +1,12 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Domingo Redal <docxml@gmail.com>
* @author Enny Rodriguez <aquilez.4@gmail.com>
*/
$lang['userexists'] = 'Lo siento, ya existe un usuario con este nombre.';
$lang['usernotexists'] = 'Lo sentimos, no existe ese usuario.';
$lang['writefail'] = 'No es posible modificar los datos del usuario. Por favor, informa al Administrador del Wiki';
$lang['protected'] = 'Los datos del usuario %s están protegidos y no pueden ser modificados o eliminados.';

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Tegelikult on sellise nimega kasutaja juba olemas.';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Barkatu, izen bereko erabiltzailea existitzen da.';

View File

@@ -0,0 +1,12 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Masoud Sadrnezhaad <masoud@sadrnezhaad.ir>
* @author sam01 <m.sajad079@gmail.com>
*/
$lang['userexists'] = 'نام کاربری‌ای که وارد کردید قبلن استفاده شده است. خواهشمندیم یک نام دیگر انتخاب کنید.';
$lang['usernotexists'] = 'متاسفانه این کاربر وجود ندارد.';
$lang['writefail'] = 'امکان ویرایش اطلاعات کاربر وجود ندارد. لطفا ادمین ویکی را مطلع نمایید.';
$lang['protected'] = 'داده‌ها برای کاربر %s محافظت شده و قابل تغییر نیست یا حذف شده اند.';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Käyttäjä tällä käyttäjänimellä on jo olemassa.';

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Hetta brúkaranavn er upptiki.';

View File

@@ -0,0 +1,13 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Carbain Frédéric <fcarbain@yahoo.fr>
* @author Nicolas Friedli <nicolas@theologique.ch>
* @author Schplurtz le Déboulonné <Schplurtz@laposte.net>
*/
$lang['userexists'] = 'Désolé, ce nom d\'utilisateur est déjà pris.';
$lang['usernotexists'] = 'Désolé, cet utilisateur n\'existe pas.';
$lang['writefail'] = 'Impossible de modifier les données utilisateur. Merci d\'en informer l\'administrateur du wiki.';
$lang['protected'] = 'Les données du compte d\'utilisateur %s sont protégées et ne peuvent être ni modifiées ni supprimées.';

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Sentímolo, mais xa existe un usuario con ese nome.';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'משתמש בשם זה כבר נרשם, עמך הסליחה.';

View File

@@ -0,0 +1,11 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Davor Turkalj <turki.bsc@gmail.com>
*/
$lang['userexists'] = 'Korisnik s tim korisničkim imenom već postoji.';
$lang['usernotexists'] = 'Nažalost korisnik ne postoji';
$lang['writefail'] = 'Ne mogu izmijeniti korisničke podatke. Molim obavijestite svog Wiki administratora';
$lang['protected'] = 'Podaci za korisnika %s su zaštićeni i ne mogu biti izmijenjeni ili obrisani.';

View File

@@ -0,0 +1,10 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Marton Sebok <sebokmarton@gmail.com>
*/
$lang['userexists'] = 'Sajnáljuk, ilyen azonosítójú felhasználónk már van.';
$lang['usernotexists'] = 'Sajnos ez a felhasználó nem létezik.';
$lang['writefail'] = 'A felhasználói adatok módosítása sikertelen. Kérlek, fordulj a wiki rendszergazdájához!';

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Regrettabilemente, un usator con iste nomine ja existe.';

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Bologö dödöu, no so zangoguna\'ö töi da\'a.';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Maaf, user dengan user login ini telah ada.';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Afsakið, notandi með þessu nafni er þegar skráður inn.';

View File

@@ -0,0 +1,12 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Torpedo <dgtorpedo@gmail.com>
* @author Riccardo <riccardofila@gmail.com>
*/
$lang['userexists'] = 'Il nome utente inserito esiste già.';
$lang['usernotexists'] = 'Spiacente, quell\'utente non esiste.';
$lang['writefail'] = 'Impossibile modificare i dati utente. Per favore informa l\'Amministratore del Wiki';
$lang['protected'] = 'I dati relativi all\'utente %s sono protetti e non possono essere modificati o cancellati.';

View File

@@ -0,0 +1,12 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author HokkaidoPerson <dosankomali@yahoo.co.jp>
* @author Hideaki SAWADA <chuno@live.jp>
*/
$lang['userexists'] = '恐れ入りますが、このユーザー名は既に存在しています。';
$lang['usernotexists'] = '恐れ入りますが、このユーザーは未登録です。';
$lang['writefail'] = 'ユーザーデータを変更できません。管理者に問い合わせてください。';
$lang['protected'] = 'ユーザ %s のデータは保護されており、変更・削除はできません。';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'მსგავსი ლოგინი უკვე არსებობს';

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Кешіріңіз, бұл түпнұскамен де пайдаланушы бар.';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'សុំអាទោស​ នាមប្រើនេះមានរួចហើ។';

View File

@@ -0,0 +1,11 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Myeongjin <aranet100@gmail.com>
*/
$lang['userexists'] = '죄송하지만 같은 이름을 사용하는 사용자가 있습니다.';
$lang['usernotexists'] = '죄송하지만 해당 사용자가 존재하지 않습니다.';
$lang['writefail'] = '사용자 데이터를 수정할 수 없습니다. 위키 관리자에게 문의하시기 바랍니다';
$lang['protected'] = '%s 사용자의 데이터는 잠겨 있어 수정하거나 삭제할 수 없습니다.';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Sorry, a user with this login already exists.';

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Nomen Sodalis ab aliquo iam elegitur.';

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Et get schonn e Benotzer mat deem Numm.';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Vartotojas su pasirinktu prisijungimo vardu jau egzistuoja.';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Atvaino, tāds lietotājs jau ir.';

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Indrisy fa efa nisy namandrika io anarana io.';

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Жалам, корисник со ова корисничко име веќе постои.';

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'या नावाने सदस्याची नोंदणी झालेली आहे, कृपया दुसरे सदस्य नाव निवडा.';

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Maaf, nama pengguna yang dimasukkan telah diguna. Sila pilih nama yang lain.';

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'यो नामको प्रयोगकर्ता पहिले देखि रहेको छ।';

View File

@@ -0,0 +1,12 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Hugo Smet <hugo.smet@scarlet.be>
* @author Sjoerd <sjoerd@sjomar.eu>
*/
$lang['userexists'] = 'Er bestaat al een gebruiker met deze loginnaam.';
$lang['usernotexists'] = 'Sorry, deze gebruiker bestaat niet.';
$lang['writefail'] = 'Onmogelijk om de gebruikers data te wijzigen. Gelieve de Wiki-Admin te informeren.';
$lang['protected'] = 'Gegevens van gebruiker %s zijn beschermd en kunnen niet worden veranderd of verwijderd';

View File

@@ -0,0 +1,11 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Arne Hanssen <arne.hanssen@getmail.no>
*/
$lang['userexists'] = 'Det finnes allerede en konto med dette brukernavnet.';
$lang['usernotexists'] = 'Beklager, denne bruker fins ikke.';
$lang['writefail'] = 'Klarte ikke endre brukerdata. Dette bør meldes til wikiens administrator';
$lang['protected'] = 'Data for bruker %s er beskyttet og kan ikke endres eller slettes.';

View File

@@ -0,0 +1,11 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Max <maxrb146@gmail.com>
*/
$lang['userexists'] = 'Użytkownik o tej nazwie już istnieje.';
$lang['usernotexists'] = 'Przepraszamy, użytkownik nie istnieje';
$lang['writefail'] = 'Nie można modyfikować danych użytkownika. Proszę skontaktować się z administratorem ';
$lang['protected'] = 'Dane użytkownika %s są chronione, nie mogą być modyfikowane oraz usuwane';

View File

@@ -0,0 +1,12 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Frederico Gonçalves Guimarães <frederico@teia.bio.br>
* @author Felipe Castro <fefcas@gmail.com>
*/
$lang['userexists'] = 'Desculpe, mas já existe um usuário com esse nome.';
$lang['usernotexists'] = 'Desculpe, mas esse usuário não existe.';
$lang['writefail'] = 'Não foi possível modificar os dados do usuário. Por favor, informe ao administrador do Wiki.';
$lang['protected'] = 'Dados para o usuário %s estão protegidos e não podem ser modificados ou apagados.';

View File

@@ -0,0 +1,13 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Paulo Schopf <pschopf@gmail.com>
* @author Paulo Carmino <contato@paulocarmino.com>
* @author Guilherme Sá <guilherme.sa@hotmail.com>
*/
$lang['userexists'] = 'Este nome de usuário já existe. Escolha outro.';
$lang['usernotexists'] = 'Desculpe, esse usuário não existe.';
$lang['writefail'] = 'Não foi possível modificar dados do usuário. Favor informar ao Wiki-Admin.';
$lang['protected'] = 'Os dados do usuário %s estão protegidos e não podem ser modificados ou excluídos.';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Ne pare rău, un utilizator cu acest nume este deja autentificat.';

View File

@@ -0,0 +1,13 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author RainbowSpike <1@2.ru>
* @author Aleksandr Selivanov <alexgearbox@yandex.ru>
* @author Radimir <radimir.shevchenko@gmail.com>
*/
$lang['userexists'] = 'Извините, пользователь с таким логином уже существует.';
$lang['usernotexists'] = 'Этот пользователь не зарегистрирован.';
$lang['writefail'] = 'Невозможно обновить данные пользователя. Свяжитесь с администратором вики';
$lang['protected'] = 'Данные пользователя %s защищены и не могут быть изменены или удалены.';

View File

@@ -0,0 +1,11 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Martin Michalek <michalek.dev@gmail.com>
*/
$lang['userexists'] = 'Užívateľ s rovnakým menom je už zaregistrovaný.';
$lang['usernotexists'] = 'Ľutujem, daný používateľ neexistuje.';
$lang['writefail'] = 'Nie je možné zmeniť údaje používateľa, informujte prosím administrátora Wiki.';
$lang['protected'] = 'Údaje používateľa %s sú chránené a nemôžu by zmenené alebo vymazané.';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Uporabnik s tem imenom že obstaja.';

View File

@@ -0,0 +1,6 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Na vjen keq, ekziston një përdorues tjetër me të njëjtin emër.';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Извините, корисник са истим именом већ постоји.';

View File

@@ -0,0 +1,10 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Tor Härnqvist <tor@harnqvist.se>
*/
$lang['userexists'] = 'Det finns redan en användare med det användarnamnet.';
$lang['usernotexists'] = 'Tyvärr, den användaren existerar inte.';
$lang['writefail'] = 'Kunde inte ändra användardata. Var god informera Wiki-administratören';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'ชื่อบัญชีที่ใส่นั้นมีผู้อื่นได้ใช้แล้ว กรุณาเลือกชื่อผู้ใช้อื่น';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = 'Üzgünüz, bu isime sahip bir kullanıcı zaten mevcut.';

View File

@@ -0,0 +1,9 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Nina Zolotova <nina-z@i.ua>
*/
$lang['userexists'] = 'Користувач з таким іменем вже існує.';
$lang['usernotexists'] = 'Вибачте, такого користувача не існує.';

View File

@@ -0,0 +1,11 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Thien Hau <thienhau.9a14@gmail.com>
*/
$lang['userexists'] = 'Xin lỗi, thành viên có thông tin đăng nhập này đã tồn tại.';
$lang['usernotexists'] = 'Xin lỗi, thành viên đó không tồn tại.';
$lang['writefail'] = 'Không thể sửa đổi dữ liệu thành viên. Vui lòng thông báo cho Quản trị viên Wiki';
$lang['protected'] = 'Dữ liệu cho thành viên %s được bảo vệ và không thể sửa đổi hoặc xóa.';

View File

@@ -0,0 +1,7 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
*/
$lang['userexists'] = '很抱歉,有人已使用了這個帳號。';

View File

@@ -0,0 +1,12 @@
<?php
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author lainme <lainme993@gmail.com>
* @author tai <tai_tang@126.com>
*/
$lang['userexists'] = '对不起,该用户名已经存在。';
$lang['usernotexists'] = '抱歉,该用户不存在';
$lang['writefail'] = '无法修改用户数据。请联系维基管理员';
$lang['protected'] = '用户 %s 的数据被保护和无法被编辑或删除。';

View File

@@ -0,0 +1,7 @@
base authplain
author Andreas Gohr
email andi@splitbrain.org
date 2015-07-18
name Plain Auth Plugin
desc Provides user authentication against DokuWiki's local password storage
url http://www.dokuwiki.org/plugin:authplain