杰瑞米瓦德 发表于 2024-9-27 04:39:56

翻译 保留源代码


local Translations = {
    error = {
      license_already = 'Player already has a license',
      error_license = 'Player doesn\'t have that license',
      no_camera = 'Camera doesn\'t exist',
      blood_not_cleared = 'Blood NOT cleared',
      bullet_casing_not_removed = 'Bullet Casings NOT Removed',
      none_nearby = 'No one nearby!',
      canceled = 'Canceled..',
      time_higher = 'Time must be higher than 0',
      amount_higher = 'Amount must be higher than 0',
      vehicle_cuff = 'You can\'t cuff someone in a vehicle',
      no_cuff = 'You don\'t have handcuffs on you',
      no_impound = 'There are no impounded vehicles',
      no_spikestripe = 'Cannot place anymore spike strips',
      error_license_type = 'Invalid license type',
      rank_license = 'You are not a high enough rank to grant a license',
      revoked_license = 'You\'ve had a license revoked',
      rank_revoke = 'You are not a high enough rank to revoke a license',
      on_duty_police_only = 'For on-duty police only',
      vehicle_not_flag = 'Vehicle not flagged',
      not_towdriver = 'Not a tow truck driver',
      not_lawyer = 'Person is not a lawyer',
      no_anklet = 'This person doesn\'t have an anklet on.',
      have_evidence_bag = 'You must have an empty evidence bag with you',
      no_driver_license = 'No drivers license',
      not_cuffed_dead = 'Civilian isn\'t cuffed or dead',
    },
    success = {
      uncuffed = 'You have been uncuffed',
      granted_license = 'You have been granted a license',
      grant_license = 'You granted a license',
      revoke_license = 'You revoked a license',
      tow_paid = 'You were paid $500',
      blood_clear = 'Blood Cleared',
      bullet_casing_removed = 'Bullet Casings Removed...',
      anklet_taken_off = 'Your ankle tracker is taken off.',
      took_anklet_from = 'You took off %{firstname} %{lastname} tracker',
      put_anklet = 'You put on an ankle tracker.',
      put_anklet_on = 'You put on an ankle tracker on %{firstname} %{lastname}',
      vehicle_flagged = 'Vehicle %{plate} has been flagged for %{reason}',
      impound_vehicle_removed = 'Vehicle taken out of impound!',
    },
    info = {
      mr = 'Mr.',
      mrs = 'Mrs.',
      impound_price = 'Price the player pays to get vehicle out of impound (can be 0)',
      plate_number = 'License Plate Number',
      flag_reason = 'Reason for flagging vehicle',
      camera_id = 'Camera ID',
      callsign_name = 'Name of your callsign',
      poobject_object = 'Object type to spawn or \'delete\' to delete',
      player_id = 'ID of Player',
      citizen_id = 'Citizen ID of Player',
      dna_sample = 'DNA Sample',
      jail_time = 'Time they have to be in jail',
      jail_time_no = 'Jail time needs to be higher than 0',
      license_type = 'License Type (driver/weapon)',
      ankle_location = 'Ankle Tracker Location',
      cuff = 'You are cuffed!',
      cuffed_walk = 'You are cuffed, but you can walk',
      vehicle_flagged = 'Vehicle %{vehicle} is flagged for: %{reason}',
      unflag_vehicle = 'Vehicle %{vehicle} is unflagged',
      tow_driver_paid = 'You paid the tow truck driver',
      paid_lawyer = 'You paid a lawyer',
      vehicle_taken_depot = 'Vehicle taken into depot for $%{price}',
      vehicle_seized = 'Vehicle seized',
      stolen_money = 'You have stolen $%{stolen}',
      cash_robbed = 'You have been robbed of $%{money}',
      driving_license_confiscated = 'Your driving license has been confiscated',
      cash_confiscated = 'Your cash was confiscated',
      being_searched = 'You are being searched',
      cash_found = 'Found $%{cash} on the civilian',
      sent_jail_for = 'You sent the person to prison for %{time} months',
      fine_received = 'You received a fine of $%{fine}',
      blip_text = 'Police Alert - %{text}',
      jail_time_input = 'Jail time',
      submit = 'Submit',
      time_months = 'Time in Months',
      bill = 'Bill',
      amount = 'Amount',
      police_plate = 'LSPD',
      vehicle_info = 'Engine: %{value} % | Fuel: %{value2} %',
      evidence_stash = 'Evidence Stash | %{value}',
      slot = 'Slot no. (1,2,3)',
      current_evidence = '%{value} | Drawer %{value2}',
      on_duty = '[~g~E~s~] - Go on duty',
      off_duty = '[~r~E~s~] - Go off duty',
      onoff_duty = '~g~On~s~/~r~Off~s~ Duty',
      stash = 'Stash %{value}',
      delete_spike = '[~r~E~s~] Delete Spike Strip',
      close_camera = 'Close Camera',
      bullet_casing = '[~g~G~s~] Bullet Casing %{value}',
      casing = 'Bullet Casing',
      blood = 'Blood',
      blood_text = '[~g~G~s~] Blood %{value}',
      fingerprint_text = '[~g~G~s~] Fingerprint',
      fingerprint = 'Fingerprint',
      store_heli = '[~g~E~s~] Store Helicopter',
      take_heli = '[~g~E~s~] Take Helicopter',
      impound_veh = '[~g~E~s~] - Impound Vehicle',
      store_veh = '[~g~E~s~] - Store Vehicle',
      armory = 'Armory',
      enter_armory = '[~g~E~s~] Armory',
      finger_scan = 'Fingerprint Scanning',
      scan_fingerprint = '[~g~E~s~] Scan Fingerprint',
      trash = 'Trash',
      trash_enter = '[~g~E~s~] Trash Bin',
      stash_enter = '[~g~E~s~] Enter Locker',
      target_location = 'The location of ${firstname} ${lastname} is marked on your map',
      anklet_location = 'Anklet location',
      new_call = 'New Call',
    },
    evidence = {
      red_hands = 'Red hands',
      wide_pupils = 'Wide Pupils',
      red_eyes = 'Red Eyes',
      weed_smell = 'Smells like weed',
      gunpowder = 'Gunpowder in clothing',
      chemicals = 'smells chemical',
      heavy_breathing = 'Breathes heavily',
      sweat = 'Sweats a lot',
      handbleed = 'Blood on hands',
      confused = 'Confused',
      alcohol = 'Smells like alcohol',
      heavy_alcohol = 'Smells very much like alcohol',
      agitated = 'Agitated - Signs of Meth Use',
      serial_not_visible = 'Serial number not visible...',
    },
    menu = {
      garage_title = 'Police Vehicles',
      close = '⬅ Close Menu',
      impound = 'Impounded Vehicles',
      pol_impound = 'Police Impound',
      pol_garage = 'Police Garage',
      pol_armory = 'Police Armory',
    },
    email = {
      sender = 'Central Judicial Collection Agency',
      subject = 'Debt collection',
      message = 'Dear %{value}. %{value2}, <br /><br />The Central Judicial Collection Agency (CJCA) charged the fines you received from the police.<br />There is <strong>$%{value3}</strong> withdrawn from your account.<br /><br />Kind regards,<br />Mr. I.K. Graai',
    },
    commands = {
      place_spike = 'Place Spike Strip (Police Only)',
      license_grant = 'Grant a license to someone',
      license_revoke = 'Revoke a license from someone',
      place_object = 'Place/Delete An Object (Police Only)',
      cuff_player = 'Cuff Player (Police Only)',
      escort = 'Escort Player',
      callsign = 'Give Yourself A Callsign',
      clear_casign = 'Clear Area of Casings (Police Only)',
      jail_player = 'Jail Player (Police Only)',
      unjail_player = 'Unjail Player (Police Only)',
      clearblood = 'Clear The Area of Blood (Police Only)',
      seizecash = 'Seize Cash (Police Only)',
      softcuff = 'Soft Cuff (Police Only)',
      camera = 'View Security Camera (Police Only)',
      flagplate = 'Flag A Plate (Police Only)',
      unflagplate = 'Unflag A Plate (Police Only)',
      plateinfo = 'Run A Plate (Police Only)',
      depot = 'Impound With Price (Police Only)',
      impound = 'Impound A Vehicle (Police Only)',
      paytow = 'Pay Tow Driver (Police Only)',
      paylawyer = 'Pay Lawyer (Police, Judge Only)',
      anklet = 'Attach Tracking Anklet (Police Only)',
      ankletlocation = 'Get the location of a persons anklet',
      removeanklet = 'Remove Tracking Anklet (Police Only)',
      drivinglicense = 'Seize Drivers License (Police Only)',
      takedna = 'Take a DNA sample from a person (empty evidence bag needed) (Police Only)',
      police_report = 'Police Report',
      message_sent = 'Message to be sent',
      civilian_call = 'Civilian Call',
      emergency_call = 'New 911 Call',
    },
    progressbar = {
      blood_clear = 'Clearing Blood...',
      bullet_casing = 'Removing bullet casings..',
      robbing = 'Robbing Person...',
      place_object = 'Placing object..',
      remove_object = 'Removing object..',
    },
}


