alim000 发表于 2024-8-10 19:52:17

请翻译中文 保留原有代码


    ['prop_menu'] = {
      text = ' Place Prop | Cancel',
      color = 'darkblue',
      side = 'right'
    },

    ['vehicles'] = {
      text = ' Vehicle Menu',
      color = 'darkblue',
      side = 'right'
    },

    ['storevehicle'] = {
      text = ' Store Vehicle',
      color = 'darkblue',
      side = 'right'
    },

    ['armories'] = {
      text = ' Open Armory',
      color = 'darkblue',
      side = 'right'
    },

    ['cloakrooms'] = {
      text = ' Open Cloakroom',
      color = 'darkblue',
      side = 'right'
    },

    ['stashes'] = {
      text = ' Open Stash',
      color = 'darkblue',
      side = 'right'
    },

    ['trashes'] = {
      text = ' Open Trash',
      color = 'darkblue',
      side = 'right'
    },

    ['evidences'] = {
      text = ' Open Evidences',
      color = 'darkblue',
      side = 'right'
    },

    ['sendreport'] = {
      text = ' Send Report',
      color = 'darkblue',
      side = 'right'
    },

    ['seereport'] = {
      text = ' See Reports',
      color = 'darkblue',
      side = 'right'
    },

    ['close_cam'] = {
      text = ' Close Camera',
      color = 'darkblue',
      side = 'right'
    },

    ['clean'] = {
      text = ' Clean',
      color = 'darkblue',
      side = 'right'
    },

    ['work'] = {
      text = ' Repair',
      color = 'darkblue',
      side = 'right'
    },

    ['removeprop'] = {
      text = ' Remove Prop',
      color = 'darkblue',
      side = 'right'
    },

    -- Error Notifications

    ['not_police'] = {
      title = "Police Job",
      text = "You are not a police officer",
      type = 'error',
      time = 5000

    },

    ['prop_removed'] = {
      title = "Police Job",
      text = "The prop has been removed",
      type = 'error',
      time = 5000
    },

    ['no_player'] = {
      title = "Police Job",
      text = "There is no player nearby",
      type = 'error',
      time = 5000
    },

    ['not_handcuffed'] = {
      title = "Police Job",
      text = "The player is not handcuffed",
      type = 'error',
      time = 5000
    },

    ['hands_up'] = {
      title = "Police Job",
      text = "The player needs to have their hands up or be handcuffed",
      type = 'error',
      time = 5000
    },

    ['player_offline'] = {
      title = "Police Job",
      text = "The player is offline",
      type = 'error',
      time = 5000
    },

    ['not_owned_vehicle'] = {
      title = "Police Job",
      text = "The vehicle with plate ${plate} is not owned by anyone",
      type = 'error',
      time = 5000
    },

    ['no_vehicle'] = {
      title = "Police Job",
      text = "There is no vehicle nearby",
      type = 'error',
      time = 5000
    },
   
    ['failed_opening_doors'] = {
      title = "Police Job",
      text = "You failed to open the doors",
      type = 'error',
      time = 5000
    },

    ['canceled'] = {
      title = "Police Job",
      text = "Canceled",
      type = 'error',
      time = 5000
    },

    ['no_handcuffs'] = {
      title = "Police Job",
      text = "You have no handcuffs with you",
      type = 'error',
      time = 5000
    },

    ['no_space'] = {
      title = "Police Job",
      text = "There is no space for the vehicle",
      type = 'error',
      time = 5000
    },

    ['report_deleted'] = {
      title = "Police Job",
      text = "The report with ID ${id} has been deleted",
      type = 'error',
      time = 5000
    },

    ['no_escorting'] = {
      title = "Police Job",
      text = "You are not escorting anyone",
      type = 'error',
      time = 5000
    },

    ['cant_handcuff'] = {
      title = "Police Job",
      text = "You can't handcuff a player while escorting",
      type = 'error',
      time = 5000
    },

    ['no_ankle_monitor'] = {
      title = "Police Job",
      text = "The player has no ankle monitor",
      type = 'error',
      time = 5000
    },

    ['already_ankle_monitor'] = {
      title = "Police Job",
      text = "The player already has an ankle monitor",
      type = 'error',
      time = 5000
    },

    ['not_on_duty'] = {
      title = "Police Job",
      text = "You are not on duty",
      type = 'error',
      time = 5000
    },

    ['cant_uncuff'] = {
      title = "Police Job",
      text = "You can't uncuff the player while escorting",
      type = 'error',
      time = 5000
    },

    -- Success Notifications

    ['prop_placed'] = {
      title = "Police Job",
      text = "The ${prop} has been placed",
      type = 'success',
      time = 5000
    },

    ['placed_ankle_monitor'] = {
      title = "Police Job",
      text = "You have placed an ankle monitor on ${player}",
      type = 'success',
      time = 5000
    },

    ['removed_ankle_monitor'] = {
      title = "Police Job",
      text = "You have removed the ankle monitor from ${player}",
      type = 'success',
      time = 5000
    },

    ['copied_plate'] = {
      title = "Police Job",
      text = "The plate has been copied to your clipboard",
      type = 'success',
      time = 5000
    },

    ['copied_phone'] = {
      title = "Police Job",
      text = "The phone number has been copied to your clipboard",
      type = 'success',
      time = 5000
    },

    ['sent_to_recover'] = {
      title = "Police Job",
      text = "The vehicle with plate ${plate} has been sent to police recover",
      type = 'success',
      time = 5000
    },

    ['impounded_vehicle'] = {
      title = "Police Job",
      text = "The vehicle with plate ${plate} has been impounded",
      type = 'success',
      time = 5000
    },

    ['vehicle_unlocked'] = {
      title = "Police Job",
      text = "The vehicle has been unlocked",
      type = 'success',
      time = 5000
    },

    ['cam_added'] = {
      title = "Police Job",
      text = "Camera ${cctv} has been added",
      type = 'success',
      time = 5000
    },

    ['radar_added'] = {
      title = "Police Job",
      text = "Radar ${radar} has been added with speed limit of ${speed} " .. (Config.UseKMH and "km/h" or "mph"),
      type = 'success',
      time = 5000
    },

    ['jailed'] = {
      title = "Police Job",
      text = "You have jailed ${player} for ${time} months",
      type = 'success',
      time = 5000
    },

    ['community_service'] = {
      title = "Police Job",
      text = "You have sent ${player} to community service for ${time} months",
      type = 'success',
      time = 5000
    },

    ['report_sent'] = {
      title = "Police Job",
      text = "You have sent your report to the police department",
      type = 'success',
      time = 5000
    },

    ['report_updated'] = {
      title = "Police Job",
      text = "You have updated the report with ID ${id} to '${status}'",
      type = 'success',
      time = 5000
    },

    ['remove_prison'] = {
      title = "Police Job",
      text = "You removed ${name} from prison",
      type = 'success',
      time = 5000
    },

    ['remove_community_service'] = {
      title = "Police Job",
      text = "You removed ${name} from community service",
      type = 'success',
      time = 5000
    },

    -- Info Notifications

    ['searching_player'] = {
      title = "Police Job",
      text = "You are searching ${player}",
      type = 'info',
      time = 5000
    },

    ['being_searched'] = {
      title = "Police Job",
      text = "You are being searched",
      type = 'info',
      time = 5000
    },
   
    ['escorting_player'] = {
      title = "Police Job",
      text = "You are escorting ${player}",
      type = 'info',
      time = 5000
    },

    ['being_escorted'] = {
      title = "Police Job",
      text = "You are being escorted",
      type = 'info',
      time = 5000
    },
   
    ['ankle_monitor_placed'] = {
      title = "Police Job",
      text = "You have now an ankle monitor",
      type = 'info',
      time = 5000
    },

    ['ankle_monitor_removed'] = {
      title = "Police Job",
      text = "You no longer have an ankle monitor",
      type = 'info',
      time = 5000
    },

    ['ankle_monitor'] = {
      title = "Police Job",
      text = "The ankle monitor location for ${name} as been set on the map",
      type = 'info',
      time = 5000
    },

    ['get_jailed'] = {
      title = "Police Job",
      text = "You have been jailed for ${months} months",
      type = 'info',
      time = 5000
    },

    ['jail_time_updated'] = {
      title = "Police Job",
      text = "Your jail time has been updated to ${months} months",
      type = 'info',
      time = 5000
    },

    ['jailed_end'] = {
      title = "Police Job",
      text = "You have been released from jail",
      type = 'info',
      time = 5000
    },

    ['get_community'] = {
      title = "Police Job",
      text = "You have been sent to community service for ${months} months",
      type = 'info',
      time = 5000
    },

    ['community_service_updated'] = {
      title = "Police Job",
      text = "Your community service has been updated to ${months} months",
      type = 'info',
      time = 5000
    },

    ['community_end'] = {
      title = "Police Job",
      text = "You have been released from community service",
      type = 'info',
      time = 5000
    },

    ['community_service_added'] = {
      title = "Police Job",
      text = "It has been added ${months} months to the community service because you tried to escape",
      type = 'info',
      time = 5000
    },

    ['new_report'] = {
      title = "Police Job",
      text = "${name} has sent a new report",
      type = 'info',
      time = 5000
    },

    -- Warning Notifications

    ['emergency_signal'] = {
      title = "Police Job",
      text = "${player} has sent an emergency signal",
      type = 'warning',
      time = 5000
    },

    ['speeding'] = {
      title = "Police Radar",
      text = "You got caught speeding at ${speed} " .. (Config.UseKMH and "km/h" or "mph"),
      type = 'warning',
      time = 5000
    },



