qazw01 发表于 2024-5-19 13:16:01

翻译

Locales['en'] = {
    ['phone_ring']                                = "Your phone is ringing",
    ['new_one_message']                        = "New Message",
    ['new_message_hotline']                = " New message to the hotline",
    ['new_message_normal']                = " From New Message",
    ['offline_call']                = " The person you are calling is currently unavailable.",
    ['nophone_call']                = " The person you are calling has hung up their phone.",
    ['blcknumber_call']                = " The other party has blocked you ",
    ["no_item"] = "No phone",
    ["bank_noplayer"] = "Make sure you have entered correct information",
    ["phone_time"] = "try again later",
       
        -- Vale
        ["vale_get"] = "You bought your car for $ 100",
        ["vale_gete"] = "You Can Use Only One Valet Service At A Time.",
        ["vale_getr"] = "Your Vehicle Is Already Away Marked On The Map.",
    ["vale_checmoney"] = "You owe the government more than $ 10, you can't get your car back until you've paid your fines!",
    ["vale_fee"] = "Valet Fee",

    ["car_seller"] = "Your vehicle has been towed because your vehicle has been sold.",
    ["car_purchase"] = " Car purchase",
    ["car_sale"] = " Car sale",
    -- cyrpto
    ["not_enough_money"] = "you don't have enough money",
    ["not_enough_coin"] = "you don't have enough coin",
    ["cyrpto_buy"] = "You bought ",
    ["cyrpto_sell"] = "You sold ",
    ["not_crypto"] = " you must buy first",
    ["cyrpto_transfer"] = " Transfer done successfully",
    ["cyrpto_transfer2"] = " Crypto Transferred to Your Account",
    ["cyrpto_check"] = " Check the quantity",
    ["cyrpto_notplayer"] = "Phone number not contacted",

    -- JOB Notifi
    ["not_player"] = "No active person found in the professional unit",
    ["job_notifi"] = "New notification came to the system",

    -- Race
    ["race_distance"] = "You are away, go to the marked area",

    -- Billing
    ["bill_paid"] = "The bill has been paid $",
    ["bill_nocash"] = "You don't have enough money.",

    -- Billing
    ["carseller_ownbuy"] = "You Can't Buy Your Own Vehicle",
    ["carseller_nobank"] = "You Don't Have Enough Money in the Bank",

    ["carseller_soldvehicle"] = "Your vehicle has been sold",
    ["carseller_buyvehicle"] = "You bought the vehicle. Use for good day",

    -- Group Message
    ["group_created"] = "Group created",
    ["group_deleted"] = "The group has been deleted.",
    ["group_newc"] = "New contact added",
    ["group_newmes"] = " New message to the group",
    ["group_newpeop"] = "A new person has been added to the group",
    ["group_delpeop"] = " Left",

    -- Bank
    ["bank_yourself"] = "You cannot transfer to your self!",
    ["bank_nomoney"] = "Not enough money to transfer!",
    ["bank_transfer"] = " Bank transfer was made",
    ["bank_playertransfer"] = "Bank transfer came from ",
    ["bank_systemnophone"] = "Phone number not registered in the system. ",

    -- Taxi
    ["taxi_customer"] = "Customer found",
    ["taxi_noemployees"] = "No employees",
    ["taxi_nomoney"] = "You don't have enough money",
    ["taxi_gotjob"] = " got the job",
    ["taxi_driverway"] = "Taxi driver is on the way ",
    ["taxi_driverpicked"] = "Taxi driver picked you up from your location",
    ["taxi_customerleft"] = "You left the customer where he/she wanted",
    ["taxi_earnings"] = "Taxi earnings",
    ["taxi_payment"] = "Taxi payment",
    ["taxi_cancel"] = "Taxi canceled",
    ["taxi_customercar"] = "You have to be in the car to receive customers",
    ["taxi_customernotveh"] = "The customer is not in your vehicle",
    ["taxi_customernotveh2"] = "The customer is not in the vehicle",
    ["taxi_notcar"] = "You are not in the car",
    ["taxi_customerloc"] = "You left the customer at the location",

    --Mail
    ["email_received"] = " Email received from person",

    --Tinder
    ["tinder_matched"] = "You are matched",
    ["tinder_notusername"] = "This username is used by someone else.",
    ["tinder_sucess"] = "Your account has been created. Good matches :)",
    ["tinder_notlogin"] = "Login failed, wrong info!",
    ["tinder_login"] = "Signed in",
}

ChatGPT 发表于 2024-5-19 13:16:07

这段代码是一个用于多语言本地化的配置文件。它包含了各种情境下需要显示给玩家的消息,以及与职业、游戏物品、银行交易、出租车服务、电子邮件收发以及社交应用 Tinder 等相关的文本。这些文本在不同的语言环境下会有对应的翻译。

这段代码应该被放在服务器端脚本文件中,因为其中包含了与游戏逻辑相关的消息文本,需要在服务器端被处理和展示给玩家。
页: [1]
查看完整版本: 翻译