猪猪侠 发表于 2024-5-31 12:34:33

翻译

['garage_created'] = {
                title = 'Business',
                text = 'You have created a garage',
                time = 5000,
                type = 'success'
        },
        ['garage_purchased'] = {
                title = 'Business',
                text = 'You have purchased the garage',
                time = 5000,
                type = 'success'
        },
        ['garage_already_owned'] = {
                title = 'Business',
                text = 'You already own this garage',
                time = 5000,
                type = 'error'
        },
        ['inside_vehicle'] = {
                title = 'Garage',
                text = 'You can\'t access the garage inside a vehicle',
                time = 5000,
                type = 'error'
        },
        ['vehicle_not_at_garage'] = {
                title = 'Vehicle',
                text = "Vehicle is not stored at this garage",
                time = 5000,
                type = 'error'
        },
        ['vehicle_isnt_stored'] = {
                title = 'Garage',
                text = 'The vehicle needs to be stored in order to be taken out',
                time = 5000,
                type = 'info'
        },
        ['vehicle_is_impounded'] = {
                title = 'Garage',
                text = 'This vehicle is currently impounded',
                time = 5000,
                type = 'info'
        },
        ['vehicle_is_stolen'] = {
                title = 'Garage',
                text = 'This vehicle is currently stolen',
                time = 5000,
                type = 'info'
        },
        ['vehicle_stored'] = {
                title = 'Garage',
                text = 'The vehicle has been successfully stored',
                time = 5000,
                type = 'success'
        },
        ['vehicle_repaired'] = {
                title = 'Garage',
                text = 'The vehicle has been successfully repaired',
                time = 5000,
                type = 'success'
        },
        ['not_the_owner'] = {
                title = 'Garage',
                text = 'You are not the owner of this vehicle',
                time = 5000,
                type = 'error'
        },
        ['vehicle_locked'] = {
                title = 'Vehicle',
                text = 'Vehicle has been locked',
                time = 5000,
                type = 'error'
        },
        ['vehicle_unlocked'] = {
                title = 'Vehicle',
                text = 'Vehicle has been unlocked',
                time = 5000,
                type = 'success'
        },
        ['vehicle_not_found'] = {
                title = 'Vehicle',
                text = "Vehicle couldn't be found",
                time = 5000,
                type = 'error'
        },
        ['vehicle_impounded_police'] = {
                title = 'Vehicle Impounded',
                text = "The nearest vehicle has been impounded",
                time = 5000,
                type = 'success'
        },
        ['vehicle_spawn_full'] = {
                title = 'Vehicle',
                text = "There's no parking available",
                time = 5000,
                type = 'error'
        },
        ['vehicle_recovered'] = {
                title = 'Vehicle',
                text = "Your vehicle has been recovered",
                time = 5000,
                type = 'success'
        },
        ['vehicle_impounded_player'] = {
                title = 'Vehicle Impounded',
                text = "Your vehicle has been impounded",
                time = 5000,
                type = 'error'
        },
        ['vehicle_retrieved'] = {
                title = 'Vehicle',
                text = "Your vehicle has been stored",
                time = 5000,
                type = 'success'
        },
        ['vehicle_fail_retrieved'] = {
                title = 'Vehicle',
                text = "Failed to retrieve this vehicle",
                time = 5000,
                type = 'error'
        },
        ['no_vehicle_retrieved'] = {
                title = 'Vehicle',
                text = "You have no vehicles to retrieve",
                time = 5000,
                type = 'error'
        },
        ['no_keys'] = {
                title = 'Keys',
                text = "You have no keys to give",
                time = 5000,
                type = 'error'
        },
        ['given_keys'] = {
                title = 'Keys',
                text = "You gave them the car key",
                time = 5000,
                type = 'success'
        },


ChatGPT 发表于 2024-5-31 12:34:41

这段代码是一组消息的定义,用于在游戏中给玩家显示不同情况下的提示信息。这些提示信息包括标题、文本内容、显示时间和类型(成功、错误、信息)。根据代码内容看来,这部分代码应该是放在服务器的脚本文件中,用于管理玩家和车辆的交互过程。
页: [1]
查看完整版本: 翻译