Swedish language, Fixes #8

This commit is contained in:
ElPumpo
2018-05-10 10:34:29 +02:00
parent d283aa3bd2
commit 7565c2f386
4 changed files with 58 additions and 27 deletions
+31 -10
View File
@@ -1,19 +1,40 @@
# fxserver-esx_skin
FXServer ESX Skin
# esx_skin
[REQUIREMENTS]
## Requirements
- [skinchanger](https://github.com/ESX-Org/skinchanger)
- skinchanger => https://github.com/FXServer-ESX/fxserver-skinchanger
## Download & Installation
[INSTALLATION]
1) CD in your resources/[esx] folder
2) Clone the repository
### Using [fvm](https://github.com/qlaffont/fvm-installer)
```
git clone https://github.com/FXServer-ESX/fxserver-esx_skin esx_skin
fvm install --save --folder=esx esx-org/esx_skin
```
3) Add this in your server.cfg :
### Using Git
```
cd resources
git clone https://github.com/ESX-Org/esx_skin [esx]/esx_skin
```
### Manually
- Download https://github.com/ESX-Org/esx_skin/archive/master.zip
- Put it in the `[esx]` directory
- Import `esx_skin.sql` in your database
- Add this in your `server.cfg`:
```
start esx_skin
```
# Legal
### License
esx_skin - skin selector for ESX
Copyright (C) 2015-2018 Jérémie N'gadi
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 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 General Public License For more details.
You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/.
+20 -16
View File
@@ -1,24 +1,28 @@
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
description 'ESX Skin'
version '1.0.1'
version '1.0.2'
server_scripts {
'@es_extended/locale.lua',
'config.lua',
'locales/de.lua',
'locales/br.lua',
'locales/en.lua',
'locales/fr.lua',
'@mysql-async/lib/MySQL.lua',
'server/main.lua',
'@mysql-async/lib/MySQL.lua',
'@es_extended/locale.lua',
'locales/de.lua',
'locales/br.lua',
'locales/en.lua',
'locales/fr.lua',
'locales/sv.lua',
'config.lua',
'server/main.lua'
}
client_scripts {
'@es_extended/locale.lua',
'config.lua',
'locales/de.lua',
'locales/br.lua',
'locales/en.lua',
'locales/fr.lua',
'client/main.lua',
'@es_extended/locale.lua',
'locales/de.lua',
'locales/br.lua',
'locales/en.lua',
'locales/fr.lua',
'locales/sv.lua',
'config.lua',
'client/main.lua'
}
+6
View File
@@ -0,0 +1,6 @@
Locales['sv'] = {
['skin_menu'] = 'skin meny',
['use_rotate_view'] = 'använd ~INPUT_VEH_FLY_ROLL_LEFT_ONLY~ och ~INPUT_VEH_FLY_ROLL_RIGHT_ONLY~ för att rotera.',
['skin'] = 'ändra skin',
['saveskin'] = 'spara skin till fil',
}
+1 -1
View File
@@ -65,7 +65,7 @@ end, function(source, args, user)
TriggerClientEvent('chatMessage', source, "SYSTEM", {255, 0, 0}, 'Insufficient permissions!')
end, {help = _U('skin')})
TriggerEvent('es:addGroupCommand', 'saveskin', 'admin', function(source, args, user)
TriggerEvent('es:addGroupCommand', 'skinsave', 'admin', function(source, args, user)
TriggerClientEvent('esx_skin:requestSaveSkin', source)
end, function(source, args, user)
TriggerClientEvent('chatMessage', source, "SYSTEM", {255, 0, 0}, "Insufficient Permissions.")