From 0cccd5982e47be092ac22f3e413a2b917f8eab6d Mon Sep 17 00:00:00 2001 From: Ciaran Fisher Date: Sun, 25 Feb 2024 11:50:51 +0100 Subject: [PATCH] Added current aircraft / unit to the main screen Added chinese translation (hopefully) --- DCS-SR-Client/Properties/Resources.Designer.cs | 9 +++++++++ DCS-SR-Client/Properties/Resources.resx | 3 +++ DCS-SR-Client/Properties/Resources.zh-CN.resx | 3 +++ DCS-SR-Client/UI/ClientWindow/MainWindow.xaml | 4 ++++ DCS-SR-Client/UI/ClientWindow/MainWindow.xaml.cs | 3 ++- 5 files changed, 21 insertions(+), 1 deletion(-) diff --git a/DCS-SR-Client/Properties/Resources.Designer.cs b/DCS-SR-Client/Properties/Resources.Designer.cs index 196668957..e71560e47 100644 --- a/DCS-SR-Client/Properties/Resources.Designer.cs +++ b/DCS-SR-Client/Properties/Resources.Designer.cs @@ -386,6 +386,15 @@ public static string CurrentProfileNone { } } + /// + /// Looks up a localized string similar to Unit:. + /// + public static string CurrentUnitLabel { + get { + return ResourceManager.GetString("CurrentUnitLabel", resourceCulture); + } + } + /// /// Looks up a localized string similar to Default Microphone. /// diff --git a/DCS-SR-Client/Properties/Resources.resx b/DCS-SR-Client/Properties/Resources.resx index d9aa8554b..d5d3c72d0 100644 --- a/DCS-SR-Client/Properties/Resources.resx +++ b/DCS-SR-Client/Properties/Resources.resx @@ -215,6 +215,9 @@ Current Position: + + Unit: + Current Profile: diff --git a/DCS-SR-Client/Properties/Resources.zh-CN.resx b/DCS-SR-Client/Properties/Resources.zh-CN.resx index 4d47f9c2b..726b65b54 100644 --- a/DCS-SR-Client/Properties/Resources.zh-CN.resx +++ b/DCS-SR-Client/Properties/Resources.zh-CN.resx @@ -221,6 +221,9 @@ + + 飞机 + 默认麦克风 diff --git a/DCS-SR-Client/UI/ClientWindow/MainWindow.xaml b/DCS-SR-Client/UI/ClientWindow/MainWindow.xaml index d8eaad305..827295306 100644 --- a/DCS-SR-Client/UI/ClientWindow/MainWindow.xaml +++ b/DCS-SR-Client/UI/ClientWindow/MainWindow.xaml @@ -259,6 +259,10 @@