KSP-ModularManagement / KSPe

Extensions and utilities for Kerbal Space Program
http://ksp.lisias.net/add-ons/KSPAPIExtensions
Other
11 stars 6 forks source link

Make popup messages easier to understand, fix checkout on Windows #34

Closed HebaruSan closed 2 years ago

HebaruSan commented 2 years ago

Hi @Lisias,

A user posted this on the forum, and I saw some opportunities to improve it:

image

Once I took a look at the TweakScale repo, I found several other similar messages there and in the KSPe repo. Attached are my attempts to make them easier to understand.

Visible:

Technical:

net-lisias-ksp/TweakScale#265 is making some additional related changes.

Cheers!

Side fixes

While setting up to work on this, I noticed that cloning this repo fails on Windows because some of the filenames contain pipes, so I've also replaced those pipes with dashes.

$ git clone https://github.com/net-lisias-ksp/KSPe.git
Cloning into 'KSPe'...
remote: Enumerating objects: 6984, done.
remote: Counting objects: 100% (675/675), done.
remote: Compressing objects: 100% (216/216), done.
remote: Total 6984 (delta 489), reused 617 (delta 450), pack-reused 6309
Receiving objects: 100% (6984/6984), 14.34 MiB | 1.93 MiB/s, done.
Resolving deltas: 100% (4731/4731), done.
error: invalid path 'Docs/RecomendedReadings/Native interoperability best practices - .NET | Microsoft Docs.pdf'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

Note that only the local/TweakScale branch is updated, because it's the most relevant to the screenshot above. I'll make another pull request for the main branch after this.

Lisias commented 2 years ago

Hi! It took me a hell of a time, but I'm finally looking into it.

The pull request will be merged, but the changes from static readonly to const will be revered due the following reasons:

Thanks for you time on it!