翻译一下
Loc["en"] = {
["common"] = { --commonly used strings
owned = "Vehicle isn't owned, cannot modify",
close = "Close",
ret = "Return",
stock = "Stock", -- Default, Original, whatever word you use for this
current = "Currently Installed",
noOptions = "No options available for this item",
installing = "Installing ",
amountoption = "Amount of Options: ",
already = " already installed", -- eg. "Stock Bumper already Installed"
menuinstalled = " Options] Installed: ", --eg " Installed: Grille 1"
nearwheel = "You need to move closer to a wheel",
nearengine = "You need to move closer to the engine"
},
--Performance Items
["armour"] = { --armour.lua
cant = "Armor can't be installed on this vehicle",
already = "Armour already installed",
install = "Installing Armour..",
installed = "Success! Armour Installed..",
failed = "Armour installation failed!",
removed = "Success! Armour Removed",
removing = "Removing Armour..",
remfail = "Armour removal failed!",
},
["brakes"] = { --brakes.lua
cant = "Brakes can't be installed on this vehicle",
already = "Brakes already installed",
install = "Installing Brakes Level: ",
installed = "Success! Brakes Installed..",
failed = "Brakes installation failed!",
remove = "Success! Brakes Removed",
removing = "Removing Brakes..",
remfail = "Brakes removal failed!",
},
["engines"] = { --engines.lua
cant = "Engines can't be installed on this vehicle",
already = "Engine already installed",
install = "Installing Engine Level: ",
installed = "Success! Engine Installed..",
failed = "Engine installation failed!",
remove = "Success! Engine Removed",
removing = "Removing Engine..",
remfail = "Engine removal failed!",
},
["suspension"] = { --suspension.lua
cant = "Suspension can't be installed on this vehicle",
already = "Suspension already installed",
install = "Installing Suspension Level: ",
installed = "Success! Suspension Installed..",
failed = "Suspension installation failed!",
removed = "Success! Suspension Removed",
removing = "Removing Suspension..",
remfail = "Suspension removal failed!",
},
["transmission"] = { --transmission.lua
cant = "Transmission can't be installed on this vehicle",
already = "Transmission already installed",
install = "Installing Transmission Level: ",
installed = "Success! Transmission Installed..",
failed = "Transmission installation failed!",
remove = "Success! Transmission Removed",
removing = "Removing Transmission..",
remfail = "Transmission removal failed!",
},
["tires"] = { --tires.lua
--Drift
already = "Drift Tires already installed",
install = "Installing Drift Tires..",
installed = "Success! Drift Tires Installed",
failed = "Drift Tires installation failed!",
remove = "Success! Drift Tires Removed",
removing = "Removing Drift Tires..",
remfail = "Drift Tire removal failed!",
swap = "BulletProof Tires removed!",
--BProof
already2 = "Bulletproof Tires already installed",
install2 = "Installing Bulletproof Tires..",
installed2 = "Success! Bulletproof Tires Installed",
failed2 = "Bulletproof Tires installation failed!",
remove2 = "Success! Bulletproof Tires Removed",
removing2 = "Removing BulletProof Tires",
remfail2 = "Bulletproof Tire removal failed!",
swap2 = "Drift Tires removed!",
},
["turbo"] = { --turbo.lua
already = "Turbo already installed",
install = "Installing Turbo..",
installed = "Success! Turbo Installed..",
failed = "Turbo installation failed!",
remove = "Success! Turbo Removed",
removing = "Removing Turbo..",
remfail = "Turbo removal failed!",
},
["xenons"] = { --xenons.lua
already = "Xenon Headlights already installed",
install = "Installing Xenons..",
installed = "Success! Xenon Headlights Installed",
failed = "Xenon Headlight installation failed!",
remove = "Success! Xenon Removed",
removing = "Removing Xenon..",
remfail = "Xenon removal failed!",
closer = "Move closer to the headlights",
notinstall = "Xenons Headlights Not Installed",
--Menus
neonheader1 = "Lighting Controls",
neonheader2 = "Underglow Lighting Controls",
neonheader3 = "Underglow Color Controls",
neonheader4 = "Xenon Headlight Controls",
customheader = "Custom RBG",
customconfirm = "APPLY",
neontxt1 = "Fine control of Neon Lighting",
toggle = "Toggle ALL",
front = "Front",
right = "Right",
left = "Left",
back = "Back",
neontxt2 = "Change Underglow Color",
xenonheader = "Xenon Controls",
xenontxt = "Adjust vehicle headlight color",
},
--Cosmetic Items
["bumpers"] = { --bumpers.lua
stockMod = "Stock Bumpers..",
installed = "Success! Bumpers Installed",
failed = "Bumpers installation failed!",
menuheader = " Grille and Bumper Cosmetics", --eg "Sultan RS Grille and Bumper Cosmetics"
menugrille = "Grille",
menuFBumper = "Front Bumper",
menuBBumper = "Back Bumper",
},
["exhaust"] = { --exhaust.lua
stockMod = "Stock Exhaust..",
already = " already installed", -- eg. "Stock Bumper already Installed"
installed = "Success! Exhaust Installed",
failed = "Exhaust installation failed!",
menuheader = " Exhaust Modification", --eg "Sultan RS Grille and Bumper Cosmetics"
},
["exterior"] = { --exterior.lua
stockMod = "Stock Exterior Mod..",
installed = "Success! Exterior Mod Installed",
failed = "Exterior Mod installation failed!",
menuheader = " Exterior Modification", --eg "Sultan RS Grille and Bumper Cosmetics"
label1 = "Trim A",
label2 = "Trim B",
label3 = "Trunk",
label4 = "Engine Block",
label5 = "Filter",
label6 = "Struts",
label7 = "Hydraulics",
label8 = "Arch Covers",
label9 = "Fuel Tanks",
label10 = "Aerials",
},
["hood"] = { --hood.lua
stockMod = "Stock Hood..",
installed = "Success! Hood Installed",
failed = "Hood installation failed!",
menuheader = " Hood Modification", --eg "Sultan RS Grille and Bumper Cosmetics"
},
["horns"] = { --horns.lua
installed = "Success! Horn Installed",
failed = "Horn installation failed!",
menuheader = " Horn Modification", --eg "Sultan RS Grille and Bumper Cosmetics"
},
["interior"] = { --interior.lua
stockMod = "Stock Interior Mod..",
installed = "Success! Interior Mod Installed",
failed = "Interior Mod installation failed!",
menuheader = " Interior Modification", --eg "Sultan RS Grille and Bumper Cosmetics"
label1 = "Roll Cages",
label2 = "Ornaments",
label3 = "Dashboards",
label4 = "Dials",
label5 = "Door Speakers",
label6 = "Steering Wheels",
label7 = "Shifter Leavers",
label8 = "Plaques",
label9 = "Speakers",
},
["livery"] = { --exhaust.lua
oldMod = "old",
already = " already installed", -- eg. "Stock Bumper already Installed"
installed = "Success! Livery Installed",
failed = "Livery installation failed!",
menuheader = " Livery Modification", --eg "Sultan RS Grille and Bumper Cosmetics"
},
["nos"] = { --exhaust.lua
notinstalled = "Turbo isn't installed",
installing = "Success! Installing NOS",
installed = "Success! NOS Installed",
failed = "NOS installation failed!",
removing = "Removing NOS Bottle",
removed = "NOS Bottle Removed",
remfail = "Failed to remove NOS bottle",
nosColour = "NOS Purge Colour",
boostmode = "Boost Mode",
purgemode = "Purge Mode",
boost = "Boost Power: ",
spray = "Spray Strength: ",
},
["paint"] = { --paints.lua
primary = "Primary",
secondary = "Secondary",
pearl = "Pearlescent",
wheel = "Wheel",
dashboard = "Dashboard",
interior = "Interior",
classic = "Classic",
metallic = "Metallic",
matte = "Matte",
metals = "Metals",
chameleon = "Chameleon",
installing = "Success! Installing Paint",
installed = "Success! Paint Installed",
failed = "Paint installation failed!",
menuheader = " Respray",
},
["paintrgb"] = {
select = "Selection:",
finish = "Finish Select:",
error = "Hex Code input needs to be 6 characters",
customheader = "Custom HEX and RGB",
chrome = "Chrome",
hex = "HEX Picker",
rgb = "RGB Picker",
},
["plates"] = { --paints.lua
already = "Plate Already Installed!",
installing = "Installing Plates..",
installed = "Success! Plates Installed",
failed = "Plates installation failed!",
menuheader = " Plates Modification",
label1 = "Plate Holder",
label2 = "Vanity Plates",
label3 = "Custom Plates",
menuheader2 = " Custom Plate Styles",
},
["rims"] = {
installing = "Installing Rims..",
installed = "Success! Rims Installed",
failed = "Rims installation failed!",
menuheader = "Rims Modification",
label1 = "Sport",
label2 = "Muscle",
label3 = "Lowrider",
label4 = "SUV",
label5 = "Offroad",
label6 = "Tuner",
label7 = "Highend",
label8 = "Benny's Originals",
label9 = "Benny's Bespoke",
label10 = "Open Wheel",
label11 = "Street",
label12 = "Track",
label13 = "Front Wheel",
label14 = "Back Wheel",
label15 = "Motorcycle",
labelcustom = "Custom Rims",
},
["rollcage"] = { --rollcage.lua
installed = "Success! Roll Cage Installed",
failed = "Roll Cage installation failed!",
menuheader = " Roll Cage Modification",
},
["roof"] = { --roof.lua
installed = "Success! Roof Installed",
failed = "Roof installation failed!",
menuheader = " Roof Modification",
},
["seat"] = { --seat.lua
installed = "Success! Seat Installed",
failed = "Seat installation failed!",
menuheader = " Seat Modification",
},
["skirts"] = { --skirts.lua
installed = "Success! Skirt Installed",
failed = "Skirt installation failed!",
menuheader = " Skirt and Fender Cosmetics",
menuskirt = "Skirts",
menuRF = "Right Fender",
menuLF = "Left Fender",
},
["spoilers"] = { --spoilers.lua
installed = "Success! Spoiler Installed",
failed = "Spoiler installation failed!",
menuheader = " Spoiler Modification",
},
["smoke"] = { --tiresmoke.lua
already = "This colour is currently applied!",
installing = "Installing Tire Smoke..",
installed = "Success! Smoke Installed",
failed = "Smoke installation failed!",
menuheader = " Tire Smoke Modification",
remove = "Remove Smoke",
custom = "CUSTOM RBG",
black = "Black",
white = "White",
blue = "Blue",
eblue = "Electric Blue",
mgreen = "Mint Green",
lgreen = "Lime Green",
yellow = "Yellow",
gshower = "Golden Shower",
orange = "Orange",
red = "Red",
ppink = "Pony Pink",
hpink = "Hot Pink",
purple = "Purple",
blacklight = "Blacklight",
submit = "Submit",
},
["windows"] = { --windows.lua
installed = "Success! Tint Installed",
failed = "Tint installation failed!",
menuheader = " Window Tints",
label1 = "Tint Removal",
label2 = "Limo",
label3 = "Green",
label4 = "Light Smoke",
label5 = "Dark Smoke",
label6 = "Pure Black",
},
["stores"] = {
browse = "Browse Store",
tools = "Mechanic Tools",
perform = "Performance Items",
cosmetic = "Cosmetic Items",
},
["crafting"] = { --crafting.lua
menuheader = "Mechanic Crafting",
toolheader = "Mechanics Tools",
performheader = "Performance Items",
cosmetheader = "Cosmetic Items",
numitems = " items", --for menu. eg. "11 items"
ingredients = "You don't have the correct ingredients",
},
["payments"] = { --payments.lua
charge = "Charge Customer",
},
["check"] = { --check_tunes.lua
plate = "Plate: [",
value = "]<br>Value: $",
unavail = "❌ Unavailable",
notinstall = "Not Installed",
reinforced = "Reinforced Body",
xenoninst = "Xenon Installed",
tireinst = "Installed",
label1 = "Engines:",
label2 = "Brakes:",
label3 = "Suspension:",
label4 = "Transmission:",
label5 = "Armor:",
label6 = "Turbo:",
label7 = "Xenon:",
label8 = "Drift Tyres:",
label9 = "Bulletproof Tyres:",
label10 = "List of Possible Cosmetics",
label11 = "Vehicle: ",
label12 = " options ]",
label13 = "- External Cosmetics -",
label14 = "- Internal Cosmetics - ",
label15 = "Spoilers - [ ",
label16 = "Front Bumpers - [ ",
label17 = "Rear Bumpers - [ ",
label18 = "Skirts - [ ",
label19 = "Exhausts - [ ",
label20 = "Grilles - [ ",
label21 = "Hoods - [ ",
label22 = "Left Fender - [ ",
label23 = "Right Fender - [ ",
label24 = "Roof - [ ",
label25 = "Plate Holders - [ ",
label26 = "Vanity Plates - [ ",
label27 = "Trim A - [ ",
label28 = "Trim B - [ ",
label29 = "Trunks - [ ",
label30 = "Engine Blocks - [ ",
label31 = "Air Filters - [ ",
label32 = "Engine Strut - [ ",
label33 = "Arch Covers - [ ",
label34 = "Roll Cages - [ ",
label35 = "Ornaments - [ ",
label36 = "Dashboards - [ ",
label37 = "Dials - [ ",
label38 = "Door Speakers - [ ",
label39 = "Seats - [ ",
label40 = "Steering Wheels - [ ",
label41 = "Shifter Leavers - [ ",
label42 = "Plaques - [ ",
label43 = "Speakers - [ ",
label44 = "Hydraulics - [ ",
label45 = "Aerials - [ ",
label46 = "Fuel Tanks - [ ",
label47 = "Yes",
label48 = "No",
label49 = "Do you want to remove the Brakes?",
label50 = "Do you want to remove the Engine?",
label51 = "Do you want to remove the Suspension?",
label52 = "Do you want to remove the transmission?",
label53 = "Do you want to remove the Armor?",
label54 = "Do you want to remove the Turbo?",
label55 = "Do you want to remove the Xenon?",
label56 = "Do you want to remove the Tires?",
label57 = "Do you want to unload the Nitrous?",
label58 = "Nitrous:",
},
这段代码是FiveM的插件脚本,涵盖了各种车辆改装功能,包括性能升级和外观美化。
主要包含以下几个部分:
1. 通用字符串
这里定义了一些常用的字符串,比如"已安装"、"无选项可用"等。
2. 性能改装
包括装甲、刹车、发动机、悬挂、变速箱、轮胎、涡轮增压器等的安装与卸载。
3. 外观改装
包括保险杠、排气管、外饰、引擎盖、喇叭、内饰、车身贴花、轮毂、车窗贴膜等的更换。
4. 其他功能
包括商店浏览、工具制作、支付结算、性能检查等。
这些功能大多定义在不同的lua脚本文件中,比如armour.lua、brakes.lua等。在服务器端执行,通过与客户端进行交互实现各种改装功能。
页:
[1]