From 2d8ba3c09bf69c0006a21ebab89099920b55d9d3 Mon Sep 17 00:00:00 2001 From: BornToBeRoot <16019165+BornToBeRoot@users.noreply.github.com> Date: Tue, 18 Nov 2025 22:38:04 +0100 Subject: [PATCH 1/4] Feature: Add uk-UA --- .github/transifex.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/transifex.yml b/.github/transifex.yml index 272f001ce6..f075232fe1 100644 --- a/.github/transifex.yml +++ b/.github/transifex.yml @@ -24,5 +24,6 @@ git: ru_RU: ru-RU sl_SI: sl-SI sv_SE: sv-SE + uk_UA: uk-UA zh_CN: zh-CN zh_TW: zh-TW From d03c624a3b59553398cec8eb15f67b772212bc40 Mon Sep 17 00:00:00 2001 From: BornToBeRoot <16019165+BornToBeRoot@users.noreply.github.com> Date: Tue, 18 Nov 2025 23:22:18 +0100 Subject: [PATCH 2/4] Chore: Update gitignore --- .gitignore | 2 ++ .nuget/.gitignore | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 .nuget/.gitignore diff --git a/.gitignore b/.gitignore index fc0fc9c830..1a0b6652ef 100644 --- a/.gitignore +++ b/.gitignore @@ -255,3 +255,5 @@ paket-files/ # Custom Build/ .vscode/ +*.exe +*.dll diff --git a/.nuget/.gitignore b/.nuget/.gitignore deleted file mode 100644 index b883f1fdc6..0000000000 --- a/.nuget/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.exe From a9a8fbfc9a704dc73348a9d5c22af632ed4da9dc Mon Sep 17 00:00:00 2001 From: BornToBeRoot <16019165+BornToBeRoot@users.noreply.github.com> Date: Tue, 18 Nov 2025 23:59:45 +0100 Subject: [PATCH 3/4] Feature: Add uk-UA --- Scripts/Create-FlagFromSVG.ps1 | 4 ++-- .../LocalizationManager.cs | 3 ++- .../NETworkManager.Localization.csproj | 2 ++ .../Resources/Flags/uk-UA.png | Bin 0 -> 460 bytes .../Resources/Strings.Designer.cs | 9 ++++++++ .../Resources/Strings.resx | 3 +++ Source/NETworkManager/MainWindow.xaml | 21 +++++++++++------- 7 files changed, 31 insertions(+), 11 deletions(-) create mode 100644 Source/NETworkManager.Localization/Resources/Flags/uk-UA.png diff --git a/Scripts/Create-FlagFromSVG.ps1 b/Scripts/Create-FlagFromSVG.ps1 index 09cd945895..002b249f76 100644 --- a/Scripts/Create-FlagFromSVG.ps1 +++ b/Scripts/Create-FlagFromSVG.ps1 @@ -6,7 +6,7 @@ $ConvertPath = "C:\Tools\ImageMagick-7.1.0-portable-Q16-x64\convert.exe" -$SourcePath = "C:\Temp\jp.svg" -$DestinationPath = "C:\Temp\ja-JP.png" +$SourcePath = "C:\Temp\ua.svg" +$DestinationPath = "C:\Temp\uk-UA.png" Start-Process -FilePath $ConvertPath -ArgumentList "-antialias -density 600 -background transparent -resize x48 ""$SourcePath"" ""$DestinationPath""" -NoNewWindow -Wait diff --git a/Source/NETworkManager.Localization/LocalizationManager.cs b/Source/NETworkManager.Localization/LocalizationManager.cs index 06782d58e1..420d1ad097 100644 --- a/Source/NETworkManager.Localization/LocalizationManager.cs +++ b/Source/NETworkManager.Localization/LocalizationManager.cs @@ -71,7 +71,8 @@ private LocalizationManager(string cultureCode = DefaultCultureCode) new LocalizationInfo("Portuguese (Brazil)", "português brasileiro", GetImageUri("pt-BR"), "pt-BR"), new LocalizationInfo("Russian (Russia)", "Русский", GetImageUri("ru-RU"), "ru-RU"), new LocalizationInfo("Slovenian (Slovenia)", "slovenski jezik", GetImageUri("sl-SI"), "sl-SI"), - new LocalizationInfo("Spanish (Spain)", "Español", GetImageUri("es-ES"), "es-ES") + new LocalizationInfo("Spanish (Spain)", "Español", GetImageUri("es-ES"), "es-ES"), + new LocalizationInfo("Ukrainian (Ukraine)", "Українська", GetImageUri("uk-UA"), "uk-UA"), ]; /// diff --git a/Source/NETworkManager.Localization/NETworkManager.Localization.csproj b/Source/NETworkManager.Localization/NETworkManager.Localization.csproj index c88748e61e..e9c3d6240a 100644 --- a/Source/NETworkManager.Localization/NETworkManager.Localization.csproj +++ b/Source/NETworkManager.Localization/NETworkManager.Localization.csproj @@ -28,6 +28,7 @@ + @@ -49,6 +50,7 @@ + diff --git a/Source/NETworkManager.Localization/Resources/Flags/uk-UA.png b/Source/NETworkManager.Localization/Resources/Flags/uk-UA.png new file mode 100644 index 0000000000000000000000000000000000000000..da9265e2afd7d197c8692763e05d779d6deb4db9 GIT binary patch literal 460 zcmeAS@N?(olHy`uVBq!ia0vp^4nS-mzyu`gcA9eoDVB6cUq=Rpjs4tz5?O(Kg=CK) zUj~LMH3o);76yi2K%s^g3=E|P3=FRl7#OT(FffQ0%-I!a1C(G(@^*It(m?Rjd3QaK z;wV0qhgHWw(g+tbA{q~g}wYlgi}jts6B ze?H+}ut-TeU6`kVPiFxar*`AC3v0R^k7+)WW7Xez_V%$IcjuiKe6oOj%{qn%#tlpf ztOvLnL>aUh!Wh=z6!>QN%;wJ5p3=AW^B+I{AAUaK`Zv4(vHs$=$+5TRte-BoaZ_!N z<=2j>Uz>54Gnb-EkcZp wtboYWP}{)3%D})#GWivXhTQy=%(O}@8jK(siq;%F4b;Hk>FVdQ&MBb@0Oya4r~m)} literal 0 HcmV?d00001 diff --git a/Source/NETworkManager.Localization/Resources/Strings.Designer.cs b/Source/NETworkManager.Localization/Resources/Strings.Designer.cs index c83551b8c7..7e2dea087e 100644 --- a/Source/NETworkManager.Localization/Resources/Strings.Designer.cs +++ b/Source/NETworkManager.Localization/Resources/Strings.Designer.cs @@ -10513,6 +10513,15 @@ public static string ToolTip_ReportIssueOrCreateFeatureRequest { } } + /// + /// Sucht eine lokalisierte Zeichenfolge, die A restart is required to apply changes such as language settings. ähnelt. + /// + public static string ToolTip_RestartRequired { + get { + return ResourceManager.GetString("ToolTip_RestartRequired", resourceCulture); + } + } + /// /// Sucht eine lokalisierte Zeichenfolge, die Run command... (Ctrl+Shift+P) ähnelt. /// diff --git a/Source/NETworkManager.Localization/Resources/Strings.resx b/Source/NETworkManager.Localization/Resources/Strings.resx index 0c22da911e..cad95c179a 100644 --- a/Source/NETworkManager.Localization/Resources/Strings.resx +++ b/Source/NETworkManager.Localization/Resources/Strings.resx @@ -3942,4 +3942,7 @@ Right-click for more options. You can enable or disable encryption later at any time by right-clicking the profile file to manage encryption settings. If you click Cancel, the profile file will remain unencrypted. + + A restart is required to apply changes such as language settings. + \ No newline at end of file diff --git a/Source/NETworkManager/MainWindow.xaml b/Source/NETworkManager/MainWindow.xaml index b7543c4c43..bffce2d0e2 100644 --- a/Source/NETworkManager/MainWindow.xaml +++ b/Source/NETworkManager/MainWindow.xaml @@ -108,14 +108,19 @@ - +