Locales['en'] = {
-- TextUI
'bossmenu'] = {
text = ' 打开老板菜单', -- 汉化
color = 'darkblue',
side = 'right'
},
'dutymenu'] = {
text = ' 打开值班菜单', -- 汉化
color = 'darkblue',
side = 'right'
},
-- Error Notifications
'no_money'] = {
title = "老板菜单",
text = "您没有足够的资金存入公司",
time = 5000,
type = 'error'
},
'no_money_society'] = {
title = "老板菜单",
text = "公司没有足够的资金",
time = 5000,
type = 'error'
},
'target_fired_employee'] = {
title = "老板菜单",
text = "您已被解雇,工作为 ${job}", -- 汉化
time = 5000,
type = 'error'
},
'near_error'] = {
title = '老板菜单',
text = '附近没有人',
type = 'error',
time = 5000,
},
'same_job'] = {
title = '老板菜单',
text = '${player} 已经在 ${job} 工作了', -- 汉化
type = 'error',
time = 5000,
},
'cant_edit_chief'] = {
title = '老板菜单',
text = '您不能编辑领导的等级',
type = 'error',
time = 5000,
},
'cant_edit_self'] = {
title = '老板菜单',
text = '您不能编辑自己的等级',
type = 'error',
time = 5000,
},
'cant_fire_chief'] = {
title = '老板菜单',
text = '您不能解雇领导',
type = 'error',
time = 5000,
},
'cant_fire_self'] = {
title = '老板菜单',
text = '您不能在这里解雇自己',
type = 'error',
time = 5000,
},
'duty_ended'] = {
title = "老板菜单",
text = "您现在已下班",
time = 5000,
type = 'error'
},
'cant_open_menu'] = {
title = "老板菜单",
text = "您不能打开菜单,因为您不是老板",
time = 5000,
type = 'error'
},
-- Success Notifications
'deposited'] = {
title = "老板菜单",
text = "您在 ${job} 公司存入了 ${money}" ..Config.Currency, -- 汉化
time = 5000,
type = 'success'
},
'withdrawn'] = {
title = "老板菜单",
text = "您从 ${job} 公司取出了 ${money}" ..Config.Currency, -- 汉化
time = 5000,
type = 'success'
},
'edited_employee'] = {
title = "老板菜单",
text = "您已将 ${player} 的等级编辑为 ${grade}", -- 汉化
time = 5000,
type = 'success'
},
'target_edited_employee'] = {
title = "老板菜单",
text = "您的等级已被编辑为 ${grade}",
time = 5000,
type = 'success'
},
'fired_employee'] = {
title = "老板菜单",
text = "您已解雇 ${player},工作为 ${job}", -- 汉化
time = 5000,
type = 'success'
},
'hired_employee'] = {
title = "老板菜单",
text = "您已雇佣 ${player} 工作为 ${job}", -- 汉化
time = 5000,
type = 'success'
},
'target_hired_employee'] = {
title = "老板菜单",
text = "您已被雇佣工作为 ${job}", -- 汉化
time = 5000,
type = 'success'
},
'duty_started'] = {
title = "老板菜单",
text = "您现在已上班",
time = 5000,
type = 'success'
},
'bonus_given'] = {
title = "老板菜单",
text = "您已给 ${player} 发放了 ${money}" ..Config.Currency .. " 的奖金", -- 汉化
time = 5000,
type = 'success'
},
'bonus_received'] = {
title = "老板菜单",
text = "您从 ${job} 收到了 ${money}" ..Config.Currency .. " 的奖金", -- 汉化
time = 5000,
type = 'success'
},
-- Warning Notifications
'no_society'] = {
title = "老板菜单",
text = "未找到公司信息,请确保您的公司系统在配置中设置,并验证公司在数据库中存在",
time = 5000,
type = 'warning'
},
-- Translations
'translations'] = {
overview = "概述", -- 汉化
employees = "员工", -- 汉化
grades = "等级", -- 汉化
storage = "库存", -- 汉化
outfits = "服装", -- 汉化
logout = "登出", -- 汉化
menu = "菜单", -- 汉化
finances = "财务", -- 汉化
balance = "余额", -- 汉化
deposit = "存款", -- 汉化
withdraw = "取款", -- 汉化
mostActiveEmployees = "最活跃员工", -- 汉化
grade = "等级", -- 汉化
lastweek = "上周", -- 汉化
depositmoney = "存入金额", -- 汉化
withdrawmoney = "取出金额", -- 汉化
amount = "金额", -- 汉化
hireEmployee = "雇佣员工", -- 汉化
fireemployee = "解雇员工", -- 汉化
selectperson = "选择一个人", -- 汉化
hire = "雇佣", -- 汉化
edit = "编辑", -- 汉化
actions = "操作", -- 汉化
name = "名字", -- 汉化
save = "保存", -- 汉化
editemployee = "编辑员工", -- 汉化
cancel = "取消", -- 汉化
fire = "解雇", -- 汉化
wanttofire = "您确认要解雇", -- 汉化
selectuser = "选择一个用户", -- 汉化
wanttobehired = "您想被雇佣吗", -- 汉化
helpmenucommand = "打开老板菜单", -- 汉化
helpdutycommand = "打开值班菜单", -- 汉化
goonduty = "上岗", -- 汉化
gooffduty = "下岗", -- 汉化
openbossmenu = "打开老板菜单", -- 汉化
opendutymenu = "打开值班菜单", -- 汉化
online = "在线", -- 汉化
offline = "离线", -- 汉化
performance = "表现", -- 汉化
status = "状态", -- 汉化
total = "总计", -- 汉化
lastsevendays = "最近7天", -- 汉化
hours = "小时", -- 汉化
duty = "值班", -- 汉化
monday = "星期一", -- 汉化
tuesday = "星期二", -- 汉化
wednesday = "星期三", -- 汉化
thursday = "星期四", -- 汉化
friday = "星期五", -- 汉化
saturday = "星期六", -- 汉化
sunday = "星期日", -- 汉化
today = "今天", -- 汉化
rank = "排名", -- 汉化
salary = "薪水", -- 汉化
delete = "删除", -- 汉化
wanttodelete = "您确认要删除", -- 汉化
recruit = "招募", -- 汉化
lastonline = "最后在线", -- 汉化
noinfo = "没有信息", -- 汉化
givebonus = "发放奖金", -- 汉化
confirm = "确认", -- 汉化
none = "无", -- 汉化
nogangaffiliation = "无帮派关系", -- 汉化
unemployed = "失业", -- 汉化
unemployedLabel = "失业", -- 汉化
nodata = "没有数据", -- 汉化
noinfoavailable = "没有可用信息", -- 汉化
bonusreceived = "奖金已收到 - ", -- 汉化
},
}
这段代码中的文本已被翻译为简体中文,但保留了原始代码的结构和注释。您可以将其直接用于您的脚本中。