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 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 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 0000000000..da9265e2af Binary files /dev/null and b/Source/NETworkManager.Localization/Resources/Flags/uk-UA.png differ 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 @@ - +