本帖最后由 bingdi_ 于 2022-6-23 12:29 编辑 
%luckperms_group_expiry_time_<group name>%显示的格式是这样的 比如2天 1d 23h 59m 59s
怎么将这个格式转换为纯数字,任何方式都可以
1天就是1 十天就是10
%luckperms_group_expiry_time_<group name>%显示的格式是这样的 比如2天 1d 23h 59m 59s
怎么将这个格式转换为纯数字,任何方式都可以
1天就是1 十天就是10
\LuckPerms\translations\repository          语言配置文件里面修改
lwj512 发表于 2022-6-23 10:35
\LuckPerms\translations\repository 语言配置文件里面修改
- luckperms.duration.unit.years.plural={0} 年
 
- luckperms.duration.unit.years.singular={0} 年
 
- luckperms.duration.unit.years.short={0}年
 
- luckperms.duration.unit.months.plural={0} 月
 
- luckperms.duration.unit.months.singular={0} 月
 
- luckperms.duration.unit.months.short={0}月
 
- luckperms.duration.unit.weeks.plural={0} 周
 
- luckperms.duration.unit.weeks.singular={0} 周
 
- luckperms.duration.unit.weeks.short={0}周
 
- luckperms.duration.unit.days.plural={0} 天
 
- luckperms.duration.unit.days.singular={0} 天
 
- luckperms.duration.unit.days.short={0}天
 
- luckperms.duration.unit.hours.plural={0} 小时
 
- luckperms.duration.unit.hours.singular={0} 小时
 
- luckperms.duration.unit.hours.short={0}时
 
- luckperms.duration.unit.minutes.plural={0} 分钟
 
- luckperms.duration.unit.minutes.singular={0} 分钟
 
- luckperms.duration.unit.minutes.short={0}分
 
- luckperms.duration.unit.seconds.plural={0} 秒
 
- luckperms.duration.unit.seconds.singular={0} 秒
 
- luckperms.duration.unit.seconds.short={0}秒