🎨 Rename locales and remove notify translation type

This commit is contained in:
David Malchin
2022-08-21 23:48:45 +03:00
parent f38350bcae
commit ce216ad676
7 changed files with 23 additions and 28 deletions
+2 -2
View File
@@ -87,7 +87,7 @@ RegisterNetEvent('QBCore:Server:CloseServer', function(reason)
end
end
else
QBCore.Functions.Kick(src, Lang:t("error.noperm"), nil, nil)
QBCore.Functions.Kick(src, Lang:t("error.no_permission"), nil, nil)
end
end)
@@ -96,7 +96,7 @@ RegisterNetEvent('QBCore:Server:OpenServer', function()
if QBCore.Functions.HasPermission(src, 'admin') then
QBCore.Config.Server.Closed = false
else
QBCore.Functions.Kick(src, Lang:t("error.noperm"), nil, nil)
QBCore.Functions.Kick(src, Lang:t("error.no_permission"), nil, nil)
end
end)