marticliment / UniGetUI

UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
https://www.marticliment.com/unigetui/
MIT License
12.22k stars 419 forks source link

[ENHANCEMENT] flexible width of tab column #1982

Open Stephan-P opened 6 months ago

Stephan-P commented 6 months ago

Please confirm these before moving forward

Describe the improvement

The tab column at the right side of the WingetUI window is not wide enough for translations with long words. Please make the width of the tab column flexible so that the largest word fits.

Describe how this improvement could help users.

It will prevent unintended breaking of long words. See example in below screenshot where the word Geïnstalleerde is broken.

If this is not possible in the short run, would it be an idea to replace Installed packages with Packages on this system in order to prevent the situation?

image

marticliment commented 6 months ago

If this is not possible in the short run, would it be an idea to replace Installed packages with Packages on this system in order to prevent the situation?

If you feel that this would look better and it would still be understood, you may as well change the Danish translation for it. However, please be consistent with it

Stephan-P commented 6 months ago

I have no rights on the Danish language in Tolgee. Aside of that, I wouldn't know Danish without the use of a translation tool.

I did replace "Installed packages" with "Packages on this system"/"Pakketten op dit systeem". Now waiting for it to show up in my WingetUI.

marticliment commented 6 months ago

Sorry, I thought you were the danish translator. I got confused

Stephan-P commented 6 months ago

BTW, I've changed the string "Installed packages" into "Packages on this system" in Tolgee 4 days ago, but this update doesn't appear to come across via the option "download updated translations"

image

marticliment commented 6 months ago

It should download, please share the logs, there we should see if the files are being downloaded

Stephan-P commented 6 months ago

Welcome to WingetUI Version 3.0.1 Version Code 3,01 C:\Users\StephanPaternotte\AppData\Local\WingetUI\CachedLangFiles\lang_nl.json Loaded language locale: nl Api auth token: iz0ty8r9aqeokfjcc673o7vw4lxfxbhp3il94djl6zupqiwumumh4nse4agf826u Starting update check Api running on http://localhost:7058 Lang files were updated successfully WingetUI is up to date Downloaded icons and screenshots successfully! ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: Npm █ Enabled: True █ Found: False █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT █ INSTALLED OR IT HAS BEEN MISCONFIGURED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: .NET Tool █ Enabled: True █ Found: True █ Fancye exe name: dotnet tool █ Executable path: C:\Program Files\dotnet\dotnet.exe █ Call arguments: tool █ Version: █
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: Pip █ Enabled: True █ Found: True █ Fancye exe name: pip █ Executable path: C:\Users\StephanPaternotte\AppData\Local\Microsoft\WindowsApps\python.exe █ Call arguments: -m pip █ Version: █
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: Scoop █ Enabled: True █ Found: False █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT █ INSTALLED OR IT HAS BEEN MISCONFIGURED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: Winget █ Enabled: True █ Found: True █ Fancye exe name: winget.exe █ Executable path: C:\Program Files\WingetUI\PackageEngine\Managers\winget-cli_x64\winget.exe █ Call arguments: █ Version: █ v1.7.10582 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: PowerShell █ Enabled: True █ Found: True █ Fancye exe name: powershell.exe █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe █ Call arguments: -NoProfile -Command █ Version: █ Name Value
█ ---- -----
█ PSVersion 5.1.22621.2506
█ PSEdition Desktop
█ PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
█ BuildVersion 10.0.22621.2506
█ CLRVersion 4.0.30319.42000
█ WSManStackVersion 3.0
█ PSRemotingProtocolVersion 2.3
█ SerializationVersion 1.1.0.1 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: Chocolatey █ Enabled: True █ Found: True █ Fancye exe name: choco.exe █ Executable path: C:\Users\StephanPaternotte\AppData\Local\Programs\WingetUI\choco-cli\choco.exe █ Call arguments: █ Version: █ 2.2.2 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface. Error finding updates on manager .NET Tool: System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'C:\ThisExe\WasNotFound\InPath\dotnet-tools-outdated.exe' with working directory 'C:\Program Files\WingetUI'. Het systeem kan het opgegeven bestand niet vinden. at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) at ModernWindow.PackageEngine.Managers.Dotnet.GetAvailableUpdates_UnSafe() in Y:\WingetUI-Store\src\wingetui\PackageEngine\Managers\Dotnet.cs:line 83 at ModernWindow.PackageEngine.Classes.PackageManager.GetAvailableUpdates() in Y:\WingetUI-Store\src\wingetui\PackageEngine\Classes\Manager.cs:line 164 Starting check for updates wait interval with waitTime=86400 Starting update check WingetUI is up to date Starting update check WingetUI is up to date Starting update check WingetUI is up to date Starting update check WingetUI is up to date Starting update check WingetUI is up to date Error finding updates on manager .NET Tool: System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'C:\ThisExe\WasNotFound\InPath\dotnet-tools-outdated.exe' with working directory 'C:\Program Files\WingetUI'. Het systeem kan het opgegeven bestand niet vinden. at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) at ModernWindow.PackageEngine.Managers.Dotnet.GetAvailableUpdates_UnSafe() in Y:\WingetUI-Store\src\wingetui\PackageEngine\Managers\Dotnet.cs:line 83 at ModernWindow.PackageEngine.Classes.PackageManager.GetAvailableUpdates() in Y:\WingetUI-Store\src\wingetui\PackageEngine\Classes\Manager.cs:line 164 Starting update check WingetUI is up to date

Stephan-P commented 6 months ago

Okay, I used the option to reset WingetUI to it's initial settings and after that the translation updates came through. Not so nice that the string "Packages on this system" is split into 4 rows. Could have been 3.

image

marticliment commented 6 months ago

It should not split, I will take a look at it