ChatGPT 发表于 2024-9-27 04:44:10

```lua
local Translations = {
    error = {
      license_already = '玩家已经拥有该许可证',
      error_license = '玩家没有该许可证',
      no_camera = '相机不存在',
      blood_not_cleared = '血迹未清除',
      bullet_casing_not_removed = '子弹壳未移除',
      none_nearby = '附近没有人!',
      canceled = '已取消..',
      time_higher = '时间必须大于0',
      amount_higher = '数量必须大于0',
      vehicle_cuff = '你不能在车辆中铐住某人',
      no_cuff = '你身上没有手铐',
      no_impound = '没有被扣押的车辆',
      no_spikestripe = '无法再放置尖刺带',
      error_license_type = '无效的许可证类型',
      rank_license = '你的等级不足以授予许可证',
      revoked_license = '你的许可证已被撤销',
      rank_revoke = '你的等级不足以撤销许可证',
      on_duty_police_only = '仅限在职警察',
      vehicle_not_flag = '车辆未被标记',
      not_towdriver = '不是拖车司机',
      not_lawyer = '此人不是律师',
      no_anklet = '此人没有佩戴脚镣。',
      have_evidence_bag = '你必须携带一个空的证据袋',
      no_driver_license = '没有驾驶执照',
      not_cuffed_dead = '平民没有被铐住或已死',
    },
    success = {
      uncuffed = '你已被解铐',
      granted_license = '你已获得许可证',
      grant_license = '你授予了许可证',
      revoke_license = '你撤销了许可证',
      tow_paid = '你获得了$500',
      blood_clear = '血迹已清除',
      bullet_casing_removed = '子弹壳已移除...',
      anklet_taken_off = '你的脚镣已被取下。',
      took_anklet_from = '你取下了%{firstname} %{lastname}的追踪器',
      put_anklet = '你佩戴了一个脚镣。',
      put_anklet_on = '你给%{firstname} %{lastname}佩戴了一个脚镣',
      vehicle_flagged = '车辆%{plate}因%{reason}被标记',
      impound_vehicle_removed = '车辆已从扣押中取出!',
    },
    info = {
      mr = '先生',
      mrs = '女士',
      impound_price = '玩家取回车辆所需支付的费用(可以为0)',
      plate_number = '车牌号码',
      flag_reason = '标记车辆的原因',
      camera_id = '相机ID',
      callsign_name = '你的呼号名称',
      poobject_object = '要生成的对象类型或\'delete\'以删除',
      player_id = '玩家ID',
      citizen_id = '玩家公民ID',
      dna_sample = 'DNA样本',
      jail_time = '他们必须在监狱中的时间',
      jail_time_no = '监禁时间必须大于0',
      license_type = '许可证类型(驾驶/武器)',
      ankle_location = '脚镣位置',
      cuff = '你被铐住了!',
      cuffed_walk = '你被铐住,但可以走动',
      vehicle_flagged = '车辆%{vehicle}因%{reason}被标记',
      unflag_vehicle = '车辆%{vehicle}已解除标记',
      tow_driver_paid = '你支付了拖车司机',
      paid_lawyer = '你支付了律师',
      vehicle_taken_depot = '车辆以$%{price}被送入仓库',
      vehicle_seized = '车辆被扣押',
      stolen_money = '你偷了$%{stolen}',
      cash_robbed = '你被抢走了$%{money}',
      driving_license_confiscated = '你的驾驶执照已被没收',
      cash_confiscated = '你的现金已被没收',
      being_searched = '你正在被搜查',
      cash_found = '在平民身上发现了$%{cash}',
      sent_jail_for = '你将此人送入监狱%{time}个月',
      fine_received = '你收到了$%{fine}的罚款',
      blip_text = '警察警报 - %{text}',
      jail_time_input = '监禁时间',
      submit = '提交',
      time_months = '月份',
      bill = '账单',
      amount =
页: [1]
查看完整版本: 翻译 保留源代码