-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #690 from bitpredator/dev
chore: (esx_vehicleshop) replace _U with TranslateCap + 🎨 Run formatter
- Loading branch information
Showing
17 changed files
with
1,556 additions
and
1,339 deletions.
There are no files selected for viewing
645 changes: 388 additions & 257 deletions
645
server-data/resources/[esx_addons]/esx_vehicleshop/client/main.lua
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 21 additions & 21 deletions
42
server-data/resources/[esx_addons]/esx_vehicleshop/fxmanifest.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
fx_version 'cerulean' | ||
game 'gta5' | ||
lua54 'yes' | ||
description 'ESX Vehicle Shop' | ||
version '1.0.0' | ||
fx_version("cerulean") | ||
game("gta5") | ||
lua54("yes") | ||
description("ESX Vehicle Shop") | ||
version("1.0.1") | ||
|
||
shared_script '@es_extended/imports.lua' | ||
shared_script("@es_extended/imports.lua") | ||
|
||
server_scripts { | ||
'@oxmysql/lib/MySQL.lua', | ||
'@es_extended/locale.lua', | ||
'locales/*.lua', | ||
'config.lua', | ||
'server/*.lua' | ||
} | ||
server_scripts({ | ||
"@oxmysql/lib/MySQL.lua", | ||
"@es_extended/locale.lua", | ||
"locales/*.lua", | ||
"config.lua", | ||
"server/*.lua", | ||
}) | ||
|
||
client_scripts { | ||
'@es_extended/locale.lua', | ||
'locales/*.lua', | ||
'config.lua', | ||
'client/*.lua' | ||
} | ||
client_scripts({ | ||
"@es_extended/locale.lua", | ||
"locales/*.lua", | ||
"config.lua", | ||
"client/*.lua", | ||
}) | ||
|
||
dependency 'es_extended' | ||
dependency("es_extended") | ||
|
||
export 'GeneratePlate' | ||
export("GeneratePlate") |
126 changes: 63 additions & 63 deletions
126
server-data/resources/[esx_addons]/esx_vehicleshop/locales/cs.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,65 @@ | ||
Locales['cs'] = { | ||
-- global menus | ||
['not_enough_in_society'] = 'neni zde dostatek ~r~tohoto predmetu ve spolecnosti!', | ||
['player_cannot_hold'] = '~r~nemas dostatek volneho mista ve tvem inventari!', | ||
['vehicle_belongs'] = 'vozidlo se značkou %s nyní patří tobě', | ||
['broke_company'] = 'nemáš dostatek peněz na účtě společnosti', | ||
['license_missing'] = 'nemáš ridicský prukaz!', | ||
['buy_vehicle_shop'] = 'přeješ si zakoupit %s za $%s?', | ||
['buy_vehicle'] = 'zakoupit vozidlo', | ||
['car_dealer'] = 'autosalon', | ||
['shop_awaiting_model'] = 'vozidlo se právě STAHUJE & NAČÍTÁ, čekej prosím', | ||
['create_bill'] = 'vytvořit účtenku', | ||
['dealer_boss'] = 'prodejce aut - Sef', | ||
['delivered'] = 'vozidlo bylo doruceno dealerovi', | ||
['depop_vehicle'] = 'vrátit vozidlo do garaze', | ||
['return_provider'] = 'vratit vozidlo zprostredkovateli', | ||
['get_rented_vehicles'] = 'vozidla na pujceni', | ||
['no_current_vehicle'] = 'momentalne nemas zobrazene vozidlo', | ||
['invalid_amount'] = 'neplatná částka', | ||
['invoice_amount'] = 'castka na fakture', | ||
['no'] = 'ne', | ||
['yes'] = 'ano', | ||
['no_players'] = 'žádní hráči poblíž tebe', | ||
['not_enough_money'] = 'nemáš dostatek peněz', | ||
['not_rental'] = 'tohle není ~r~půjčitelné vozidlo', | ||
['not_yours'] = 'tohle auto ti nepatří', | ||
['paid_rental'] = 'you have paid $%s for renting an vehicle with plate %s', | ||
['paid_rental_evicted'] = 'you could not afford to pay $%s for your rented vehicle with plate %s, it has been returned to the dealership', | ||
['pop_vehicle'] = 'vlozit vozidlo k prodeji', | ||
['rent_vehicle'] = 'autosalon - Vozidla k pujceni', | ||
['return_provider_menu'] = 'autosalon - Vratit vozidlo zprostredkovateli', | ||
['rental_amount'] = 'cena pujceni', | ||
['sell_menu'] = 'stiskni [E] pro prodani %s za $%s', | ||
['set_vehicle_owner_rent'] = 'pujcit vozidlo', | ||
['set_vehicle_owner_sell'] = 'prodat vozidlo', | ||
['shop_menu'] = 'stiskni [E] pro přístup do menu', | ||
['generic_shopitem'] = '$%s', | ||
['vehicle_dealer'] = 'vozidlo - Prodejce aut', | ||
['vehicle_menu'] = 'stiskni [E] pro vraceni vozidla zpet', | ||
['vehicle_purchased'] = 'zakoupil jsi vozidlo', | ||
['vehicle_set_owned'] = 'vozidlo %s bylo prirazeno %s', | ||
['vehicle_set_rented'] = 'vozidlo %s bylo pujceno za %s', | ||
['vehicle_sold_for'] = '%s bylo prodano za $%s', | ||
['vehicle_sold_to'] = 'vozidlo se znackou %s bylo prodano za %s', | ||
['deposit_stock'] = 'vlozit do skladu', | ||
['take_stock'] = 'vybraz ze skladu', | ||
['dealership_stock'] = 'sklad Autosalonu', | ||
['amount'] = 'castka', | ||
['quantity_invalid'] = 'to je neplatne mnozstvi', | ||
['inventory'] = 'inventar', | ||
['dealership'] = 'autodealer', | ||
['dealer_customers'] = 'zakaznici dealera', | ||
['have_withdrawn'] = 'vybral jsi x%s %s', | ||
['have_deposited'] = 'vlozil jsi x%s %s', | ||
['boss_actions'] = 'akce šéfa', | ||
['invalid_vehicle'] = 'neplatné vozidlo', | ||
Locales["cs"] = { | ||
-- global menus | ||
["not_enough_in_society"] = "neni zde dostatek ~r~tohoto predmetu ve spolecnosti!", | ||
["player_cannot_hold"] = "~r~nemas dostatek volneho mista ve tvem inventari!", | ||
["vehicle_belongs"] = "vozidlo se značkou %s nyní patří tobě", | ||
["broke_company"] = "nemáš dostatek peněz na účtě společnosti", | ||
["license_missing"] = "nemáš ridicský prukaz!", | ||
["buy_vehicle_shop"] = "přeješ si zakoupit %s za $%s?", | ||
["buy_vehicle"] = "zakoupit vozidlo", | ||
["car_dealer"] = "autosalon", | ||
["shop_awaiting_model"] = "vozidlo se právě STAHUJE & NAČÍTÁ, čekej prosím", | ||
["create_bill"] = "vytvořit účtenku", | ||
["dealer_boss"] = "prodejce aut - Sef", | ||
["delivered"] = "vozidlo bylo doruceno dealerovi", | ||
["depop_vehicle"] = "vrátit vozidlo do garaze", | ||
["return_provider"] = "vratit vozidlo zprostredkovateli", | ||
["get_rented_vehicles"] = "vozidla na pujceni", | ||
["no_current_vehicle"] = "momentalne nemas zobrazene vozidlo", | ||
["invalid_amount"] = "neplatná částka", | ||
["invoice_amount"] = "castka na fakture", | ||
["no"] = "ne", | ||
["yes"] = "ano", | ||
["no_players"] = "žádní hráči poblíž tebe", | ||
["not_enough_money"] = "nemáš dostatek peněz", | ||
["not_rental"] = "tohle není ~r~půjčitelné vozidlo", | ||
["not_yours"] = "tohle auto ti nepatří", | ||
["paid_rental"] = "you have paid $%s for renting an vehicle with plate %s", | ||
["paid_rental_evicted"] = "you could not afford to pay $%s for your rented vehicle with plate %s, it has been returned to the dealership", | ||
["pop_vehicle"] = "vlozit vozidlo k prodeji", | ||
["rent_vehicle"] = "autosalon - Vozidla k pujceni", | ||
["return_provider_menu"] = "autosalon - Vratit vozidlo zprostredkovateli", | ||
["rental_amount"] = "cena pujceni", | ||
["sell_menu"] = "stiskni [E] pro prodani %s za $%s", | ||
["set_vehicle_owner_rent"] = "pujcit vozidlo", | ||
["set_vehicle_owner_sell"] = "prodat vozidlo", | ||
["shop_menu"] = "stiskni [E] pro přístup do menu", | ||
["generic_shopitem"] = "$%s", | ||
["vehicle_dealer"] = "vozidlo - Prodejce aut", | ||
["vehicle_menu"] = "stiskni [E] pro vraceni vozidla zpet", | ||
["vehicle_purchased"] = "zakoupil jsi vozidlo", | ||
["vehicle_set_owned"] = "vozidlo %s bylo prirazeno %s", | ||
["vehicle_set_rented"] = "vozidlo %s bylo pujceno za %s", | ||
["vehicle_sold_for"] = "%s bylo prodano za $%s", | ||
["vehicle_sold_to"] = "vozidlo se znackou %s bylo prodano za %s", | ||
["deposit_stock"] = "vlozit do skladu", | ||
["take_stock"] = "vybraz ze skladu", | ||
["dealership_stock"] = "sklad Autosalonu", | ||
["amount"] = "castka", | ||
["quantity_invalid"] = "to je neplatne mnozstvi", | ||
["inventory"] = "inventar", | ||
["dealership"] = "autodealer", | ||
["dealer_customers"] = "zakaznici dealera", | ||
["have_withdrawn"] = "vybral jsi x%s %s", | ||
["have_deposited"] = "vlozil jsi x%s %s", | ||
["boss_actions"] = "akce šéfa", | ||
["invalid_vehicle"] = "neplatné vozidlo", | ||
|
||
-- sold vehicles | ||
['boss_sold'] = 'seznam prodaných vozidel', | ||
['customer_client'] = 'jméno zákazníka', | ||
['customer_model'] = 'model auta', | ||
['customer_plate'] = 'značka auta', | ||
['customer_soldby'] = 'prodáno zaměstnancem', | ||
['customer_date'] = 'datum', | ||
-- sold vehicles | ||
["boss_sold"] = "seznam prodaných vozidel", | ||
["customer_client"] = "jméno zákazníka", | ||
["customer_model"] = "model auta", | ||
["customer_plate"] = "značka auta", | ||
["customer_soldby"] = "prodáno zaměstnancem", | ||
["customer_date"] = "datum", | ||
} |
Oops, something went wrong.