Project

General

Profile

Bug #1990

Extra spaces add to moduleName

Added by TaranisElsu over 10 years ago. Updated over 9 years ago.

Status:
Closed
Severity:
Unworthy
Assignee:
-
Category:
Gameplay
Target version:
-
Start date:
12/19/2013
% Done:

100%

Version:
Platform:
Windows
Expansion:
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

When I override the moduleName with my own string to be displayed in the editor, it adds extra spaces. It seems like KSP adds a space every time it encounters a non-uppercase character followed by an uppercase letter:

For example: "MyModuleName" becomes "My Module Name".
The problem is that: "My Module Name" becomes "My Module Name", and "TAC My Module" becomes "TAC My Module", or similarly: "TACMyModule" becomes "TACMy Module"

Proposed solution: Please do not add an extra space if a space character precedes the uppercase letter. That way I can use "TAC My Module".

History

#1 Updated by TaranisElsu almost 10 years ago

  • Severity changed from Low to Unworthy

This should just be closed. I was not aware of the KSPModule attribute at the time I wrote this. Documentation FTW :)

#2 Updated by Ted over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Consider it done.

Also available in: Atom PDF