ChatGPT 发表于 2024-8-10 19:57:15

['prop_menu'] = {
      text = ' 放置道具 |取消',-- Place Prop | Cancel
      color = 'darkblue',
      side = 'right'
    },

    ['vehicles'] = {
      text = ' 车辆菜单',-- Vehicle Menu
      color = 'darkblue',
      side = 'right'
    },

    ['storevehicle'] = {
      text = ' 存车',-- Store Vehicle
      color = 'darkblue',
      side = 'right'
    },

    ['armories'] = {
      text = ' 打开武器库',-- Open Armory
      color = 'darkblue',
      side = 'right'
    },

    ['cloakrooms'] = {
      text = ' 打开更衣室',-- Open Cloakroom
      color = 'darkblue',
      side = 'right'
    },

    ['stashes'] = {
      text = ' 打开储物箱',-- Open Stash
      color = 'darkblue',
      side = 'right'
    },

    ['trashes'] = {
      text = ' 打开垃圾箱',-- Open Trash
      color = 'darkblue',
      side = 'right'
    },

    ['evidences'] = {
      text = ' 打开证据',-- Open Evidences
      color = 'darkblue',
      side = 'right'
    },

    ['sendreport'] = {
      text = ' 发送报告',-- Send Report
      color = 'darkblue',
      side = 'right'
    },

    ['seereport'] = {
      text = ' 查看报告',-- See Reports
      color = 'darkblue',
      side = 'right'
    },

    ['close_cam'] = {
      text = ' 关闭摄像头',-- Close Camera
      color = 'darkblue',
      side = 'right'
    },

    ['clean'] = {
      text = ' 清理',-- Clean
      color = 'darkblue',
      side = 'right'
    },

    ['work'] = {
      text = ' 修理',-- Repair
      color = 'darkblue',
      side = 'right'
    },

    ['removeprop'] = {
      text = ' 移除道具',-- Remove Prop
      color = 'darkblue',
      side = 'right'
    },

    -- 错误通知

    ['not_police'] = {
      title = "警察工作",
      text = "你不是警察",
      type = 'error',
      time = 5000

    },

    ['prop_removed'] = {
      title = "警察工作",
      text = "道具已被移除",
      type = 'error',
      time = 5000
    },

    ['no_player'] = {
      title = "警察工作",
      text = "附近没有玩家",
      type = 'error',
      time = 5000
    },

    ['not_handcuffed'] = {
      title = "警察工作",
      text = "该玩家没有被铐住",
      type = 'error',
      time = 5000
    },

    ['hands_up'] = {
      title = "警察工作",
      text = "该玩家需要举手或被铐住",
      type = 'error',
      time = 5000
    },

    ['player_offline'] = {
      title = "警察工作",
      text = "该玩家处于离线状态",
      type = 'error',
      time = 5000
    },

    ['not_owned_vehicle'] = {
      title = "警察工作",
      text = "车牌为 ${plate} 的车辆没有人拥有",
      type = 'error',
      time = 5000
    },

    ['no_vehicle'] = {
      title = "警察工作",
      text = "附近没有车辆",
      type = 'error',
      time = 5000
    },
   
    ['failed_opening_doors'] = {
      title = "警察工作",
      text = "你无法打开车门",
      type = 'error',
      time = 5000
    },

    ['canceled'] = {
      title = "警察工作",
      text = "已取消",
      type = 'error',
      time = 5000
    },

    ['no_handcuffs'] = {
      title = "警察工作",
      text = "你没有手铐",
      type = 'error',
      time = 5000
    },

    ['no_space'] = {
      title = "警察工作",
      text = "没有空间放置车辆",
      type = 'error',
      time = 5000
    },

    ['report_deleted'] = {
      title = "警察工作",
      text = "ID 为 ${id} 的报告已被删除",
      type = 'error',
      time = 5000
    },

    ['no_escorting'] = {
      title = "警察工作",
      text = "你没有护送任何人",
      type = 'error',
      time = 5000
    },

    ['cant_handcuff'] = {
      title = "警察工作",
      text = "在护送时无法铐住玩家",
      type = 'error',
      time = 5000
    },

    ['no_ankle_monitor'] = {
      title = "警察工作",
      text = "该玩家没有脚镣",
      type = 'error',
      time = 5000
    },

    ['already_ankle_monitor'] = {
      title = "警察工作",
      text = "该玩家已经有脚镣了",
      type = 'error',
      time = 5000
    },

    ['not_on_duty'] = {
      title = "警察工作",
      text = "你不在值班",
      type = 'error',
      time = 5000
    },

    ['cant_uncuff'] = {
      title = "警察工作",
      text = "在护送时无法解除对玩家的拘留",
      type = 'error',
      time = 5000
    },

    -- 成功通知

    ['prop_placed'] = {
      title = "警察工作",
      text = "${prop} 已被放置",
      type = 'success',
      time = 5000
    },

    ['placed_ankle_monitor'] = {
      title = "警察工作",
      text = "你已在 ${player} 身上放置了脚镣",
      type = 'success',
      time = 5000
    },

    ['removed_ankle_monitor'] = {
      title = "警察工作",
      text = "你已从 ${player} 身上移除了脚镣",
      type = 'success',
      time = 5000
    },

    ['copied_plate'] = {
      title = "警察工作",
      text = "车牌已复制到剪贴板",
      type = 'success',
      time = 5000
    },

    ['copied_phone'] = {
      title = "警察工作",
      text = "电话号码已复制到剪贴板",
      type = 'success',
      time = 5000
    },

    ['sent_to_recover'] = {
      title = "警察工作",
      text = "车牌为 ${plate} 的车辆已发送至警察回收",
      type = 'success',
      time = 5000
    },

    ['impounded_vehicle'] = {
      title = "警察工作",
      text = "车牌为 ${plate} 的车辆已被扣押",
      type = 'success',
      time = 5000
    },

    ['vehicle_unlocked'] = {
      title = "警察工作",
      text = "车辆已解锁",
      type = 'success',
      time = 5000
    },

    ['cam_added'] = {
      title = "警察工作",
      text = "监控摄像头 ${cctv} 已添加",
      type = 'success',
      time = 5000
    },

    ['radar_added'] = {
      title = "警察工作",
      text = "雷达 ${radar} 已添加,限速为 ${speed} " .. (Config.UseKMH and "公里/小时" or "英里/小时"),-- Radar added with speed limit
      type = 'success',
      time = 5000
    },

    ['jailed'] = {
      title = "警察工作",
      text = "你已将 ${player} 监禁了 ${time} 个月",
      type = 'success',
      time = 5000
    },

    ['community_service'] = {
      title = "警察工作",
      text = "你已将 ${player} 发送至社区服务 ${time} 个月",
      type = 'success',
      time = 5000
    },

    ['report_sent'] = {
      title = "警察工作",
      text = "你的报告已发送至警察局",
      type = 'success',
      time = 5000
    },

    ['report_updated'] = {
      title = "警察工作",
      text = "你已将 ID 为 ${id} 的报告更新为 '${status}'",
      type = 'success',
      time = 5000
    },

    ['remove_prison'] = {
      title = "警察工作",
      text = "你将 ${name} 从监狱中释放",
      type = 'success',
      time = 5000
    },

    ['remove_community_service'] = {
      title = "警察工作",
      text = "你将 ${name} 从社区服务中释放",
      type = 'success',
      time = 5000
    },

    -- 信息通知

    ['searching_player'] = {
      title = "警察工作",
      text = "你正在搜索 ${player}",
      type = 'info',
      time = 5000
    },

    ['being_searched'] = {
      title = "警察工作",
      text = "你正在被搜索",
      type = 'info',
      time = 5000
    },
   
    ['escorting_player'] = {
      title = "警察工作",
      text = "你正在护送 ${player}",
      type = 'info',
      time = 5000
    },

    ['being_escorted'] = {
      title = "警察工作",
      text = "你正在被护送",
      type = 'info',
      time = 5000
    },
   
    ['ankle_monitor_placed'] = {
      title = "警察工作",
      text = "你现在有一个脚镣",
      type = 'info',
      time = 5000
    },

    ['ankle_monitor_removed'] = {
      title = "警察工作",
      text = "你不再有脚镣",
      type = 'info',
      time = 5000
    },

    ['ankle_monitor'] = {
      title = "警察工作",
      text = "${name} 的脚镣位置已在地图上设置",
      type = 'info',
      time = 5000
    },

    ['get_jailed'] = {
      title = "警察工作",
      text = "你已被监禁 ${months} 个月",
      type = 'info',
      time = 5000
    },

    ['jail_time_updated'] = {
      title = "警察工作",
      text = "你的监禁时间已更新为 ${months} 个月",
      type = 'info',
      time = 5000
    },

    ['jailed_end'] = {
      title = "警察工作",
      text = "你已从监狱释放",
      type = 'info',
      time = 5000
    },

    ['get_community'] = {
      title = "警察工作",
      text = "你已被发送至社区服务 ${months} 个月",
      type = 'info',
      time = 5000
    },

    ['community_service_updated'] = {
      title = "警察工作",
      text = "你的社区服务已更新为 ${months} 个月",
      type = 'info',
      time = 5000
    },

    ['community_end'] = {
      title = "警察工作",
      text = "你已从社区服务释放",
      type = 'info',
      time = 5000
    },

    ['community_service_added'] = {
      title = "警察工作",
      text = "由于你试图逃跑,社区服务增加了 ${months} 个月",
      type = 'info',
      time = 5000
    },

    ['new_report'] = {
      title = "警察工作",
      text = "${name} 提交了一份新报告",
      type = 'info',
      time = 5000
    },

    -- 警告通知

    ['emergency_signal'] = {
      title = "警察工作",
      text = "${player} 发出了紧急信号",
      type = 'warning',
      time = 5000
    },

    ['speeding'] = {
      title = "警察雷达",
      text = "你因超速被抓,速度为 ${speed} " .. (Config.UseKMH and "公里/小时" or "英里/小时"),-- You got caught speeding
      type = 'warning',
      time = 5000
    },
页: [1]
查看完整版本: 请翻译中文 保留原有代码