diff --git a/Content.Shared/Construction/Steps/ArbitraryInsertConstructionGraphStep.cs b/Content.Shared/Construction/Steps/ArbitraryInsertConstructionGraphStep.cs index fdd5f4061db..0d184082226 100644 --- a/Content.Shared/Construction/Steps/ArbitraryInsertConstructionGraphStep.cs +++ b/Content.Shared/Construction/Steps/ArbitraryInsertConstructionGraphStep.cs @@ -39,7 +39,7 @@ public override ConstructionGuideEntry GenerateGuideEntry() { if (item.TryGetComponent(out var entityTag) && entityManager.System().HasTag(entityTag, Tag)) { - if(item.Name == "левая рука киборга-официанта") + if(item.Name == "левая рука киборга-официанта") //костыль так как лень фиксить по другому, хд { nameLocale = "левая рука киборга"; } diff --git a/Content.Shared/Preferences/Loadouts/RoleLoadout.cs b/Content.Shared/Preferences/Loadouts/RoleLoadout.cs index f6880b84f70..31c310e9ee2 100644 --- a/Content.Shared/Preferences/Loadouts/RoleLoadout.cs +++ b/Content.Shared/Preferences/Loadouts/RoleLoadout.cs @@ -9,6 +9,7 @@ using Robust.Shared.Prototypes; using Robust.Shared.Serialization; using Robust.Shared.Utility; +using Robust.Shared.Localization; namespace Content.Shared.Preferences.Loadouts; @@ -248,7 +249,7 @@ public bool IsValid(HumanoidCharacterProfile profile, ICommonSession? session, P // Sunrise-Sponsots-Start if (loadoutProto.SponsorOnly && !sponsorPrototypes.Contains(loadout.Id)) { - reason = FormattedMessage.FromUnformatted("Доступно только для спонсоров."); + reason = FormattedMessage.FromUnformatted(Loc.GetString("loadout-sponsor-only")); return false; } // Sunrise-Sponsots-End diff --git a/Content.Shared/_Sunrise/Abilities/FabricateCookieComponent.cs b/Content.Shared/_Sunrise/Abilities/FabricateCookieComponent.cs index 37a7aa50e3e..46054f5e3c5 100644 --- a/Content.Shared/_Sunrise/Abilities/FabricateCookieComponent.cs +++ b/Content.Shared/_Sunrise/Abilities/FabricateCookieComponent.cs @@ -8,7 +8,7 @@ namespace Content.Shared._Sunrise.Abilities; public sealed partial class FabricateCookieComponent : Component { [ViewVariables(VVAccess.ReadWrite)] - [DataField("сookieList")] + [DataField("cookieList")] public List CookieList = new() { "FoodBakedCookieOatmeal" diff --git a/Content.Shared/_Sunrise/Roles/DiscordRoleRequirement.cs b/Content.Shared/_Sunrise/Roles/DiscordRoleRequirement.cs index 2292ce01570..e376b015ab0 100644 --- a/Content.Shared/_Sunrise/Roles/DiscordRoleRequirement.cs +++ b/Content.Shared/_Sunrise/Roles/DiscordRoleRequirement.cs @@ -5,6 +5,7 @@ using Robust.Shared.Prototypes; using Robust.Shared.Serialization; using Robust.Shared.Utility; +using Robust.Shared.Localization; namespace Content.Shared._Sunrise.Roles; @@ -23,7 +24,7 @@ public override bool Check(IEntityManager entManager, if (profile is null) return true; - reason = FormattedMessage.FromMarkupPermissive("Для игры на данной роли вам необходимо получить роль в дискорде."); + reason = FormattedMessage.FromMarkupPermissive(Loc.GetString("role-timer-discord")); return false; } } diff --git a/Resources/Locale/ru-RU/_sunrise/job/role-requirements.ftl b/Resources/Locale/ru-RU/_sunrise/job/role-requirements.ftl new file mode 100644 index 00000000000..c22fa8a04be --- /dev/null +++ b/Resources/Locale/ru-RU/_sunrise/job/role-requirements.ftl @@ -0,0 +1 @@ +role-timer-discord = Для игры на данной роли вам необходимо [color=yellow]получить роль в дискорде[/color]. \ No newline at end of file