搜索
查看: 85|回复: 5
收起左侧

fy翻译

[复制链接]

升级进度: 34%

ttvv8866 发表于 2024-3-23 01:44:30 | 显示全部楼层 |阅读模式

return {
    ui = {
        settings_text_settings_menu = "Settings Menu",
        settings_text_change_your_settings = "Change your settings",
        settings_text_save = "Save",
        settings_text_hud = "Hud",
        settings_text_settings = "Settings",
        settings_text_map = "Map",
        settings_text_open_map = "Open Map",
        settings_text_open_settings_menu = "Open Settings Menu",
        settings_text_minimap_style = "Minimap Style",
        settings_text_choose_minimap_style = "Choose the minimap style",
        settings_text_minimap_square = "Square",
        settings_text_minimap_circle = "Circle",
        settings_text_speedometerFPS = "Speedometer FPS",
        settings_text_speedometer_desc = "The higher the FPS, the more demanding this is on your machine.",
        settings_text_health_icon = "Health Icon",
        settings_text_hideWhenMoreThen = "Hide when more than...",
        settings_text_never_hide = "100 = Never Hide",
        settings_text_armor_icon = "Armor Icon",
        settings_text_hunger_icon = "Food Icon",
        settings_text_thirst_icon = "Water Icon",
        settings_text_oxygen_icon = "Oxygen Icon",
        settings_text_stamina_icon = "Stamina Icon",
        settings_text_stress_icon = "Stress Icon",
        settings_text_terminal_icon = "Terminal Icon",
        settings_text_leaf_icon = "Leaf Icon",
        settings_text_compass_hud = "Compass Hud",
        settings_text_compass_hud_onlyinvehicle = "Compass Only In Vehicle",
        settings_text_vehicle_hud = "Vehicle Hud",
        settings_text_color = "Color",
        settings_text_j_type = "Type",
        settings_text_type_number = "Type: ",
        settings_text_bars = "Status Bar",
        settings_text_desc_change_bar = "Change your status bar style.",
        settings_text_vehicle_mode = "Vehicle Gear Mode",
        settings_text_desc_vehicle_mode = "Change vehicle gear mode.",
        settings_text_manual_mode = "Manual",
        settings_text_oto_mode = "Oto",
        settings_text_enginehealth_icon = "Engine Health",
        settings_text_vehicle_minimap_always_active = "Minimap Always Active",
        settings_test_position_reset = "Hud Positions Reset",
        settings_text_account_hud = "Account Hud <Balance>",
        settings_test_cinematicMode = "Cinematic Mode"
    },
    hud = {
        settings = {
            saved = "Settings saved.",
            not_saved = "Failed to save settings."
        },
        commands = {
            hudsettings = {
                help = "Edit your hud settings."
            },
            hudclose = {
                help = "Hidden any hud element.",
                arguments = {
                    code = {
                        help = "Element number"
                    }
                }
            },
            hudopen = {
                help = "Show any hud element.",
                arguments = {
                    code = {
                        help = "Element number"
                    }
                }
            },
            toggleSeatBelt = "Toggle seat belt",
            toggleCruise = "Toggle cruise control",
        },
        export = {
            fuel_missing = "Setup your custom fuel resource at: client/utils.lua"
        },
    },
    notify = {
        low_fuel = "Fuel level low !",
        opened_manual_mode = "Manual mode opened.",
        closed_manual_mode = "Manual mode closed.",
        manual_mode_change_error = "You can't do that in the car.",
        hrsgears_script_error = "The 'hrsgears' script has not been started.",
        seatbeltOn = "Seatbelt ON",
        seatbeltOff = "Seatbelt OFF",
        cruiseControlOn = "Cruisecontrol ON",
        cruiseControlOff = "Cruisecontrol OFF",
    }
}



回复 论坛版权

使用道具 举报

ChatGPT 发表于 2024-3-23 01:44:36 | 显示全部楼层
这段代码是一个包含了一些UI和HUD设置的表格(table)。其中,"ui"键包含了一些界面文本的翻译,"hud"键包含了一些HUD相关的设置和命令,"notify"键包含了一些通知信息的翻译。

在服务器脚本文件中引入这个表格,就可以使用其中定义的文本和设置了。
回复

使用道具 举报

升级进度: 34%

 楼主| ttvv8866 发表于 2024-3-23 01:44:42 | 显示全部楼层
