mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-19 15:51:58 +00:00
Add Strings to Weapon Master and fix string typo (#18)
* Change to string and fix typo * add string (en_Us) * also add pt_Br string
This commit is contained in:
1 parent
3756183ba9
commit
ade7ef289d
3 files changed
+5
-3
No files matched your search
@@ -2748,6 +2748,7 @@
|
||||
"Axe": "Axe",
|
||||
"Lance": "Lance",
|
||||
"Shield": "Shield",
|
||||
"WMMode": "<color=#00ffa5>Mode:</color> <color=#ffffff><b>{0}</b></color>",
|
||||
"Eclipse": "Eclipse",
|
||||
"EclipseInfo": "Your vision increases with each kill you get",
|
||||
"EclipseInfoLong": "(Neutral):\\nAs the Eclipse, your job is to kill everyone and be the last one standing to win.\\nYou start with a low vision, and with each kill you get, it slowly increases.",
|
||||
@@ -3489,4 +3490,4 @@
|
||||
"ForceEnd": "Aborted",
|
||||
"EveryoneDied": "Everyone died",
|
||||
"ForceEndText": "Host has aborted the game"
|
||||
}
|
||||
}
|
||||
@@ -2783,6 +2783,7 @@
|
||||
"Axe": "Machado",
|
||||
"Lance": "Lança",
|
||||
"Shield": "Escudo",
|
||||
"WMMode": "<color=#00ffa5>Modo:</color> <color=#ffffff><b>{0}</b></color>",
|
||||
"Eclipse": "Eclipse",
|
||||
"EclipseInfo": "Sua visão aumenta com cada abate",
|
||||
"EclipseInfoLong": "(Neutros):\\nComo Eclipse, sua missão é matar todos e ser o ultimo sobrevivente.\\nVocê começa com uma visão baixa, e a cada abate, ela aumenta lentamente.",
|
||||
|
||||
@@ -165,7 +165,7 @@ public static class WeaponMaster
|
||||
}
|
||||
public static string GetHudAndProgressText()
|
||||
{
|
||||
return $"<color=#00ffa5>Mode:</color> <color=#ffffff><b>{ModeToText(Mode)}</b></color>";
|
||||
return string.Format(GetString("WMMode"), ModeToText(Mode));
|
||||
}
|
||||
public static string ModeToText(byte mode)
|
||||
{
|
||||
@@ -173,7 +173,7 @@ public static class WeaponMaster
|
||||
{
|
||||
0 => GetString("Sword"),
|
||||
1 => GetString("Axe"),
|
||||
2 => GetString("lance"),
|
||||
2 => GetString("Lance"),
|
||||
3 => GetString("Shield"),
|
||||
_ => string.Empty,
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user