Skip to content

Commit

Permalink
Removed tons of localization.
Browse files Browse the repository at this point in the history
vchelaru committed Nov 13, 2024
1 parent 15f70a0 commit 7db2906
Showing 7 changed files with 19 additions and 313 deletions.
34 changes: 17 additions & 17 deletions FRBDK/Glue/GumPlugin/GumPlugin/Controls/GumControl.xaml
Original file line number Diff line number Diff line change
@@ -8,33 +8,33 @@
d:DesignHeight="500" d:DesignWidth="310">
<ScrollViewer VerticalScrollBarVisibility="Auto">
<StackPanel>
<TextBlock HorizontalAlignment="Center" FontSize="16" Text="{x:Static localization:Texts.ProjectGumProperties}"></TextBlock>
<TextBlock HorizontalAlignment="Center" FontSize="16" Text="Gum Project Properties"></TextBlock>
<CheckBox x:Name="ShowDottedOutlines" VerticalContentAlignment="Center"
Content="{x:Static localization:Texts.ShowDottedOutlines}" IsChecked="{Binding ShowDottedOutlines}"></CheckBox>
Content="Show Dotted Outlines" IsChecked="{Binding ShowDottedOutlines}"></CheckBox>
<CheckBox VerticalContentAlignment="Center"
Content="{x:Static localization:Texts.ShowMouse}" IsChecked="{Binding ShowMouse}" ></CheckBox>
Content="Show Mouse" IsChecked="{Binding ShowMouse}" ></CheckBox>

<CheckBox x:Name="UseAtlasesCheckBox" VerticalContentAlignment="Center" Content="{x:Static localization:Texts.UseAtlases}" IsChecked="{Binding UseAtlases}"></CheckBox>
<CheckBox x:Name="MakeInstancesPublicCheckBox" VerticalAlignment="Center" Content="{x:Static localization:Texts.GenerateCodeMakePublic}" IsChecked="{Binding MakeGumInstancesPublic}"></CheckBox>
<CheckBox x:Name="UseAtlasesCheckBox" VerticalContentAlignment="Center" Content="Use Atlases" IsChecked="{Binding UseAtlases}"></CheckBox>
<CheckBox x:Name="MakeInstancesPublicCheckBox" VerticalAlignment="Center" Content="Make Generated Code Instances Public" IsChecked="{Binding MakeGumInstancesPublic}"></CheckBox>
<Button Margin="7,5,0,0" Width="220" HorizontalAlignment="Left" Click="RegenerateFontsClicked" Content="Re-generate Fonts" />
<Button Margin="7,5,0,0" Width="220" HorizontalAlignment="Left" Click="RemoveOrphanCustomCodeClicked" Content="Remove Orphaned Custom Runtime Files" />

<GroupBox Header="{x:Static localization:Texts.ProjectGumManagement}" Margin="0,4">
<GroupBox Header="Gum Project Management" Margin="0,4">
<StackPanel>
<CheckBox x:Name="AutoCreateGumScreens" VerticalContentAlignment="Center"
Content="{x:Static localization:Texts.GumAutoCreateForGlue}"
Content="Automatically Create Gum Screens for Glue Screens"
IsChecked="{Binding AutoCreateGumScreens}"></CheckBox>
<CheckBox Content="{x:Static localization:Texts.GumMatchGameResolution}"
<CheckBox Content="Match Game Resolution in Gum"
IsChecked="{Binding IsMatchGameResolutionInGumChecked}"/>
</StackPanel>
</GroupBox>

<GroupBox Header="{x:Static localization:Texts.GumCoreAddition}" Visibility="{Binding GumCoreFileUiVisibility}" Margin="0,0,0,4">
<GroupBox Header="Core Gum Addition" Visibility="{Binding GumCoreFileUiVisibility}" Margin="0,0,0,4">
<StackPanel >
<RadioButton GroupName="AdditionType" x:Name="IncludeNoFilesRadio"
VerticalContentAlignment="Center" Content="{x:Static localization:Texts.FilesIncludeNoneUseDllsOrSource}" IsChecked="{Binding IncludeNoFiles, FallbackValue=true, Mode=TwoWay}"/>
VerticalContentAlignment="Center" Content="Include No Files (use linked .dlls or source)" IsChecked="{Binding IncludeNoFiles, FallbackValue=true, Mode=TwoWay}"/>
<RadioButton GroupName="AdditionType" x:Name="EmbedCodeFilesRadio"
VerticalContentAlignment="Center" Content="{x:Static localization:Texts.EmbedCodeFilesLegacy}"
VerticalContentAlignment="Center" Content="Embed Code Files (legacy)"
IsEnabled="{Binding IsEmbedCodeFilesEnabled}"
IsChecked="{Binding EmbedCodeFiles, Mode=TwoWay}" />
</StackPanel>
@@ -45,21 +45,21 @@
<TabControl BorderThickness="0,1,0,0">
<TabItem Header="Basic">
<StackPanel x:Name="Basic" Margin="4">
<Button HorizontalAlignment="Left" Width="Auto" Click="HandleAddAllForms" Content="{x:Static localization:Texts.ProjectFormsAddUpdate}" />
<TextBlock FontSize="9" Text="{x:Static localization:Texts.FormClickAgainReAdd}" Margin="0,4,0,0"/>
<Button HorizontalAlignment="Left" Width="Auto" Click="HandleAddAllForms" Content="Add/Update Forms to Project" />
<TextBlock FontSize="9" Text="(Clicking again will re-add all Forms content)" Margin="0,4,0,0"/>
</StackPanel>
</TabItem>
<TabItem Header="Advanced">
<StackPanel x:Name="Advanced" Margin="4">

