Added swedish locale, updated readme

This commit is contained in:
ElPumpo
2018-08-03 18:30:30 +02:00
parent 3561d2a570
commit a77bfbdbb6
3 changed files with 82 additions and 35 deletions
+32 -17
View File
@@ -1,25 +1,40 @@
# fxserver-esx_realestateagentjob
FXServer ESX RealestateAgent Job
# esx_realestateagentjob
[REQUIREMENTS]
## Requirements
- [esx_addonaccount](https://github.com/ESX-Org/esx_addonaccount)
- [esx_property](https://github.com/ESX-Org/esx_property)
- [esx_society](https://github.com/ESX-Org/esx_society)
- esx_addonaccount => https://github.com/FXServer-ESX/fxserver-esx_society
- esx_property => https://github.com/FXServer-ESX/fxserver-esx_property
- (optionnal) esx_society => https://github.com/FXServer-ESX/fxserver-esx_society
## Download & Installation
If you add esx_society you will see the realestateagent account money in the HUD if your grade is 'boss'
[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_realestateagentjob esx_realestateagentjob
fvm install --save --folder=esx esx-org/esx_realestateagentjob
```
3) Import esx_realestateagentjob.sql in your database
4) Add this in your server.cfg :
### Using Git
```
start esx_realestateagentjob
cd resources
git clone https://github.com/ESX-Org/esx_realestateagentjob [esx]/esx_realestateagentjob
```
5) Set Config.EnablePlayerManagement to true in esx_property/config.lua
### Manually
- Download https://github.com/ESX-Org/esx_realestateagentjob/archive/master.zip
- Put it in the `[esx]` directory
## Installation
- Add `start esx_realestateagentjob` to your `server.cfg`
- Import `esx_realestateagentjob.sql` in your database
- Set `Config.EnablePlayerManagement` to `true` in esx_property
# Legal
### License
esx_realestateagentjob - real estate job
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/.
+27 -18
View File
@@ -1,28 +1,37 @@
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
description 'ESX RealestateAgentJob'
description 'ESX Real estate job'
version '1.0.0'
server_scripts {
'@es_extended/locale.lua',
'locales/de.lua',
'locales/br.lua',
'locales/en.lua',
'locales/fi.lua',
'locales/fr.lua',
'@mysql-async/lib/MySQL.lua',
'config.lua',
'server/main.lua'
'@es_extended/locale.lua',
'@mysql-async/lib/MySQL.lua',
'locales/de.lua',
'locales/br.lua',
'locales/en.lua',
'locales/fi.lua',
'locales/fr.lua',
'locales/sv.lua',
'config.lua',
'server/main.lua'
}
client_scripts {
'@es_extended/locale.lua',
'locales/de.lua',
'locales/br.lua',
'locales/en.lua',
'locales/fi.lua',
'locales/fr.lua',
'config.lua',
'client/main.lua'
'@es_extended/locale.lua',
'locales/de.lua',
'locales/br.lua',
'locales/en.lua',
'locales/fi.lua',
'locales/fr.lua',
'locales/sv.lua',
'config.lua',
'client/main.lua'
}
dependencies {
'es_extended',
'esx_property',
'esx_addonaccount',
'esx_society'
}
+23
View File
@@ -0,0 +1,23 @@
Locales['sv'] = {
['properties'] = 'fastigheter',
['property'] = 'fastighet',
['clients'] = 'klienter',
['remove_comp_money'] = 'ta företagspengar',
['dep_money'] = 'sätt in',
['wash_money'] = 'tvätta kläder',
['realtor'] = 'mäklare',
['amount_withdraw'] = 'summa',
['invalid_amount'] = 'ogiltigt belopp',
['amount_deposit'] = 'sätt in summa',
['amount_launder'] = 'summa att tvätta',
['press_to_access'] = 'trycka ~INPUT_CONTEXT~ för att öppna menyn.',
['property_actions'] = '{{Assign [Köp]|Köp}} {{Assign [Hyra]|Hyra}} {{GPS|gps}}',
['amount'] = 'summa',
['no_play_near'] = 'det finns inga spelare i närheten!',
['contract'] = '{{Ta bort kontrakt|Ta bort}} {{GPS|gps}}',
['rent'] = 'hyra',
['sell'] = 'sälj',
['realtors'] = 'mäklare',
['client'] = 'klienter',
['boss_action'] = 'chefmeny',
}