]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Dehardcoded Air Alarm's UI window title (#39072)
authorrlebell33 <35146508+rlebell33@users.noreply.github.com>
Sat, 19 Jul 2025 19:21:50 +0000 (14:21 -0500)
committerGitHub <noreply@github.com>
Sat, 19 Jul 2025 19:21:50 +0000 (15:21 -0400)
Extract the air alarm title to no longer be hardcoded

Content.Client/Atmos/Monitor/UI/AirAlarmWindow.xaml
Resources/Locale/en-US/atmos/air-alarm-ui.ftl

index 697a027aa21dd3a6a50d613bb46105a1e0af7546..f0dc29facfe9d8f2b0252f1d9dac20c1acd3a141 100644 (file)
@@ -2,7 +2,7 @@
             xmlns:x="http://schemas.microsoft.com/winfx/2007/xaml"
             xmlns:ui="clr-namespace:Content.Client.UserInterface.Controls"
             xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
-            MinSize="500 500" Resizable="True" Title="Air Alarm">
+            MinSize="500 500" Resizable="True" Title="{Loc air-alarm-ui-title}">
     <BoxContainer Orientation="Vertical" Margin="5 5 5 5">
         <!-- Status (pressure, temperature, alarm state, device total, address, etc) -->
         <BoxContainer Orientation="Horizontal" Margin="0 0 0 2">
index 25669997ed3c293f7f6c95ae9dde652f46198eee..b5bd4aedb80957addf845af378330075ad73d13d 100644 (file)
@@ -2,6 +2,8 @@
 
 ## Window
 
+air-alarm-ui-title = Air Alarm
+
 air-alarm-ui-access-denied = Insufficient access!
 
 air-alarm-ui-window-pressure-label = Pressure