Skip to content

Commit

Permalink
Action menu localization (space-wizards#29839)
Browse files Browse the repository at this point in the history
  • Loading branch information
chavonadelal authored Jul 9, 2024
1 parent f3342c5 commit 04cb265
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:windows="clr-namespace:Content.Client.UserInterface.Systems.Actions.Windows"
Name="ActionsList"
HorizontalExpand="True"
Title="Actions"
Title="{Loc ui-actionmenu-title}"
VerticalExpand="True"
Resizable="True"
MinHeight="300"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public ActionsWindow()

foreach (var filter in Enum.GetValues<Filters>())
{
FilterButton.AddItem(filter.ToString(), filter);
FilterButton.AddItem(Loc.GetString($"ui-actionmenu-{filter.ToString().ToLower()}"), filter);
}
}

Expand Down
5 changes: 5 additions & 0 deletions Resources/Locale/en-US/actions/ui/actionmenu.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ ui-actionmenu-clear-button = Clear
ui-actionsui-function-lock-action-slots = (Un)lock dragging and clearing action slots
ui-actionsui-function-open-abilities-menu = Open action menu
ui-actionmenu-enabled = Enabled
ui-actionmenu-item = Item
ui-actionmenu-innate = Innate
ui-actionmenu-instant = Instant
ui-actionmenu-targeted = Targeted

0 comments on commit 04cb265

Please sign in to comment.