load application title from default language string table

This commit is contained in:
Michael Becker 2020-03-21 06:45:35 -04:00
parent 08c3234a19
commit 4f61f08d52
No known key found for this signature in database
GPG Key ID: 389DFF5D73781A12
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<Languages DefaultLanguageID="English">
<Language ID="English">
<StringTable>
<StringTableEntry ID="ApplicationTitle" Value="Universal Editor" />
<StringTableEntry ID="Application.Title" Value="Universal Editor" />
</StringTable>
<OptionPanels>
<OptionPanel ID="{6B7D5857-CDC7-482E-A6D1-A13E0E273C45}" Title="Application">

View File

@ -2,7 +2,7 @@
<Languages>
<Language ID="Japanese">
<StringTable>
<StringTableEntry ID="ApplicationTitle" Value="ユニバーサル·エディター" />
<StringTableEntry ID="Application.Title" Value="ユニバーサル·エディター" />
<StringTableEntry ID="Contributors" Value="貢献者" />
</StringTable>
<Commands>

View File

@ -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;