Various localization fixes (#9860)
This commit is contained in:
@@ -1,15 +1,15 @@
|
|||||||
<DefaultWindow
|
<DefaultWindow
|
||||||
xmlns="https://spacestation14.io"
|
xmlns="https://spacestation14.io"
|
||||||
Title="{Loc 'admin-announce-title'}"
|
Title="{Loc admin-announce-title}"
|
||||||
MinWidth="500">
|
MinWidth="500">
|
||||||
<GridContainer Columns="1">
|
<GridContainer Columns="1">
|
||||||
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
||||||
<LineEdit Name="Announcer" Access="Public" PlaceHolder="{Loc 'announcer-placeholder'}" Text="{Loc 'Central Command'}" HorizontalExpand="True" SizeFlagsStretchRatio="2"/>
|
<LineEdit Name="Announcer" Access="Public" PlaceHolder="{Loc admin-announce-announcer-placeholder}" Text="{Loc admin-announce-announcer-default}" HorizontalExpand="True" SizeFlagsStretchRatio="2"/>
|
||||||
<Control HorizontalExpand="True" SizeFlagsStretchRatio="1" />
|
<Control HorizontalExpand="True" SizeFlagsStretchRatio="1" />
|
||||||
<OptionButton Name="AnnounceMethod" Access="Public" HorizontalExpand="True" SizeFlagsStretchRatio="2"/>
|
<OptionButton Name="AnnounceMethod" Access="Public" HorizontalExpand="True" SizeFlagsStretchRatio="2"/>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
<LineEdit Name="Announcement" Access="Public" PlaceHolder="{Loc 'announcement-placeholder'}"/>
|
<LineEdit Name="Announcement" Access="Public" PlaceHolder="{Loc admin-announce-announcement-placeholder}"/>
|
||||||
|
|
||||||
<Button Name="AnnounceButton" Access="Public" Disabled="True" Text="{Loc 'Announce'}" HorizontalAlignment="Center"/>
|
<Button Name="AnnounceButton" Access="Public" Disabled="True" Text="{Loc admin-announce-button}" HorizontalAlignment="Center"/>
|
||||||
</GridContainer>
|
</GridContainer>
|
||||||
</DefaultWindow>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -19,9 +19,9 @@ namespace Content.Client.Administration.UI
|
|||||||
RobustXamlLoader.Load(this);
|
RobustXamlLoader.Load(this);
|
||||||
IoCManager.InjectDependencies(this);
|
IoCManager.InjectDependencies(this);
|
||||||
|
|
||||||
AnnounceMethod.AddItem(_localization.GetString("announce-type-station"));
|
AnnounceMethod.AddItem(_localization.GetString("admin-announce-type-station"));
|
||||||
AnnounceMethod.SetItemMetadata(0, AdminAnnounceType.Station);
|
AnnounceMethod.SetItemMetadata(0, AdminAnnounceType.Station);
|
||||||
AnnounceMethod.AddItem(_localization.GetString("announce-type-server"));
|
AnnounceMethod.AddItem(_localization.GetString("admin-announce-type-server"));
|
||||||
AnnounceMethod.SetItemMetadata(1, AdminAnnounceType.Server);
|
AnnounceMethod.SetItemMetadata(1, AdminAnnounceType.Server);
|
||||||
AnnounceMethod.OnItemSelected += AnnounceMethodOnOnItemSelected;
|
AnnounceMethod.OnItemSelected += AnnounceMethodOnOnItemSelected;
|
||||||
Announcement.OnTextChanged += AnnouncementOnOnTextChanged;
|
Announcement.OnTextChanged += AnnouncementOnOnTextChanged;
|
||||||
|
|||||||
@@ -8,14 +8,14 @@
|
|||||||
<BoxContainer Orientation="Vertical">
|
<BoxContainer Orientation="Vertical">
|
||||||
<GridContainer Columns="3">
|
<GridContainer Columns="3">
|
||||||
<cc:UICommandButton Command="kick" Text="{Loc admin-player-actions-window-title}" WindowType="{x:Type at:PlayerActionsWindow}" />
|
<cc:UICommandButton Command="kick" Text="{Loc admin-player-actions-window-title}" WindowType="{x:Type at:PlayerActionsWindow}" />
|
||||||
<cc:UICommandButton Command="ban" Text="{Loc Ban}" WindowType="{x:Type at:BanWindow}" />
|
<cc:UICommandButton Command="ban" Text="{Loc admin-player-actions-window-ban}" WindowType="{x:Type at:BanWindow}" />
|
||||||
<cc:CommandButton Command="aghost" Text="{Loc Admin Ghost}" />
|
<cc:CommandButton Command="aghost" Text="{Loc admin-player-actions-window-admin-ghost}" />
|
||||||
<cc:UICommandButton Command="tpto" Text="{Loc Teleport}" WindowType="{x:Type at:TeleportWindow}" />
|
<cc:UICommandButton Command="tpto" Text="{Loc admin-player-actions-window-teleport}" WindowType="{x:Type at:TeleportWindow}" />
|
||||||
<cc:CommandButton Command="permissions" Text="{Loc Permissions Panel}" />
|
<cc:CommandButton Command="permissions" Text="{Loc admin-player-actions-window-permissions}" />
|
||||||
<cc:CommandButton Command="announceui" Text="{Loc Announce}"/>
|
<cc:CommandButton Command="announceui" Text="{Loc admin-player-actions-window-announce}"/>
|
||||||
<cc:UICommandButton Command="callshuttle" Text="{Loc (Re)call Shuttle}" WindowType="{x:Type at:AdminShuttleWindow}"/>
|
<cc:UICommandButton Command="callshuttle" Text="{Loc admin-player-actions-window-shuttle}" WindowType="{x:Type at:AdminShuttleWindow}"/>
|
||||||
<cc:CommandButton Command="adminlogs" Text="{Loc Admin Logs}"/>
|
<cc:CommandButton Command="adminlogs" Text="{Loc admin-player-actions-window-admin-logs}"/>
|
||||||
<cc:CommandButton Command="adminnotes" Text="{Loc Admin Notes}"/>
|
<cc:CommandButton Command="adminnotes" Text="{Loc admin-player-actions-window-admin-notes}"/>
|
||||||
</GridContainer>
|
</GridContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</Control>
|
</Control>
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ namespace Content.Client.Communications.UI
|
|||||||
SizeFlagsStretchRatio = 1
|
SizeFlagsStretchRatio = 1
|
||||||
};
|
};
|
||||||
AnnounceButton = new Button();
|
AnnounceButton = new Button();
|
||||||
AnnounceButton.Text = "Announce";
|
AnnounceButton.Text = Loc.GetString("comms-console-menu-announcement-button");
|
||||||
AnnounceButton.OnPressed += (_) => Owner.AnnounceButtonPressed(_messageInput.Text.Trim());
|
AnnounceButton.OnPressed += (_) => Owner.AnnounceButtonPressed(_messageInput.Text.Trim());
|
||||||
AnnounceButton.Disabled = !owner.CanAnnounce;
|
AnnounceButton.Disabled = !owner.CanAnnounce;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<DefaultWindow xmlns="https://spacestation14.io" Title="Port Selector" MinSize="400 200">
|
<DefaultWindow xmlns="https://spacestation14.io" Title="{Loc signal-port-selector-menu-title}" MinSize="400 200">
|
||||||
<BoxContainer Orientation="Vertical" VerticalExpand="True">
|
<BoxContainer Orientation="Vertical" VerticalExpand="True">
|
||||||
<BoxContainer Orientation="Horizontal" HorizontalExpand="True" VerticalExpand="True">
|
<BoxContainer Orientation="Horizontal" HorizontalExpand="True" VerticalExpand="True">
|
||||||
<BoxContainer Orientation="Vertical" HorizontalExpand="True" SizeFlagsStretchRatio="0.3">
|
<BoxContainer Orientation="Vertical" HorizontalExpand="True" SizeFlagsStretchRatio="0.3">
|
||||||
@@ -12,8 +12,8 @@
|
|||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
||||||
<Button Name="ButtonClear" Text="Clear"/>
|
<Button Name="ButtonClear" Text="{Loc signal-port-selector-menu-clear}"/>
|
||||||
<Button Name="ButtonLinkDefault" Text="Link Defaults"/>
|
<Button Name="ButtonLinkDefault" Text="{Loc signal-port-selector-menu-link-defaults}"/>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</DefaultWindow>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
admin-announce-title = Make Announcement
|
admin-announce-title = Make Announcement
|
||||||
announcer-placeholder = Announcer
|
admin-announce-announcement-placeholder = Announcement text
|
||||||
announcement-placeholder = Announcement text
|
admin-announce-announcer-placeholder = Announcer
|
||||||
announce-type-station = Station
|
admin-announce-announcer-default = Central Command
|
||||||
announce-type-server = Server
|
admin-announce-button = Announce
|
||||||
|
admin-announce-type-station = Station
|
||||||
|
admin-announce-type-server = Server
|
||||||
|
|||||||
@@ -1 +1,9 @@
|
|||||||
admin-player-actions-window-title = Player Actions Panel
|
admin-player-actions-window-title = Player Actions Panel
|
||||||
|
admin-player-actions-window-ban = Ban
|
||||||
|
admin-player-actions-window-admin-ghost = Admin Ghost
|
||||||
|
admin-player-actions-window-teleport = Teleport
|
||||||
|
admin-player-actions-window-permissions = Permissions Panel
|
||||||
|
admin-player-actions-window-announce = Announce
|
||||||
|
admin-player-actions-window-shuttle = (Re)call Shuttle
|
||||||
|
admin-player-actions-window-admin-logs = Admin Logs
|
||||||
|
admin-player-actions-window-admin-notes = Admin Notes
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# User interface
|
# User interface
|
||||||
comms-console-menu-title = Communications Console
|
comms-console-menu-title = Communications Console
|
||||||
comms-console-menu-announcement-placeholder = Announcement
|
comms-console-menu-announcement-placeholder = Announcement
|
||||||
|
comms-console-menu-announcement-button = Announce
|
||||||
comms-console-menu-call-shuttle = Call emergency shuttle
|
comms-console-menu-call-shuttle = Call emergency shuttle
|
||||||
comms-console-menu-recall-shuttle = Recall emergency shuttle
|
comms-console-menu-recall-shuttle = Recall emergency shuttle
|
||||||
|
|
||||||
|
|||||||
3
Resources/Locale/en-US/machine-linking/port-selector.ftl
Normal file
3
Resources/Locale/en-US/machine-linking/port-selector.ftl
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
signal-port-selector-menu-title = Port Selector
|
||||||
|
signal-port-selector-menu-clear = Clear
|
||||||
|
signal-port-selector-menu-link-defaults = Link defaults
|
||||||
@@ -1,11 +1,14 @@
|
|||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Quartermaster
|
id: Quartermaster
|
||||||
|
name: Quartermaster
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Cargo
|
id: Cargo
|
||||||
|
name: Cargo
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Salvage
|
id: Salvage
|
||||||
|
name: Salvage
|
||||||
|
|
||||||
- type: accessGroup
|
- type: accessGroup
|
||||||
id: Cargo
|
id: Cargo
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Command
|
id: Command
|
||||||
|
name: Command
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Captain
|
id: Captain
|
||||||
|
name: Captain
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: HeadOfPersonnel
|
id: HeadOfPersonnel
|
||||||
|
|||||||
@@ -4,9 +4,11 @@
|
|||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Engineering
|
id: Engineering
|
||||||
|
name: Engineering
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Atmospherics
|
id: Atmospherics
|
||||||
|
name: Atmospherics
|
||||||
|
|
||||||
- type: accessGroup
|
- type: accessGroup
|
||||||
id: Engineering
|
id: Engineering
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: External
|
id: External
|
||||||
|
name: External
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Maintenance
|
id: Maintenance
|
||||||
|
name: Maintenance
|
||||||
|
|||||||
@@ -4,9 +4,11 @@
|
|||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Medical
|
id: Medical
|
||||||
|
name: Medical
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Chemistry
|
id: Chemistry
|
||||||
|
name: Chemistry
|
||||||
|
|
||||||
- type: accessGroup
|
- type: accessGroup
|
||||||
id: Medical
|
id: Medical
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Research
|
id: Research
|
||||||
|
name: Research
|
||||||
|
|
||||||
- type: accessGroup
|
- type: accessGroup
|
||||||
id: Research
|
id: Research
|
||||||
|
|||||||
@@ -4,12 +4,15 @@
|
|||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Security
|
id: Security
|
||||||
|
name: Security
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Armory
|
id: Armory
|
||||||
|
name: Armory
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Brig
|
id: Brig
|
||||||
|
name: Brig
|
||||||
|
|
||||||
#- type: accessLevel
|
#- type: accessLevel
|
||||||
# id: Detective
|
# id: Detective
|
||||||
|
|||||||
@@ -1,23 +1,30 @@
|
|||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Bar
|
id: Bar
|
||||||
|
name: Bar
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Kitchen
|
id: Kitchen
|
||||||
|
name: Kitchen
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Hydroponics
|
id: Hydroponics
|
||||||
|
name: Hydroponics
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Service
|
id: Service
|
||||||
|
name: Service
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Janitor
|
id: Janitor
|
||||||
|
name: Janitor
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Theatre
|
id: Theatre
|
||||||
|
name: Theatre
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Chapel
|
id: Chapel
|
||||||
|
name: Chapel
|
||||||
|
|
||||||
- type: accessGroup
|
- type: accessGroup
|
||||||
id: Service
|
id: Service
|
||||||
|
|||||||
@@ -38,7 +38,6 @@
|
|||||||
|
|
||||||
- type: latheRecipe
|
- type: latheRecipe
|
||||||
id: CableStack
|
id: CableStack
|
||||||
name: LV cable
|
|
||||||
icon: /Textures/Objects/Tools/cable-coils.rsi/coillv-30.png
|
icon: /Textures/Objects/Tools/cable-coils.rsi/coillv-30.png
|
||||||
result: CableApcStack1
|
result: CableApcStack1
|
||||||
completetime: 2
|
completetime: 2
|
||||||
@@ -47,7 +46,6 @@
|
|||||||
|
|
||||||
- type: latheRecipe
|
- type: latheRecipe
|
||||||
id: CableMVStack
|
id: CableMVStack
|
||||||
name: MV cable coil
|
|
||||||
icon: /Textures/Objects/Tools/cable-coils.rsi/coilmv-30.png
|
icon: /Textures/Objects/Tools/cable-coils.rsi/coilmv-30.png
|
||||||
result: CableMVStack1
|
result: CableMVStack1
|
||||||
completetime: 2
|
completetime: 2
|
||||||
@@ -56,7 +54,6 @@
|
|||||||
|
|
||||||
- type: latheRecipe
|
- type: latheRecipe
|
||||||
id: CableHVStack
|
id: CableHVStack
|
||||||
name: HV cable coil
|
|
||||||
icon: /Textures/Objects/Tools/cable-coils.rsi/coilhv-30.png
|
icon: /Textures/Objects/Tools/cable-coils.rsi/coilhv-30.png
|
||||||
result: CableHVStack1
|
result: CableHVStack1
|
||||||
completetime: 2
|
completetime: 2
|
||||||
|
|||||||
Reference in New Issue
Block a user