Skip to content

Commit

Permalink
Patch text size for Turkish strings
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaboxer committed Oct 10, 2024
1 parent 890e4ea commit 43921a6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Bloxstrap/UI/Elements/About/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
<ui:NavigationStore.Items>
<ui:NavigationItem Content="{x:Static resources:Strings.Menu_About_Title}" PageType="{x:Type pages:AboutPage}" Icon="QuestionCircle48" Tag="about" Margin="0,0,0,12" />
<ui:NavigationItem Content="{x:Static resources:Strings.About_Supporters_Title}" PageType="{x:Type pages:SupportersPage}" Icon="Heart24" Tag="translators" Margin="0,0,0,12" />
<ui:NavigationItem Content="{x:Static resources:Strings.About_Translators_Title}" PageType="{x:Type pages:TranslatorsPage}" Icon="Translate24" Tag="translators" Margin="0,0,0,12" />
<ui:NavigationItem PageType="{x:Type pages:TranslatorsPage}" Icon="Translate24" Tag="translators" Margin="0,0,0,12">
<TextBlock x:Name="TranslatorsText" Text="{x:Static resources:Strings.About_Translators_Title}" FontSize="10" />
</ui:NavigationItem>
<ui:NavigationItem Content="{x:Static resources:Strings.About_Licenses_Title}" PageType="{x:Type pages:LicensesPage}" Icon="Code24" Tag="licenses" Margin="0,0,0,12" />
</ui:NavigationStore.Items>
</ui:NavigationStore>
Expand Down
5 changes: 4 additions & 1 deletion Bloxstrap/UI/Elements/About/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ public MainWindow()
{
InitializeComponent();

App.Logger.WriteLine("MainWindow::MainWindow", "Initializing menu");
App.Logger.WriteLine("MainWindow", "Initializing about window");

if (Locale.CurrentCulture.Name.StartsWith("tr"))
TranslatorsText.FontSize = 9;
}

#region INavigationWindow methods
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Installer/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public MainWindow()
DataContext = _viewModel;
InitializeComponent();

App.Logger.WriteLine("MainWindow::MainWindow", "Initializing installer");
App.Logger.WriteLine("MainWindow", "Initializing installer window");

Closing += new CancelEventHandler(MainWindow_Closing);
}
Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Settings/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public MainWindow(bool showAlreadyRunningWarning)

InitializeComponent();

App.Logger.WriteLine("MainWindow::MainWindow", "Initializing menu");
App.Logger.WriteLine("MainWindow", "Initializing settings window");

#if DEBUG // easier access
EditorWarningNavItem.Visibility = Visibility.Visible;
Expand Down

0 comments on commit 43921a6

Please sign in to comment.