# textdomain: __builtin Empty command.=Comando vuoto. Invalid command: @1=Comando non valido: @1 Invalid command usage.=Utilizzo del comando non valido. You don't have permission to run this command (missing privileges: @1).=Non hai il permesso di eseguire questo comando (privilegi mancanti: @1). Unable to get position of player @1.=Impossibile ottenere la posizione del giocatore @1. Incorrect area format. Expected: (x1,y1,z1) (x2,y2,z2)=Formato dell'area non corretto. Richiesto: (x1,y1,z1) (x2,y2,z2) = Show chat action (e.g., '/me orders a pizza' displays ' orders a pizza')=Mostra un'azione in chat (es. `/me ordina una pizza` mostra ` ordina una pizza`) Show the name of the server owner=Mostra il nome del proprietario del server The administrator of this server is @1.=L'amministratore di questo server è @1. There's no administrator named in the config file.=Non c'è nessun amministratore nel file di configurazione. []=[] Show privileges of yourself or another player=Mostra i privilegi propri o di un altro giocatore Player @1 does not exist.=Il giocatore @1 non esiste. Privileges of @1: @2=Privilegi di @1: @2 = Return list of all online players with privilege=Ritorna una lista di tutti i giocatori connessi col tale privilegio Invalid parameters (see /help haspriv).=Parametri non validi (vedi /help haspriv). Unknown privilege!=Privilegio sconosciuto! Players online with the "@1" privilege: @2=Giocatori connessi con il privilegio "@1": @2 Your privileges are insufficient.=I tuoi privilegi sono insufficienti. Unknown privilege: @1=Privilegio sconosciuto: @1 @1 granted you privileges: @2=@1 ti ha assegnato i seguenti privilegi: @2 ( | all)= ( | all) Give privileges to player=Dà privilegi al giocatore Invalid parameters (see /help grant).=Parametri non validi (vedi /help grant). | all= | all Grant privileges to yourself=Assegna dei privilegi a te stessǝ Invalid parameters (see /help grantme).=Parametri non validi (vedi /help grantme). @1 revoked privileges from you: @2=@1 ti ha revocato i seguenti privilegi: @2 Remove privileges from player=Rimuove privilegi dal giocatore Invalid parameters (see /help revoke).=Parametri non validi (vedi /help revoke). Revoke privileges from yourself=Revoca privilegi a te stessǝ Invalid parameters (see /help revokeme).=Parametri non validi (vedi /help revokeme). = Set player's password=Imposta la password del giocatore Name field required.=Campo "nome" richiesto. Your password was cleared by @1.=La tua password è stata resettata da @1. Password of player "@1" cleared.=Password del giocatore "@1" resettata. Your password was set by @1.=La tua password è stata impostata da @1. Password of player "@1" set.=Password del giocatore "@1" impostata. = Set empty password for a player=Imposta una password vuota a un giocatore Reload authentication data=Ricarica i dati d'autenticazione Done.=Fatto. Failed.=Errore. Remove a player's data=Rimuove i dati di un giocatore Player "@1" removed.=Giocatore "@1" rimosso. No such player "@1" to remove.=Non è presente nessun giocatore "@1" da rimuovere. Player "@1" is connected, cannot remove.=Il giocatore "@1" è connesso, non può essere rimosso. Unhandled remove_player return code @1.=Codice ritornato da remove_player non gestito (@1). Cannot teleport out of map bounds!=Non ci si può teletrasportare fuori dai limiti della mappa! Cannot get player with name @1.=Impossibile trovare il giocatore chiamato @1. Cannot teleport, @1 is attached to an object!=Impossibile teletrasportare, @1 è attaccato a un oggetto! Teleporting @1 to @2.=Teletrasportando @1 da @2. One does not teleport to oneself.=Non ci si può teletrasportare su se stessi. Cannot get teleportee with name @1.=Impossibile trovare il giocatore chiamato @1 per il teletrasporto Cannot get target player with name @1.=Impossibile trovare il giocatore chiamato @1 per il teletrasporto Teleporting @1 to @2 at @3.=Teletrasportando @1 da @2 a @3 ,, | | ,, | =,, | | ,, | Teleport to position or player=Teletrasporta a una posizione o da un giocatore You don't have permission to teleport other players (missing privilege: @1).=Non hai il permesso di teletrasportare altri giocatori (privilegio mancante: @1). ([-n] ) | =([-n] ) | Set or read server configuration setting=Imposta o ottieni le configurazioni del server Failed. Use '/set -n ' to create a new setting.=Errore. Usa 'set -n ' per creare una nuova impostazione @1 @= @2=@1 @= @2 = Invalid parameters (see /help set).=Parametri non validi (vedi /help set). Finished emerging @1 blocks in @2ms.=Finito di emergere @1 blocchi in @2ms emergeblocks update: @1/@2 blocks emerged (@3%)=aggiornamento emergeblocks: @1/@2 blocchi emersi (@3%) (here []) | ( )=(here []) | ( ) Load (or, if nonexistent, generate) map blocks contained in area pos1 to pos2 ( and must be in parentheses)=Carica (o, se non esiste, genera) blocchi mappa contenuti nell'area tra pos1 e pos2 ( e vanno tra parentesi) Started emerge of area ranging from @1 to @2.=Iniziata emersione dell'area tra @1 e @2. Delete map blocks contained in area pos1 to pos2 ( and must be in parentheses)=Cancella i blocchi mappa contenuti nell'area tra pos1 e pos2 ( e vanno tra parentesi) Successfully cleared area ranging from @1 to @2.=Area tra @1 e @2 ripulita con successo. Failed to clear one or more blocks in area.=Errore nel ripulire uno o più blocchi mappa nell'area Resets lighting in the area between pos1 and pos2 ( and must be in parentheses)=Reimposta l'illuminazione nell'area tra pos1 e po2 ( e vanno tra parentesi) Successfully reset light in the area ranging from @1 to @2.=Luce nell'area tra @1 e @2 reimpostata con successo. Failed to load one or more blocks in area.=Errore nel caricare uno o più blocchi mappa nell'area. List mods installed on the server=Elenca le mod installate nel server Cannot give an empty item.=Impossibile dare un oggetto vuoto. Cannot give an unknown item.=Impossibile dare un oggetto sconosciuto. Giving 'ignore' is not allowed.=Non è permesso dare 'ignore'. @1 is not a known player.=@1 non è un giocatore conosciuto. @1 partially added to inventory.=@1 parzialmente aggiunto all'inventario. @1 could not be added to inventory.=@1 non può essere aggiunto all'inventario. @1 added to inventory.=@1 aggiunto all'inventario. @1 partially added to inventory of @2.=@1 parzialmente aggiunto all'inventario di @2. @1 could not be added to inventory of @2.=Non è stato possibile aggiungere @1 all'inventario di @2. @1 added to inventory of @2.=@1 aggiunto all'inventario di @2. [ []]= [ []] Give item to player=Dà oggetti ai giocatori Name and ItemString required.=Richiesti nome e NomeOggetto. [ []]= [ []] Give item to yourself=Dà oggetti a te stessǝ ItemString required.=Richiesto NomeOggetto. [,,]= [,,] Spawn entity at given (or your) position=Genera un'entità alla data coordinata (o la tua) EntityName required.=Richiesto NomeEntità Unable to spawn entity, player is nil.=Impossibile generare l'entità, il giocatore è nil. Cannot spawn an unknown entity.=Impossibile generare un'entità sconosciuta. Invalid parameters (@1).=Parametri non validi (@1). @1 spawned.=Generata entità @1. @1 failed to spawn.=Errore nel generare @1 Destroy item in hand=Distrugge l'oggetto in mano Unable to pulverize, no player.=Impossibile polverizzare, nessun giocatore. Unable to pulverize, no item in hand.=Impossibile polverizzare, nessun oggetto in mano. An item was pulverized.=Un oggetto è stato polverizzato. [] [] []=[] [] [] Check who last touched a node or a node near it within the time specified by . Default: range @= 0, seconds @= 86400 @= 24h, limit @= 5. Set to inf for no time limit=Controlla chi è l'ultimo giocatore che ha toccato un nodo o un nodo nelle sue vicinanze, negli ultimi secondi indicati. Di base: raggio @= 0, secondi @= 86400 @= 24h, limite @= 5. Rollback functions are disabled.=Le funzioni di rollback sono disabilitate. That limit is too high!=Il limite è troppo alto! Checking @1 ...=Controllando @1 ... Nobody has touched the specified location in @1 seconds.=Nessuno ha toccato il punto specificato negli ultimi @1 secondi. @1 @2 @3 -> @4 @5 seconds ago.=@1 @2 @3 -> @4 @5 secondi fa. Punch a node (range@=@1, seconds@=@2, limit@=@3).=Colpisce un nodo (raggio@=@1, secondi@=@2, limite@=@3) ( []) | (: [])=( []) | (: []) Revert actions of a player. Default for is 60. Set to inf for no time limit=Riavvolge le azioni di un giocatore. Di base, è 60. Imposta a inf per nessun limite di tempo Invalid parameters. See /help rollback and /help rollback_check.=Parametri non validi. Vedi /help rollback e /help rollback_check. Reverting actions of player '@1' since @2 seconds.=Riavvolge le azioni del giocatore '@1' avvenute negli ultimi @2 secondi. Reverting actions of @1 since @2 seconds.=Riavvolge le azioni di @1 avvenute negli ultimi @2 secondi. (log is too long to show)=(/* Minetest Copyright (C) 2014 celeron55, Perttu Ahola <celeron55@gmail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "config.h" #if USE_REDIS #include "database-redis.h" #include "settings.h" #include "log.h" #include "exceptions.h" #include "util/string.h" #include <hiredis.h> #include <cassert> Database_Redis::Database_Redis(Settings &conf) { std::string tmp; try { tmp = conf.get("redis_address"); hash = conf.get("redis_hash"); } catch (SettingNotFoundException &) { throw SettingNotFoundException("Set redis_address and " "redis_hash in world.mt to use the redis backend"); } const char *addr = tmp.c_str(); int port = conf.exists("redis_port") ? conf.getU16("redis_port") : 6379; // if redis_address contains '/' assume unix socket, else hostname/ip ctx = tmp.find('/') != std::string::npos ? redisConnectUnix(addr) : redisConnect(addr, port); if (!ctx) { throw DatabaseException("Cannot allocate redis context"); } else if (ctx->err) { std::string err = std::string("Connection error: ") + ctx->errstr; redisFree(ctx); throw DatabaseException(err); } if (conf.exists("redis_password")) { tmp = conf.get("redis_password"); redisReply *reply = static_cast<redisReply *>(redisCommand(ctx, "AUTH %s", tmp.c_str())); if (!reply)