翻译翻译
回复

使用道具 举报

ChatGPT 发表于 2024-3-23 01:44:49 | 显示全部楼层


这段代码定义了一个包含UI和HUD设置的表格。其中,"ui"键包含一些界面文本的翻译,"hud"键包含一些HUD相关的设置和命令,"notify"键包含一些通知信息的翻译。

你可以将这段代码放在服务器的脚本文件中,然后在脚本中使用其中定义的文本和设置。
回复

使用道具 举报

升级进度: 34%

 楼主| ttvv8866 发表于 2024-3-23 01:44:59 | 显示全部楼层
return {
    ui = {
        settings_text_settings_menu = "Settings Menu",
        settings_text_change_your_settings = "Change your settings",
        settings_text_save = "Save",
        settings_text_hud = "Hud",
        settings_text_settings = "Settings",
        settings_text_map = "Map",
        settings_text_open_map = "Open Map",
        settings_text_open_settings_menu = "Open Settings Menu",
        settings_text_minimap_style = "Minimap Style",
        settings_text_choose_minimap_style = "Choose the minimap style",
        settings_text_minimap_square = "Square",
        settings_text_minimap_circle = "Circle",
        settings_text_speedometerFPS = "Speedometer FPS",
        settings_text_speedometer_desc = "The higher the FPS, the more demanding this is on your machine.",
        settings_text_health_icon = "Health Icon",
        settings_text_hideWhenMoreThen = "Hide when more than...",
        settings_text_never_hide = "100 = Never Hide",
        settings_text_armor_icon = "Armor Icon",
        settings_text_hunger_icon = "Food Icon",
        settings_text_thirst_icon = "Water Icon",
        settings_text_oxygen_icon = "Oxygen Icon",
        settings_text_stamina_icon = "Stamina Icon",
        settings_text_stress_icon = "Stress Icon",
        settings_text_terminal_icon = "Terminal Icon",
        settings_text_leaf_icon = "Leaf Icon",
        settings_text_compass_hud = "Compass Hud",
        settings_text_compass_hud_onlyinvehicle = "Compass Only In Vehicle",
        settings_text_vehicle_hud = "Vehicle Hud",
        settings_text_color = "Color",
        settings_text_j_type = "Type",
        settings_text_type_number = "Type: ",
        settings_text_bars = "Status Bar",
        settings_text_desc_change_bar = "Change your status bar style.",
        settings_text_vehicle_mode = "Vehicle Gear Mode",
        settings_text_desc_vehicle_mode = "Change vehicle gear mode.",
        settings_text_manual_mode = "Manual",
        settings_text_oto_mode = "Oto",
        settings_text_enginehealth_icon = "Engine Health",
        settings_text_vehicle_minimap_always_active = "Minimap Always Active",
        settings_test_position_reset = "Hud Positions Reset",
        settings_text_account_hud = "Account Hud <Balance>",
        settings_test_cinematicMode = "Cinematic Mode"
    },
    hud = {
        settings = {
            saved = "Settings saved.",
            not_saved = "Failed to save settings."
        },
        commands = {
            hudsettings = {
                help = "Edit your hud settings."
            },
            hudclose = {
                help = "Hidden any hud element.",
                arguments = {
                    code = {
                        help = "Element number"
                    }
                }
            },
            hudopen = {
                help = "Show any hud element.",
                arguments = {
                    code = {
                        help = "Element number"
                    }
                }
            },
            toggleSeatBelt = "Toggle seat belt",
            toggleCruise = "Toggle cruise control",
        },
        export = {
            fuel_missing = "Setup your custom fuel resource at: client/utils.lua"
        },
    },
    notify = {
        low_fuel = "Fuel level low !",
        opened_manual_mode = "Manual mode opened.",
        closed_manual_mode = "Manual mode closed.",
        manual_mode_change_error = "You can't do that in the car.",
        hrsgears_script_error = "The 'hrsgears' script has not been started.",
        seatbeltOn = "Seatbelt ON",
        seatbeltOff = "Seatbelt OFF",
        cruiseControlOn = "Cruisecontrol ON",
        cruiseControlOff = "Cruisecontrol OFF",
    }
}
翻译代码行
回复

使用道具 举报

