Open Blaziken257 opened 7 months ago
Lines auto-format, I think this is included in the contributing document and first page of the spreadsheet. It happens during runtime, because text may contain variable-length strings.
The maintained formatting is usually matching the Japanese text.
We can probably create a script to catch formatting.
There are occasionally issues where lines of text are too short: They don't contain as much text as they can, and as a result, the text is awkward to read, and it takes up more lines than necessary.
An example (of many) can be found here, in TextSection24, line 8:
In the spreadsheet, it is formatted like this, with a forced linebreak between "unite" and "mankind", and another between "Mother's" and "guidance":
Whoever wrote this seemed to overestimate the length of the first line.
But this raises a few questions (not just this line, I've seen it elsewhere too):
Does it hurt anything to just include everything in one line? For this example, I assume this wouldn't hurt anything:
<D1>And I was given a role to unite mankind under the Mother's guidance...
As a side note, another example of a formatting issue that is now fixed can be found in this commit -- See the removed
<D3>
line break at TextSection21, line 66 -- removing it fixed the text and didn't seem to cause any issues there.Was the text manually formatted in the past? It seems like the game auto-formats line breaks if there are none explicitly specified in the spreadsheet. (As a side question, does the formatting happen at build time or run time?)
If there is text that requires forced linebreaks, would it be possible to automate something that checks for formatting issues like these? I know there is a text previewer somewhere, but I'm guessing that is manually done one line at a time.