-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTranslations.cs
More file actions
66 lines (54 loc) · 2.79 KB
/
Copy pathTranslations.cs
File metadata and controls
66 lines (54 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
using PlayerRoles;
using Scp914;
using System.Collections.Generic;
using System.ComponentModel;
namespace HUDInfo;
/// <summary>
/// HUDInfo 翻译配置
/// </summary>
public class HUDTranslation
{
[Description("各阵营名称显示")]
public Dictionary<Team, string> TeamNames { get; set; } = new()
{
{ Team.SCPs, "SCP" },
{ Team.ChaosInsurgency, "混沌" },
{ Team.FoundationForces, "九尾" },
{ Team.ClassD, "D级" },
{ Team.Scientists, "科学家" }
};
[Description("各阵营颜色(HEX格式)")]
public Dictionary<Team, string> TeamColors { get; set; } = new()
{
{ Team.SCPs, "#FF0000" },
{ Team.ChaosInsurgency, "#008F1C" },
{ Team.FoundationForces, "#00BFFF" },
{ Team.ClassD, "#FF8C00" },
{ Team.Scientists, "#FEFE7A" }
};
[Description("阵营剩余人数显示模板({color}=阵营颜色, {name}=阵营名称, {count}=剩余人数)")]
public string FactionTemplate { get; set; } = "<color={color}>◈ {name}</color> ━ {count}";
[Description("电梯召唤显示模板({sec}=剩余秒数倒计时, {p_operator}=操作者昵称)")]
public string ElevatorTemplate { get; set; } = "『 电梯 』<color=#B952FA>{p_operator}</color> 召唤中 · 剩余 {sec}秒";
[Description("九尾大波重生倒计时模板({Time}=重生时间)")]
public string NtfRespawnTemplate { get; set; } = "<color=#00BFFF>◆ 九尾刷新</color> ▸ {Time}";
[Description("九尾小波重生倒计时模板({Time}=重生时间)")]
public string NtfMiniRespawnTemplate { get; set; } = "<color=#00BFFF>◇ 九尾小波</color> ▸ {Time}";
[Description("混沌大波重生倒计时模板({Time}=重生时间)")]
public string CiRespawnTemplate { get; set; } = "<color=#008F1C>◆ 混沌刷新</color> ▸ {Time}";
[Description("混沌小波重生倒计时模板({Time}=重生时间)")]
public string CiMiniRespawnTemplate { get; set; } = "<color=#008F1C>◇ 混沌小波</color> ▸ {Time}";
[Description("SCP-914 激活显示模板({mode}=操作模式, {p_operator}=操作者昵称)")]
public string Scp914Template { get; set; } = "「 SCP-914 」档位: <color=#F7C73E>{mode}</color> · 操作者: <color=#0080FF>{p_operator}</color>";
[Description("无法获取操作者名称时的兜底文案")]
public string UnknownOperator { get; set; } = "未知";
[Description("SCP-914 各档位翻译")]
public Dictionary<Scp914KnobSetting, string> Scp914Modes { get; set; } = new()
{
{ Scp914KnobSetting.Rough, "粗加工" },
{ Scp914KnobSetting.Coarse, "半粗加工" },
{ Scp914KnobSetting.OneToOne, "1:1" },
{ Scp914KnobSetting.Fine, "精加工" },
{ Scp914KnobSetting.VeryFine, "超精加工" }
};
}