ChatGPT 发表于 2024-3-23 01:45:16 | 显示全部楼层
ttvv8866 发表于 2024-03-23 01:44
return {
    ui = {
        settings_text_settings ...


这段代码定义了一个包含UI和HUD设置的表格。其中,"ui"键包含一些界面文本的翻译,"hud"键包含一些HUD相关的设置和命令,"notify"键包含一些通知信息的翻译。

将代码翻译为简体中文:
return {
    ui = {
        settings_text_settings_menu = "设置菜单",
        settings_text_change_your_settings = "更改你的设置",
        settings_text_save = "保存",
        settings_text_hud = "HUD",
        settings_text_settings = "设置",
        settings_text_map = "地图",
        settings_text_open_map = "打开地图",
        settings_text_open_settings_menu = "打开设置菜单",
        settings_text_minimap_style = "小地图风格",
        settings_text_choose_minimap_style = "选择小地图风格",
        settings_text_minimap_square = "方形",
        settings_text_minimap_circle = "圆形",
        settings_text_speedometerFPS = "速度计帧率",
        settings_text_speedometer_desc = "帧率越高,对您的机器要求越大。",
        settings_text_health_icon = "生命图标",
        settings_text_hideWhenMoreThen = "隐藏当超过...",
        settings_text_never_hide = "100 = 从不隐藏",
        settings_text_armor_icon = "护甲图标",
        settings_text_hunger_icon = "食物图标",
        settings_text_thirst_icon = "水分图标",
        settings_text_oxygen_icon = "氧气图标",
        settings_text_stamina_icon = "耐力图标",
        settings_text_stress_icon = "压力图标",
        settings_text_terminal_icon = "终端图标",
        settings_text_leaf_icon = "叶子图标",
        settings_text_compass_hud = "指南针HUD",
        settings_text_compass_hud_onlyinvehicle = "只在车辆中显示指南针",
        settings_text_vehicle_hud = "车辆HUD",
        settings_text_color = "颜色",
        settings_text_j_type = "类型",
        settings_text_type_number = "类型:",
        settings_text_bars = "状态栏",
        settings_text_desc_change_bar = "更改你的状态栏风格。",
        settings_text_vehicle_mode = "车辆档位模式",
        settings_text_desc_vehicle_mode = "更改车辆档位模式。",
        settings_text_manual_mode = "手动",
        settings_text_oto_mode = "自动",
        settings_text_enginehealth_icon = "引擎健康",
        settings_text_vehicle_minimap_always_active = "小地图始终激活",
        settings_test_position_reset = "HUD位置重置",
        settings_text_account_hud = "账户HUD",
        settings_test_cinematicMode = "影视模式"
    },
    hud = {
        settings = {
            saved = "设置已保存。",
            not_saved = "保存设置失败。"
        },
        commands = {
            hudsettings = {
                help = "编辑您的HUD设置。"
            },
            hudclose = {
                help = "隐藏任何HUD元素。",
                arguments = {
                    code = {
                        help = "元素编号"
                    }
                }
            },
            hudopen = {
                help = "显示任何HUD元素。",
                arguments = {
                    code = {
                        help = "元素编号"
                    }
                }
            },
            toggleSeatBelt = "切换安全带",
            toggleCruise = "切换巡航控制",
        },
        export = {
            fuel_missing = "在 client/utils.lua 中设置自定义燃料资源"
        },
    },
    notify = {
        low_fuel = "燃料剩余量低!",
        opened_manual_mode = "手动模式已打开。",
        closed_manual_mode = "手动模式已关闭。",
        manual_mode_change_error = "您无法在车辆中进行此操作。",
        hrsgears_script_error = "“hrsgears”脚本尚未启动。",
        seatbeltOn = "安全带已系上",
        seatbeltOff = "安全带已解除",
        cruiseControlOn = "巡航控制已开启",
        cruiseControlOff = "巡航控制已关闭",
    }
}

请注意,这段代码只是一个表格,你需要根据具体的使用情况将其放置在服务器的脚本文件(如server.lua)中,并根据需要进行相应的调用和使用。
回复

使用道具 举报

ahome_bigavatar:guest
ahome_bigavatar:welcomelogin
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|首页 ( 冀ICP备2021005225号-1 ) |网站地图

GMT+8, 2024-5-23 14:38 , Processed in 0.337127 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 ELITE论坛【技术无价-分享快乐】

快速回复 返回顶部 返回列表