Skip to content

Conversation

@BornToBeRoot
Copy link
Owner

@BornToBeRoot BornToBeRoot commented Nov 18, 2025

Changes proposed in this pull request

  • Add Ukrainian (uk-UA)

Related issue(s)

Copilot generated summary

Provide a Copilot generated summary of the changes in this pull request.

Copilot summary

This pull request introduces Ukrainian language support to the application and improves the user interface by clarifying restart requirements when changing settings. The most notable changes are the addition of Ukrainian localization resources and updates to the restart-required tooltip and button visuals.

Localization:

  • Added Ukrainian (uk-UA) to supported languages in .github/transifex.yml and LocalizationManager.cs, including display name and flag resources. [1] [2]
  • Updated the project file to include and remove the Ukrainian flag image resource as needed (NETworkManager.Localization.csproj). [1] [2]
  • Updated the PowerShell script Create-FlagFromSVG.ps1 to generate the Ukrainian flag PNG from SVG.

User Interface:

  • Added a new localized string ToolTip_RestartRequired to both the resource file and designer, and updated the restart button tooltip in MainWindow.xaml to use it. [1] [2] [3]
  • Improved the restart button appearance by changing its icon and adding a text label to clarify the action required.

Miscellaneous:

  • Removed the .exe pattern from .nuget/.gitignore, which may affect which files are ignored in the NuGet directory.

To-Do

Contributing

By submitting this pull request, I confirm the following:

@BornToBeRoot BornToBeRoot added 🎨 design dependencies Pull requests that update a dependency file ✔️ dependencies and removed dependencies Pull requests that update a dependency file labels Nov 18, 2025
@BornToBeRoot BornToBeRoot added this to the next-release milestone Nov 18, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds Ukrainian (uk-UA) language support to NETworkManager and improves the user interface for the restart-required notification by making it more prominent and informative.

Key changes:

  • Added Ukrainian language configuration across localization infrastructure (LocalizationManager, Transifex, flag resources)
  • Enhanced the restart-required button with an improved icon (ProgressCheck instead of ReloadAlert), visible text label, and a more descriptive tooltip
  • Broadened .gitignore patterns to exclude *.exe and *.dll files repository-wide instead of just in the .nuget directory

Reviewed Changes

Copilot reviewed 9 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/transifex.yml Added uk_UA to the language mapping for Transifex integration
.gitignore Added repository-wide patterns to ignore *.exe and *.dll files
.nuget/.gitignore Removed the .nuget-specific *.exe pattern (moved to root .gitignore)
Source/NETworkManager.Localization/LocalizationManager.cs Added Ukrainian language entry with display name, native name, flag reference, and culture code
Source/NETworkManager.Localization/NETworkManager.Localization.csproj Included the Ukrainian flag PNG as a resource in the project
Source/NETworkManager.Localization/Resources/Flags/uk-UA.png Added Ukrainian flag image for language selection UI
Source/NETworkManager.Localization/Resources/Strings.Designer.cs Auto-generated code for the new ToolTip_RestartRequired resource string
Source/NETworkManager.Localization/Resources/Strings.resx Added ToolTip_RestartRequired localization string explaining restart requirement
Source/NETworkManager/MainWindow.xaml Updated restart button with new tooltip, improved icon, text label, and removed trailing whitespace
Scripts/Create-FlagFromSVG.ps1 Updated script paths to Ukrainian flag generation (temporary development paths)
Files not reviewed (1)
  • Source/NETworkManager.Localization/Resources/Strings.Designer.cs: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +9 to +10
$SourcePath = "C:\Temp\ua.svg"
$DestinationPath = "C:\Temp\uk-UA.png"
Copy link

Copilot AI Nov 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script file appears to contain temporary/local paths specific to the development environment. The $SourcePath and $DestinationPath should either be parameterized or reverted to placeholder values (or a previously used language example). Committing developer-specific paths can cause confusion for other contributors.

Copilot uses AI. Check for mistakes.
@mergify mergify bot merged commit 4a444f1 into main Nov 18, 2025
4 checks passed
@mergify mergify bot deleted the feature/3239 branch November 18, 2025 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ukrainian localization

2 participants