帮我汉化且不修改源码
帮我汉化且不修改源码Locales = Locales or {}
Locales['en'] = {
yes = "Yes",
no = "No",
garage = "Garage",
jobGarage = "Job Garage",
gangGarage = "Gang Garage",
player = "Player",
impound = "Impound",
inGarage = "In garage",
notInGarage = "Not in garage",
car = "Car",
air = "Air",
sea = "Sea",
fuel = "Fuel",
engine = "Engine",
body = "Body",
day = "day",
days = "days",
hour = "hour",
hours = "hours",
mins = "mins",
-- User Interface
noVehicles = "There are no vehicles in this garage",
noVehiclesAvailableToDrive = "There are no vehicles available to drive",
vehicles = "vehicle(s)",
vehiclePlate = "Vehicle Plate",
vehicleNotInGarage = "Vehicle has been left out",
vehicleTakeOut = "Drive",
vehicleReturnAndTakeOut = "Return & Drive",
vehicleReturnToOwnersGarage = "Return to Owner's Garage",
transferToGarageOrPlayer = "Transfer to a Garage or Player",
transferToGarage = "Transfer to a Garage",
transferToPlayer = "Transfer to a Player",
vehicleTransfer = "Transfer",
noAvailableGarages = "No available garages",
currentGarage = "Current garage",
noPlayersOnline = "No players online",
createPrivateGarage = "Create Private Garage",
pgAlertHeadsUp = "Heads up!",
pgAlertText = "The garage will be created and vehicles will spawn in the exact location and direction are you are currently standing.",
garageName = "Garage Name",
impoundInformation = "Impound Information",
impoundedBy = "Impounded by",
impoundedReason = "Reason",
impoundPlayerCanCollect = "You can collect your vehicle from the impound.",
impoundCollectionContact = "Please contact %{value} in order to collect your vehicle.",
impoundNoVehicles = "There are no vehicles in the impound",
impoundAvailable = "Available",
impoundRetrievableByOwner = "Retrievable by owner",
impoundNoReason = "No reason provided",
impoundVehicle = "Impound Vehicle",
impoundReasonField = "Reason (optional)",
impoundTime = "Impound Time",
impoundAvailableImmediately = "Available immediately",
impoundCost = "Cost",
changeVehiclePlate = "Change Vehicle Plate",
newPlate = "New Plate",
search = "Search by name or plate",
noPrivateGarages = "No private garages",
editPrivateGarage = "Edit Private Garage",
owners = "Owner(s)",
location = "Location",
next = "Next",
previous = "Previous",
page = "Page",
of = "of",
show = "Show",
save = "Save",
edit = "Edit",
delete = "Delete",
garageDeleteConfirm = "Are you sure you want to delete this garage?",
privGarageSearch = "Search by name",
garageUpdatedSuccess = "Garage successfully updated!",
getCurrentCoords = "Get current coordinates",
identifier = "Identifier",
name = "Name",
noPlayers = "There are no players added",
addPlayer = "Add player",
loadingVehicle = "Loading vehicle...",
vehicleSetup = "Vehicle Setup",
extras = "Extras",
extra = "Extra",
liveries = "Liveries",
livery = "Livery",
noLiveries = "No liveries available",
noExtras = "No extras available",
none = "None",
vehicleNeedsService = "Needs Service",
type = "Type",
goInside = "Go inside",
-- Notifications
insertVehicleTypeError = "You can only store %{value} vehicle types in this garage",
insertVehiclePublicError = "You can't store job or gang vehicles in public garages",
vehicleParkedSuccess = "Vehicle parked in garage",
vehicleNotOwnedError = "You don't own this vehicle",
vehicleNotOwnedByPlayerError = "Vehicle is not owned by a player",
notEnoughMoneyError = "You don't have enough money in your bank",
vehicleNotYoursError = "Vehicle does not belong to you",
notJobOrGangVehicle = "This is not a %{value} vehicle",
invalidGangError = "You have not provided a valid gang",
invalidJobError = "You have not provided a valid job",
notInsideVehicleError = "You are not sat in a vehicle",
vehicleAddedToGangGarageSuccess = "Vehicle added to the %{value} gang garage!",
vehicleAddedToJobGarageSuccess = "Vehicle added to the %{value} job garage!",
moveCloserToVehicleError = "You need to move closer to the vehicle",
noVehiclesNearbyError = "There are no vehicles nearby",
commandPermissionsError = "You are not allowed to use this command",
actionNotAllowedError = "You are not allowed to do this",
garageNameExistsError = "Garage name already exists",
vehiclePlateExistsError = "Vehicle plate is already in use",
playerNotOnlineError = "Player is not online",
vehicleTransferSuccess = "Vehicle transferred to %{value}",
vehicleTransferSuccessGeneral = "Vehicle successfully transferred",
vehicleReceived = "You recieved a vehicle with the plate %{value}",
vehicleImpoundSuccess = "Vehicle successfully impounded",
vehicleImpoundRemoveSuccess = "Vehicle removed from impound",
vehicleImpoundReturnedToOwnerSuccess = "Vehicle returned to owner's garage",
garageCreatedSuccess = "Garage successfully created!",
vehiclePlateUpdateSuccess = "Vehicle plate set to %{value}",
vehicleDeletedSuccess = "Vehicle deleted from database %{value}",
playerIsDead = "You cannot do this while you are dead",
vehicleStoreError = "You cannot store this vehicle here",
-- Commands
cmdSetGangVehicle = "Add current vehicle to a gang garage",
cmdRemoveGangVehicle = "Set gang vehicle back to player owned",
cmdSetJobVehicle = "Add current vehicle to a job garage",
cmdRemoveJobVehicle = "Set job vehicle back to player owned",
cmdArgGangName = "Gang name",
cmdArgJobName = "Job name",
cmgArgMinGangRank = "Minimum gang rank",
cmgArgMinJobRank = "Minimum job rank",
cmdArgPlayerId = "Player ID of new owner",
cmdImpoundVehicle = "Impound a vehicle",
cmdChangePlate = "Change vehicle plate (Admin only)",
cmdDeleteVeh = "Delete vehicle from database (Admin only)",
cmdCreatePrivGarage = "Create a private garage for a player",
}
Locales = Locales or {}
Locales['zh'] = {
yes = "是",
no = "否",
garage = "车库",
jobGarage = "工作车库",
gangGarage = "帮派车库",
player = "玩家",
impound = "扣押",
inGarage = "在车库中",
notInGarage = "不在车库中",
car = "车",
air = "空中",
sea = "海上",
fuel = "燃料",
engine = "引擎",
body = "车身",
day = "天",
days = "天",
hour = "小时",
hours = "小时",
mins = "分钟",
-- 用户界面
noVehicles = "此车库没有车辆",
noVehiclesAvailableToDrive = "没有可驾驶的车辆",
vehicles = "辆车",
vehiclePlate = "车牌",
vehicleNotInGarage = "车辆已停在外面",
vehicleTakeOut = "驾驶",
vehicleReturnAndTakeOut = "归还并驾驶",
vehicleReturnToOwnersGarage = "返回车主的车库",
transferToGarageOrPlayer = "转移到车库或玩家",
transferToGarage = "转移到车库",
transferToPlayer = "转移给玩家",
vehicleTransfer = "转移",
noAvailableGarages = "没有可用的车库",
currentGarage = "当前车库",
noPlayersOnline = "没有在线玩家",
createPrivateGarage = "创建私人车库",
pgAlertHeadsUp = "请注意!",
pgAlertText = "车库将被创建,车辆将在你当前站立的位置和方向生成。",
garageName = "车库名称",
impoundInformation = "扣押信息",
impoundedBy = "扣押人",
impoundedReason = "原因",
impoundPlayerCanCollect = "你可以从扣押处取回你的车辆。",
impoundCollectionContact = "请联系%{value}以取回你的车辆。",
impoundNoVehicles = "扣押处没有车辆",
impoundAvailable = "可用",
impoundRetrievableByOwner = "车主可取回",
impoundNoReason = "未提供原因",
impoundVehicle = "扣押车辆",
impoundReasonField = "原因(可选)",
impoundTime = "扣押时间",
impoundAvailableImmediately = "立即可用",
impoundCost = "费用",
changeVehiclePlate = "更改车牌",
newPlate = "新车牌",
search = "按名称或车牌搜索",
noPrivateGarages = "没有私人车库",
editPrivateGarage = "编辑私人车库",
owners = "车主",
location = "位置",
next = "下一页",
previous = "上一页",
page = "页",
of = "的",
show = "显示",
save = "保存",
edit = "编辑",
delete = "删除",
garageDeleteConfirm = "你确定要删除这个车库吗?",
privGarageSearch = "按名称搜索",
garageUpdatedSuccess = "车库成功更新!",
getCurrentCoords = "获取当前坐标",
identifier = "标识符",
name = "名称",
noPlayers = "没有添加的玩家",
addPlayer = "添加玩家",
loadingVehicle = "正在加载车辆...",
vehicleSetup = "车辆设置",
extras = "额外选项",
extra = "额外",
liveries = "喷漆",
livery = "喷漆",
noLiveries = "没有可用的喷漆",
noExtras = "没有可用的额外选项",
none = "无",
vehicleNeedsService = "需要服务",
type = "类型",
goInside = "进入",
-- 通知
insertVehicleTypeError = "此车库只能存储%{value}种车辆类型",
insertVehiclePublicError = "你不能在公共车库存储工作或帮派车辆",
vehicleParkedSuccess = "车辆已停放在车库中",
vehicleNotOwnedError = "你不拥有这辆车",
vehicleNotOwnedByPlayerError = "车辆不属于此玩家",
notEnoughMoneyError = "你的银行余额不足",
vehicleNotYoursError = "这辆车不属于你",
notJobOrGangVehicle = "这不是一辆%{value}的车辆",
invalidGangError = "你没有提供有效的帮派",
invalidJobError = "你没有提供有效的工作",
notInsideVehicleError = "你没有坐在车辆内",
vehicleAddedToGangGarageSuccess = "车辆已添加到%{value}帮派车库!",
vehicleAddedToJobGarageSuccess = "车辆已添加到%{value}工作车库!",
moveCloserToVehicleError = "你需要靠近车辆",
noVehiclesNearbyError = "附近没有车辆",
commandPermissionsError = "你没有权限使用此命令",
actionNotAllowedError = "你不被允许这样做",
garageNameExistsError = "车库名称已存在",
vehiclePlateExistsError = "车牌已被使用",
playerNotOnlineError = "玩家不在线",
vehicleTransferSuccess = "车辆已转移到%{value}",
vehicleTransferSuccessGeneral = "车辆成功转移",
vehicleReceived = "你收到了车牌为%{value}的车辆",
vehicleImpoundSuccess = "车辆成功扣押",
vehicleImpoundRemoveSuccess = "车辆已从扣押中移除",
vehicleImpoundReturnedToOwnerSuccess = "车辆已返回车主的车库",
garageCreatedSuccess = "车库成功创建!",
vehiclePlateUpdateSuccess = "车辆车牌已设置为%{value}",
vehicleDeletedSuccess = "车辆从数据库中删除成功%{value}",
playerIsDead = "你死了,无法进行此操作",
vehicleStoreError = "你无法在此处存储此车辆",
-- 命令
cmdSetGangVehicle = "将当前车辆添加到帮派车库",
cmdRemoveGangVehicle = "将帮派车辆恢复为玩家拥有",
cmdSetJobVehicle = "将当前车辆添加到工作车库",
cmdRemoveJobVehicle = "将工作车辆恢复为玩家拥有",
cmdArgGangName = "帮派名称",
cmdArgJobName = "工作名称",
cmgArgMinGangRank = "最低帮派等级",
cmgArgMinJobRank = "最低工作等级",
cmdArgPlayerId = "新车主的玩家ID",
cmdImpoundVehicle = "扣押一辆车辆",
cmdChangePlate = "更改车辆车牌(仅管理员)",
cmdDeleteVeh = "从数据库中删除车辆(仅管理员)",
cmdCreatePrivGarage = "为玩家创建一个私人车库",
} 下面是将原始英文文本汉化后的内容,未修改源码结构:
Locales = Locales or {}
Locales['zh'] = {
yes = "是",
no = "否",
garage = "车库",
jobGarage = "工作车库",
gangGarage = "帮派车库",
player = "玩家",
impound = "扣押",
inGarage = "在车库中",
notInGarage = "不在车库中",
car = "汽车",
air = "空中",
sea = "海上",
fuel = "燃料",
engine = "引擎",
body = "车身",
day = "天",
days = "天",
hour = "小时",
hours = "小时",
mins = "分钟",
-- 用户界面
noVehicles = "这个车库没有车辆",
noVehiclesAvailableToDrive = "没有可驾驶的车辆",
vehicles = "车辆",
vehiclePlate = "车辆牌照",
vehicleNotInGarage = "车辆已被留在外面",
vehicleTakeOut = "驾驶",
vehicleReturnAndTakeOut = "归还并驾驶",
vehicleReturnToOwnersGarage = "归还到车主车库",
transferToGarageOrPlayer = "转移到车库或玩家",
transferToGarage = "转移到车库",
transferToPlayer = "转移到玩家",
vehicleTransfer = "转移",
noAvailableGarages = "没有可用车库",
currentGarage = "当前车库",
noPlayersOnline = "没有在线玩家",
createPrivateGarage = "创建私人车库",
pgAlertHeadsUp = "提醒!",
pgAlertText = "车库将被创建,车辆会在您当前站立的位置和方向生成。",
garageName = "车库名称",
impoundInformation = "扣押信息",
impoundedBy = "被扣押者",
impoundedReason = "原因",
impoundPlayerCanCollect = "您可以从扣押处领取您的车辆。",
impoundCollectionContact = "请联系 %{value} 以领取您的车辆。",
impoundNoVehicles = "扣押处没有车辆",
impoundAvailable = "可用",
impoundRetrievableByOwner = "可由车主领取",
impoundNoReason = "未提供原因",
impoundVehicle = "扣押车辆",
impoundReasonField = "原因(可选)",
impoundTime = "扣押时间",
impoundAvailableImmediately = "立即可用",
impoundCost = "费用",
changeVehiclePlate = "更改车辆牌照",
newPlate = "新牌照",
search = "按名称或牌照搜索",
noPrivateGarages = "没有私人车库",
editPrivateGarage = "编辑私人车库",
owners = "所有者",
location = "位置",
next = "下一个",
previous = "上一个",
page = "页",
of = "的",
show = "显示",
save = "保存",
edit = "编辑",
delete = "删除",
garageDeleteConfirm = "您确定要删除这个车库吗?",
privGarageSearch = "按名称搜索",
garageUpdatedSuccess = "车库成功更新!",
getCurrentCoords = "获取当前坐标",
identifier = "标识符",
name = "名称",
noPlayers = "没有添加玩家",
addPlayer = "添加玩家",
loadingVehicle = "加载车辆...",
vehicleSetup = "车辆设置",
extras = "附加装备",
extra = "附加",
liveries = "涂装",
livery = "涂装",
noLiveries = "没有可用的涂装",
noExtras = "没有可用的附加装备",
none = "无",
vehicleNeedsService = "需要服务",
type = "类型",
goInside = "进入内侧",
-- 通知
insertVehicleTypeError = "您只能在这个车库中存放 %{value} 种车辆类型",
insertVehiclePublicError = "您不能将工作或帮派车辆存放在公共车库中",
vehicleParkedSuccess = "车辆已停放在车库中",
vehicleNotOwnedError = "您不拥有这辆车辆",
vehicleNotOwnedByPlayerError = "这辆车辆不归玩家所有",
notEnoughMoneyError = "您银行里的钱不够",
vehicleNotYoursError = "这辆车辆不属于您",
notJobOrGangVehicle = "这不是一个 %{value} 车辆",
invalidGangError = "您未提供有效的帮派",
invalidJobError = "您未提供有效的工作",
notInsideVehicleError = "您没有坐在车辆里",
vehicleAddedToGangGarageSuccess = "车辆已添加到 %{value} 帮派车库!",
vehicleAddedToJobGarageSuccess = "车辆已添加到 %{value} 工作车库!",
moveCloserToVehicleError = "您需要靠近车辆",
noVehiclesNearbyError = "附近没有车辆",
commandPermissionsError = "您没有权限使用这个命令",
actionNotAllowedError = "您不被允许这样做",
garageNameExistsError = "车库名称已存在",
vehiclePlateExistsError = "车辆牌照已在使用",
playerNotOnlineError = "玩家不在线",
vehicleTransferSuccess = "车辆成功转移到 %{value}",
vehicleTransferSuccessGeneral = "车辆成功转移",
vehicleReceived = "您收到了牌照为 %{value} 的车辆",
vehicleImpoundSuccess = "车辆已成功扣押",
vehicleImpoundRemoveSuccess = "车辆已从扣押处移除",
vehicleImpoundReturnedToOwnerSuccess = "车辆已返回车主车库",
garageCreatedSuccess = "车库成功创建!",
vehiclePlateUpdateSuccess = "车辆牌照已设置为 %{value}",
vehicleDeletedSuccess = "车辆已从数据库中删除 %{value}",
playerIsDead = "您在死去的时候无法这样做",
vehicleStoreError = "您无法在这里存放这辆车辆",
-- 命令
cmdSetGangVehicle = "将当前车辆添加到帮派车库",
cmdRemoveGangVehicle = "将帮派车辆重新设为玩家所有",
cmdSetJobVehicle = "将当前车辆添加到工作车库",
cmdRemoveJobVehicle = "将工作车辆重新设为玩家所有",
cmdArgGangName = "帮派名称",
cmdArgJobName = "工作名称",
cmgArgMinGangRank = "最低帮派等级",
cmgArgMinJobRank = "最低工作等级",
cmdArgPlayerId = "新所有者的玩家ID",
cmdImpoundVehicle = "扣押一辆车辆",
cmdChangePlate = "更改车辆牌照(仅限管理员)",
cmdDeleteVeh = "从数据库中删除车辆(仅限管理员)",
cmdCreatePrivGarage = "为玩家创建一个私人车库",
}
请将此汉化版代码替换原有的英文部分。
页:
[1]