<CheckBox VerticalContentAlignment="Center"
Content="{x:Static localization:Texts.FormsIncludeComponents}" IsChecked="{Binding IncludeFormsInComponents, Mode=TwoWay}"></CheckBox>
Content="Include Forms in Components With Behaviors" IsChecked="{Binding IncludeFormsInComponents, Mode=TwoWay}"></CheckBox>

<CheckBox VerticalContentAlignment="Center"
Content="{x:Static localization:Texts.FormsAddDefaultToGum}" IsChecked="{Binding IncludeComponentToFormsAssociation, Mode=TwoWay}"></CheckBox>
<Button HorizontalAlignment="Left" Margin="0,10,0,0" Width="220" Click="HandleGenerateBehaviors" Content="{x:Static localization:Texts.FrbGenerateBehaviors}" />
Content="Add Default Forms to Gum Component Associations" IsChecked="{Binding IncludeComponentToFormsAssociation, Mode=TwoWay}"></CheckBox>
<Button HorizontalAlignment="Left" Margin="0,10,0,0" Width="220" Click="HandleGenerateBehaviors" Content="Generate FlatRedBall Behaviors" />
<Button HorizontalAlignment="Left" Margin="0,5,0,0" Width="220"
Click="HandleAddFormsComponentsClick" Content="{x:Static localization:Texts.GumFormComponentsAddRefresh}" />
Click="HandleAddFormsComponentsClick" Content="Add/Refresh Gum Form Components" />
</StackPanel>
</TabItem>
</TabControl>
Original file line number Diff line number Diff line change
@@ -667,7 +667,7 @@ public void GenerateAllBehaviors()

if(gumProject?.Behaviors != null)
{
foreach (var behavior in gumProject.Behaviors)
foreach (var behavior in gumProject.Behaviors)
{
GenerateCodeFor(behavior, saveProjects:false);
}
126 changes: 0 additions & 126 deletions FRBDK/Localization/Texts.Designer.cs

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

42 changes: 0 additions & 42 deletions FRBDK/Localization/Texts.de.resx
Original file line number Diff line number Diff line change
@@ -1233,57 +1233,15 @@
<data name="ObjectCouldNotDefineFor" xml:space="preserve">
<value>Definierendes Basisobjekt für {0} konnte nicht gefunden werden</value>
</data>
<data name="ProjectGumManagement" xml:space="preserve">
<value>Gum-Projektmanagement</value>
</data>
<data name="GumAutoCreateForGlue" xml:space="preserve">
<value>Erstellen Sie automatisch Gum für Glue</value>
</data>
<data name="GumMatchGameResolution" xml:space="preserve">
<value>Passen Sie die Spielauflösung in Gum an</value>
</data>
<data name="ProjectGumProperties" xml:space="preserve">
<value>Eigenschaften des Gum-Projekts</value>
</data>
<data name="ShowMouse" xml:space="preserve">
<value>Maus anzeigen</value>
</data>
<data name="UseAtlases" xml:space="preserve">
<value>Verwenden Sie Atlanten</value>
</data>
<data name="ShowDottedOutlines" xml:space="preserve">
<value>Gepunktete Umrisse anzeigen</value>
</data>
<data name="GenerateCodeMakePublic" xml:space="preserve">
<value>Machen Sie generierte Codeinstanzen öffentlich</value>
</data>
<data name="GumCoreAddition" xml:space="preserve">
<value>Kern Gum-Zugabe</value>
</data>
<data name="FilesIncludeNoneUseDllsOrSource" xml:space="preserve">
<value>Keine Dateien einschließen (verknüpfte DLLs oder Quelle verwenden)</value>
</data>
<data name="EmbedCodeFilesLegacy" xml:space="preserve">
<value>Codedateien einbetten (alt)</value>
</data>
<data name="ProjectFormsAddUpdate" xml:space="preserve">
<value>Formulare zum Projekt hinzufügen/aktualisieren</value>
</data>
<data name="FormClickAgainReAdd" xml:space="preserve">
<value>(Durch erneutes Klicken werden alle Formularinhalte erneut hinzugefügt.)</value>
</data>
<data name="FormsIncludeComponents" xml:space="preserve">
<value>Fügen Sie Formulare in Komponenten mit Verhalten ein</value>
</data>
<data name="FormsAddDefaultToGum" xml:space="preserve">
<value>Fügen Sie Standardformen zu Gum-Komponentenzuordnungen hinzu</value>
</data>
<data name="FrbGenerateBehaviors" xml:space="preserve">
<value>Generieren Sie FlatRedBall-Verhalten</value>
</data>
<data name="GumFormComponentsAddRefresh" xml:space="preserve">
<value>Gum-Form-Komponenten hinzufügen/aktualisieren</value>
</data>
<data name="EntityMain" xml:space="preserve">
<value>Hauptentität</value>
</data>
Loading

0 comments on commit 7db2906

Please sign in to comment.