added spaces to labels per John
This commit is contained in:
1 parent
a307a09cb7
commit
8687ef64f9
2 files changed
+7
-2
No files matched your search
Vendored
+1
@@ -120,6 +120,7 @@
|
||||
"fix",
|
||||
"--export_atdl_path",
|
||||
"./atdl/",
|
||||
"--export_single_file",
|
||||
],
|
||||
"cwd": "${workspaceRoot}/build/Debug/bin/net471/",
|
||||
"stopAtEntry": false,
|
||||
|
||||
@@ -300,9 +300,13 @@ namespace bts.fix
|
||||
});
|
||||
}
|
||||
|
||||
static string title_case(string title)
|
||||
static string title_case(string title, bool insert_spaces = true)
|
||||
{
|
||||
return new CultureInfo("en").TextInfo.ToTitleCase(title.ToLower().Replace("_", " ")).Replace(" ", "");
|
||||
var s = new CultureInfo("en").TextInfo.ToTitleCase(title.ToLower().Replace("_", " "));
|
||||
if(!insert_spaces)
|
||||
return s.Replace(" ", "");
|
||||
else
|
||||
return s;
|
||||
}
|
||||
|
||||
static void visit_layout(XmlWriter w, IMessage imsg)
|
||||
|
||||
Reference in new issue
Block a user