Skip to content

Commit

Permalink
Add Spanish Translate (#81)
Browse files Browse the repository at this point in the history
* Create es.lua

* Update __resource.lua

* Create en_esx_drugs.sql

* Create es_esx_drugs.sql
  • Loading branch information
BackrndSource authored and ElPumpo committed May 20, 2019
1 parent f3046e5 commit 4220c14
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __resource.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ server_scripts {
'@mysql-async/lib/MySQL.lua',
'@es_extended/locale.lua',
'locales/en.lua',
'locales/es.lua',
'locales/fr.lua',
'locales/sv.lua',
'config.lua',
Expand All @@ -17,6 +18,7 @@ server_scripts {
client_scripts {
'@es_extended/locale.lua',
'locales/en.lua',
'locales/es.lua',
'locales/fr.lua',
'locales/sv.lua',
'config.lua',
Expand Down
30 changes: 30 additions & 0 deletions locales/es.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Locales ['es'] = {
-- weed
['weed_pickupprompt'] = 'pulsa ~INPUT_CONTEXT~ para recolectar ~g~Marijuana húmeda~s~.',
['weed_inventoryfull'] = 'no puedes llevar más ~g~Marijuana húmeda~s~!',
['weed_processprompt'] = 'pulsa ~INPUT_CONTEXT~ para ~g~secar la Marijuana~s~.',
['weed_processingstarted'] = 'secando la ~g~Marijuana húmeda~s~...',
['weed_processingfull'] = 'no puedes llevar más ~g~Marijuana~s~!',
['weed_processingenough'] = 'necesitas ~b~3x~s~ ~g~Marijuana húmeda~s~.',
['weed_processed'] = 'de ~b~3x~s~ ~g~Marijuana húmeda~s~ has obtenido ~b~1x~s~ ~g~Marijuana~s~',
['weed_processingtoofar'] = 'el secado se ha ~r~cancelado~s~ por que has abandonado el área.',

-- drug dealer
['dealer_prompt'] = 'pulsa ~INPUT_CONTEXT~ para hablar con el ~r~Camello~s~.',
['dealer_title'] = 'camello',
['dealer_item'] = '$%s',
['dealer_notenough'] = 'esa mierda no es cantidad suficiente para vender!',
['dealer_sold'] = 'has vendido ~b~%sx~s~ ~y~%s~s~ por ~g~$%s~s~',

-- license
['license_title'] = 'necesitas un permiso para poder tratar con ese producto, puedes comprarlo aquí.',
['license_no'] = 'no',
['license_bought'] = 'has comprado ~b~%s~s~ por ~r~$%s~s~',
['license_bought_fail'] = 'no puedes permitirte ~b~%s~s~!',
['license_weed'] = 'permiso de cultivo de Marijuana',

-- blips
['blip_weedfield'] = 'plantación de Marijuana',
['blip_weedprocessing'] = 'preparación de Marijuana',
['blip_drugdealer'] = 'camello'
}
10 changes: 10 additions & 0 deletions localization/en_esx_drugs.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
USE `essentialmode`;

INSERT INTO `items` (`name`, `label`, `limit`, `rare`, `can_remove`) VALUES
('cannabis', 'Cannabis', 40, 0, 1),
('marijuana', 'Marijuana', 14, 0, 1)
;

INSERT INTO `licenses` (`type`, `label`) VALUES
('weed_processing', 'Weed Processing License')
;
10 changes: 10 additions & 0 deletions localization/es_esx_drugs.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
USE `essentialmode`;

INSERT INTO `items` (`name`, `label`, `limit`, `rare`, `can_remove`) VALUES
('cannabis', 'Marijuana húmeda', 40, 0, 1),
('marijuana', 'Marijuana', 14, 0, 1)
;

INSERT INTO `licenses` (`type`, `label`) VALUES
('weed_processing', 'permiso de cultivo de Marijuana')
;

0 comments on commit 4220c14

Please sign in to comment.