mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-24 21:46:52 +01:00
Merge pull request #137 from tgstation/Cyberboss-patch-2
Fixes multiline comments not being properly translated
This commit is contained in:
@@ -447,8 +447,7 @@ namespace TGServerService
|
||||
.Replace("Comment this out", "Deactivate")
|
||||
.Replace("uncommenting", "activating")
|
||||
.Replace("Uncommenting", "Activating")
|
||||
.Replace("uncommented", "activated")
|
||||
.Replace("Uncomment", "Activate");
|
||||
.Replace("uncommented", "activated");
|
||||
}
|
||||
|
||||
//public api
|
||||
@@ -506,7 +505,7 @@ namespace TGServerService
|
||||
if (currentSetting.Comment == null)
|
||||
currentSetting.Comment = TranslateConfigComment(trimmed.Substring(2).Trim());
|
||||
else
|
||||
currentSetting.Comment += "\r\n" + trimmed.Substring(2).Trim();
|
||||
currentSetting.Comment += "\r\n" + TranslateConfigComment(trimmed.Substring(2).Trim());
|
||||
continue;
|
||||
}
|
||||
if (trimmed.Length == 2)
|
||||
|
||||
Reference in New Issue
Block a user