mirror of
https://github.com/mt-mods/playerfactions.git
synced 2024-12-22 22:02:30 +01:00
locale: reuse string for missing name
besides, "nil" is a valid name. This way there is no confusion.
This commit is contained in:
parent
c28b0a0b04
commit
44d01cc834
2
init.lua
2
init.lua
@ -299,7 +299,7 @@ local function handle_command(name, param)
|
||||
elseif action == "player_info" then
|
||||
local player_name = params[2]
|
||||
if not player_name then
|
||||
return false, S("The player name is nil or empty.")
|
||||
return false, S("Missing player name.")
|
||||
end
|
||||
local player_factions = factions.get_player_factions(player_name)
|
||||
if not player_factions then
|
||||
|
@ -56,7 +56,6 @@ The player doesn't exist.=Le joueur n’existe pas.
|
||||
The player is already in the faction "@1".=Le joueur est déjà dans la faction "@1".
|
||||
There are no factions yet.=Il n’y a pas encore de factions.
|
||||
That faction doesn't exist.=Cette faction n’existe pas.
|
||||
The player name is nil or empty.=Le nom du joueur est nul ou vide.
|
||||
Player @1 doesn't exist or isn't in any faction.=Le joueur @1 n’existe pas ou n’est dans aucune faction.
|
||||
@1 is not in the specified faction.=@1 n’est pas dans la faction spécifiée.
|
||||
@1 doesn't own any factions.=@1 n’est propriétaire d’aucune faction.
|
||||
|
@ -56,7 +56,6 @@ The player doesn't exist.=
|
||||
The player is already in the faction "@1".=
|
||||
There are no factions yet.=
|
||||
That faction doesn't exist.=
|
||||
The player name is nil or empty.=
|
||||
Player @1 doesn't exist or isn't in any faction.=
|
||||
@1 is not in the specified faction.=
|
||||
@1 doesn't own any factions.=
|
||||
|
Loading…
Reference in New Issue
Block a user