From 4f61f08d525711766eeccea3007acdbc0effcc70 Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Sat, 21 Mar 2020 06:45:35 -0400 Subject: [PATCH] load application title from default language string table --- .../Languages/English.uexml | 2 +- .../Languages/Japanese.uexml | 2 +- CSharp/Libraries/UniversalEditor.UserInterface/MainWindow.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/English.uexml b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/English.uexml index c48607b5..25c4fab6 100644 --- a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/English.uexml +++ b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/English.uexml @@ -2,7 +2,7 @@ - + diff --git a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/Japanese.uexml b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/Japanese.uexml index cae5546e..2764a26b 100644 --- a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/Japanese.uexml +++ b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/Japanese.uexml @@ -2,7 +2,7 @@ - + diff --git a/CSharp/Libraries/UniversalEditor.UserInterface/MainWindow.cs b/CSharp/Libraries/UniversalEditor.UserInterface/MainWindow.cs index f34527b8..8886d543 100644 --- a/CSharp/Libraries/UniversalEditor.UserInterface/MainWindow.cs +++ b/CSharp/Libraries/UniversalEditor.UserInterface/MainWindow.cs @@ -214,7 +214,7 @@ namespace UniversalEditor.UserInterface this.Bounds = new Rectangle(0, 0, 600, 400); this.Size = new Dimension2D(800, 600); - this.Text = "Universal Editor"; + this.Text = Application.Title; Application.ContextAdded += Application_ContextChanged; Application.ContextRemoved += Application_ContextChanged;