Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add spanish lenguage #1

Merged
merged 1 commit into from Aug 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Add spanish lenguage
Add spanish lenguage
  • Loading branch information
HarryElSuzio committed Aug 8, 2020
commit 432e8492228a6db7d506d248db25adba6adc51d2
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -16,6 +16,13 @@ A real car parking script for FiveM

## Download & Installation

## Change Lenguaje
- Go config.lua line 9
- en -English
- es -Español
- de -Deutsche
- zh -中文

### Using YumV

```
Expand Down
11 changes: 11 additions & 0 deletions esx_realparking_es.sql
@@ -0,0 +1,11 @@
CREATE TABLE `car_parking` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`owner` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`plate` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`time` bigint(20) NOT NULL,
`parking` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

INSERT INTO `items`(`name`, `label`, `limit`) VALUES ('parkingcard', 'Tarjeta del parking', -1);
2 changes: 2 additions & 0 deletions fxmanifest.lua
Expand Up @@ -9,6 +9,7 @@ client_scripts {
'@es_extended/locale.lua',
'config.lua',
'locales/en.lua',
'locales/es.lua',
'locales/zh.lua',
'client/main.lua'
}
Expand All @@ -18,6 +19,7 @@ server_scripts {
'@es_extended/locale.lua',
'config.lua',
'locales/en.lua',
'locales/es.lua',
'locales/zh.lua',
'server/main.lua',
}
15 changes: 15 additions & 0 deletions locales/es.lua
@@ -0,0 +1,15 @@
Locales['es'] = {
["only_allow_car"] = "Solo puedes almacenar autos aquí",
["car_saved"] = "Tu coche ha sido almacenado",
["press_to_save"] = "Pulsa ~INPUT_CONTEXT~ para guardar tu coche",
["not_your_car"] = "Tienes que ser dueño del auto para guardarlo",
["need_parking_fee"] = "Pulsa ~INPUT_CONTEXT~ para pagar las tarifas de estacionamiento ~g~$%s~s~",
["not_enough_money"] = "No tienes suficiente dinero",
["parking_fee"] = "Tarifas de estacionamiento: ~g~$%s/day",
["pay_success"] = "Pagaste la tarifa de estacionamiento por ~g~$%s~s~ y puedes conducir el auto ahora",
["parking_full"] = "Este estacionamiento está lleno, no puedes estacionar aquí",
["invalid_car"] = "No guardó el automóvil aquí o no tiene permiso para conducir este automóvil",
["already_parking"] = "Este aparcamiento ya tiene almacenado un coche con la misma placa.",
["owner"] = "Propietario: ~y~%s~s~",
["plate"] = "Matricula: ~g~%s~s~",
}