mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
Add localization for gamemodes
This commit is contained in:
1 parent
39da0e7d08
commit
6a7f58effa
3 files changed
+33
-29
No files matched your search
@@ -11,10 +11,10 @@ namespace MiraAPI.GameModes;
|
|||||||
public class ClassicMode : AbstractGameMode
|
public class ClassicMode : AbstractGameMode
|
||||||
{
|
{
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public override string Name => "Classic";
|
public override string Name => "gamemode.classic.name";
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public override string Description => "The classic Among Us experience!\nFind the Impostors or deceive the Crew.";
|
public override string Description => "gamemode.classic.description";
|
||||||
|
|
||||||
public override LoadableAsset<Sprite>? Icon => MiraAssets.ClassicGamemodeIcon;
|
public override LoadableAsset<Sprite>? Icon => MiraAssets.ClassicGamemodeIcon;
|
||||||
}
|
}
|
||||||
@@ -25,10 +25,10 @@ namespace MiraAPI.GameModes;
|
|||||||
public class HideAndSeekMode : AbstractGameMode
|
public class HideAndSeekMode : AbstractGameMode
|
||||||
{
|
{
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public override string Name => "Hide n Seek";
|
public override string Name => "gamemode.hidenseek.name";
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public override string Description => "You can run, but you can't hide!\nOutlive the timer or eliminate the crew.";
|
public override string Description => "Outlive the timer or eliminate the crew";
|
||||||
|
|
||||||
// TODO: Once the Hide n Seek port is ready for release, we will remove this.
|
// TODO: Once the Hide n Seek port is ready for release, we will remove this.
|
||||||
public override bool HideMode => !MiraApiPlugin.IsDevBuild;
|
public override bool HideMode => !MiraApiPlugin.IsDevBuild;
|
||||||
|
|||||||
@@ -1,28 +1,32 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<resources>
|
<resources>
|
||||||
<string name="miraApi.name">Mira API</string>
|
<string name="miraApi.name">Mira API</string>
|
||||||
<string name="miraApi.visualsUi">Visuals/UI</string>
|
<string name="miraApi.visualsUi">Visuals/UI</string>
|
||||||
<string name="miraApi.freeplay">Freeplay</string>
|
<string name="miraApi.freeplay">Freeplay</string>
|
||||||
<string name="miraApi.accessibility">Accessibility</string>
|
<string name="miraApi.accessibility">Accessibility</string>
|
||||||
<string name="miraApi.miraApiBrand">MiraAPI</string>
|
<string name="miraApi.miraApiBrand">MiraAPI</string>
|
||||||
<string name="miraApi.showModifiersHudOnLeftSide">Show Modifiers HUD on Left Side</string>
|
<string name="miraApi.showModifiersHudOnLeftSide">Show Modifiers HUD on Left Side</string>
|
||||||
<string name="miraApi.showKeybindsOnButtons">Show Keybinds on Buttons</string>
|
<string name="miraApi.showKeybindsOnButtons">Show Keybinds on Buttons</string>
|
||||||
<string name="miraApi.buttonScaleFactor">Button Scale Factor</string>
|
<string name="miraApi.buttonScaleFactor">Button Scale Factor</string>
|
||||||
<string name="miraApi.maxFps">Max FPS</string>
|
<string name="miraApi.maxFps">Max FPS</string>
|
||||||
<string name="miraApi.prettyTaskLaptop">Pretty Task Laptop</string>
|
<string name="miraApi.prettyTaskLaptop">Pretty Task Laptop</string>
|
||||||
<string name="miraApi.enableSabotageFlashes">Enable Sabotage Flashes</string>
|
<string name="miraApi.enableSabotageFlashes">Enable Sabotage Flashes</string>
|
||||||
<string name="miraApi.enableSabotageBlare">Enable Sabotage Blare</string>
|
<string name="miraApi.enableSabotageBlare">Enable Sabotage Blare</string>
|
||||||
<string name="miraApi.returnToRoleSettings">RETURN TO ROLE SETTINGS</string>
|
<string name="miraApi.returnToRoleSettings">RETURN TO ROLE SETTINGS</string>
|
||||||
<string name="miraApi.customCategory1">Custom Category 1</string>
|
<string name="miraApi.customCategory1">Custom Category 1</string>
|
||||||
<string name="miraApi.customCategory2">Custom Category 2</string>
|
<string name="miraApi.customCategory2">Custom Category 2</string>
|
||||||
<string name="miraApi.modifierMenuDescription">Configure modifiers and their settings here!</string>
|
<string name="miraApi.modifierMenuDescription">Configure modifiers and their settings here!</string>
|
||||||
<string name="miraApi.customOptionMenuDescription">Apply game settings for this mod!</string>
|
<string name="miraApi.customOptionMenuDescription">Apply game settings for this mod!</string>
|
||||||
<string name="gamemode.default.name">Default</string>
|
<string name="gamemode.classic.name">Classic</string>
|
||||||
<string name="gamemode.default.description">Default Among Us GameMode</string>
|
<string name="gamemode.classic.description">The classic Among Us experience!
|
||||||
<string name="gamesetting.global.clicktoclose">Click to close</string>
|
Find the Impostors or deceive the Crew.</string>
|
||||||
<string name="gamesetting.global.clicktoopen">Click to open</string>
|
<string name="gamemode.hidenseek.name">Hide n Seek</string>
|
||||||
<string name="gamesetting.preset.hint">Select or create a options preset for this game</string>
|
<string name="gamemode.hidenseek.description">You can run, but you can't hide!
|
||||||
<string name="gamesetting.preset.save">Save</string>
|
Outlive the timer or eliminate the crew.</string>
|
||||||
<string name="gamesetting.roles">Roles</string>
|
<string name="gamesetting.global.clicktoclose">Click to close</string>
|
||||||
<string name="gamesetting.modifiers">Modifiers</string>
|
<string name="gamesetting.global.clicktoopen">Click to open</string>
|
||||||
|
<string name="gamesetting.preset.hint">Select or create a options preset for this game</string>
|
||||||
|
<string name="gamesetting.preset.save">Save</string>
|
||||||
|
<string name="gamesetting.roles">Roles</string>
|
||||||
|
<string name="gamesetting.modifiers">Modifiers</string>
|
||||||
</resources>
|
</resources>
|
||||||
Reference in new issue
Block a user