Skip to content

Commit

Permalink
Add notice for pal editor behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
tylercamp committed Nov 18, 2024
1 parent 17a7250 commit bac9093
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions PalCalc.UI/Localization/LocalizationCodes.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions PalCalc.UI/Localization/LocalizationCodes.resx
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,9 @@
<data name="LC_ADD_FAKE_SAVE" xml:space="preserve">
<value />
</data>
<data name="LC_CUSTOM_CONTAINERS_DESCRIPTION" xml:space="preserve">
<value />
</data>
<data name="LC_CUSTOM_CONTAINER_ADD_NEW" xml:space="preserve">
<value />
</data>
Expand Down
3 changes: 3 additions & 0 deletions PalCalc.UI/Localization/Localizations/en.resx
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ This value is doubled internally to account for pal inactivity at night.</value>
<data name="LC_CUSTOM_CONTAINERS" xml:space="preserve">
<value>Custom Containers</value>
</data>
<data name="LC_CUSTOM_CONTAINERS_DESCRIPTION" xml:space="preserve">
<value>Changes will be saved in Pal Calc automatically. Custom containers do not affect Palworld save files.</value>
</data>
<data name="LC_CUSTOM_CONTAINER_ADD_NEW" xml:space="preserve">
<value>Add new...</value>
</data>
Expand Down
5 changes: 4 additions & 1 deletion PalCalc.UI/View/Inspector/SearchView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,10 @@
<sv:ContainerGridView DataContext="{Binding}" Margin="15" />
</DataTemplate>
<DataTemplate DataType="{x:Type sgvm:CustomContainerGridViewModel}">
<sv:ContainerGridView DataContext="{Binding}" Margin="15" />
<StackPanel>
<TextBlock HorizontalAlignment="Center" FontStyle="Italic" Text="{itl:LocalizedText LC_CUSTOM_CONTAINERS_DESCRIPTION}" />
<sv:ContainerGridView DataContext="{Binding}" Margin="15" />
</StackPanel>
</DataTemplate>
</ContentControl.Resources>
</ContentControl>
Expand Down

0 comments on commit bac9093

Please sign in to comment.