Skip to content

Commit

Permalink
Настройки специфичные для билда френдри форк и в начале
Browse files Browse the repository at this point in the history
  • Loading branch information
VigersRay committed Dec 28, 2024
1 parent e855130 commit 638a7d0
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Content.Client/Options/UI/OptionsMenu.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
Title="{Loc 'ui-options-title'}"
MinSize="800 450">
<TabContainer Name="Tabs" Access="Public">
<tabs:ExtraTab Name="ExtraTab" />
<tabs:MiscTab Name="MiscTab" />
<tabs:GraphicsTab Name="GraphicsTab" />
<tabs:KeyRebindTab Name="KeyRebindTab" />
<tabs:AudioTab Name="AudioTab" />
<tabs:AccessibilityTab Name="AccessibilityTab" />
<tabs:SunriseTab Name="SunriseTab" />
</TabContainer>
</DefaultWindow>
14 changes: 8 additions & 6 deletions Content.Client/Options/UI/OptionsMenu.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ public OptionsMenu()
RobustXamlLoader.Load(this);
IoCManager.InjectDependencies(this);

Tabs.SetTabTitle(0, Loc.GetString("ui-options-tab-misc"));
Tabs.SetTabTitle(1, Loc.GetString("ui-options-tab-graphics"));
Tabs.SetTabTitle(2, Loc.GetString("ui-options-tab-controls"));
Tabs.SetTabTitle(3, Loc.GetString("ui-options-tab-audio"));
Tabs.SetTabTitle(4, Loc.GetString("ui-options-tab-accessibility"));
Tabs.SetTabTitle(5, Loc.GetString("ui-options-tab-sunrise"));
// Sunrise-Start
Tabs.SetTabTitle(0, Loc.GetString("ui-options-tab-extra"));
Tabs.SetTabTitle(1, Loc.GetString("ui-options-tab-misc"));
Tabs.SetTabTitle(2, Loc.GetString("ui-options-tab-graphics"));
Tabs.SetTabTitle(3, Loc.GetString("ui-options-tab-controls"));
Tabs.SetTabTitle(4, Loc.GetString("ui-options-tab-audio"));
Tabs.SetTabTitle(5, Loc.GetString("ui-options-tab-accessibility"));
// Sunrise-End

UpdateTabs();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tabs:SunriseTab xmlns="https://spacestation14.io"
<tabs:ExtraTab xmlns="https://spacestation14.io"
xmlns:tabs="clr-namespace:Content.Client.Options.UI.Tabs"
xmlns:ui="clr-namespace:Content.Client.Options.UI">
<BoxContainer Orientation="Vertical">
Expand Down Expand Up @@ -35,4 +35,4 @@
</ScrollContainer>
<ui:OptionsTabControlRow Name="Control" Access="Public" />
</BoxContainer>
</tabs:SunriseTab>
</tabs:ExtraTab>
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
namespace Content.Client.Options.UI.Tabs;

[GenerateTypedNameReferences]
public sealed partial class SunriseTab : Control
public sealed partial class ExtraTab : Control
{
[Dependency] private readonly IConfigurationManager _cfg = default!;
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;

public SunriseTab()
public ExtraTab()
{
RobustXamlLoader.Load(this);
IoCManager.InjectDependencies(this);
Expand Down
11 changes: 11 additions & 0 deletions Resources/Changelog/ChangelogSunrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9012,3 +9012,14 @@
id: 630
time: '2024-12-28T16:40:32.0000000+00:00'
url: https://github.com/space-sunrise/space-station-14/pull/956
- author: VigersRay
changes:
- message: "\u0412\u044B\u043D\u0435\u0441 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\
\u043A\u0438 \u0441\u043F\u0435\u0446\u0438\u0444\u0438\u0447\u043D\u044B\u0435\
\ \u0434\u043B\u044F \u0431\u0438\u043B\u0434\u0430 \u0432 \u043D\u0430\u0447\
\u0430\u043B\u043E \u0438 \u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\
\u0432\u0430\u043B \u0438\u0445 \u0432 \"\u042D\u043A\u0441\u0442\u0440\u0430\
\"."
type: Tweak
id: 631
time: '2024-12-28T19:00:44.457841+00:00'
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ui-options-sunrise-general-audio = Аудио
ui-options-sunrise-general-graphics = Графика
ui-options-sunrise-general-lobby = Лобби
ui-options-sunrise-general-combat = Бой
ui-options-tab-sunrise = Санрайз
ui-options-tab-extra = Экстра
ui-options-tts-enabled = TTS интеграция
ui-options-tape-player-enabled = Школьники с колонками (Нужен рестарт раунда)
ui-options-jump-sound-enabled = Звук прыжка
Expand Down

0 comments on commit 638a7d0

Please sign in to comment.