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:
PHGaming121 authored and GitHub committed 2024-01-12 09:24:48 +01:00
1 parent 3756183ba9
commit ade7ef289d
3 files changed
+5 -3

No files matched your search

+2 -1
View File
@@ -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"
}
}
+1
View File
@@ -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.",
+2 -2
View File
@@ -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,
};