Fix issues with character IDs in identifiers.xml

This commit is contained in:
Xevion
2022-05-09 16:27:49 -05:00
parent 21c0d8088f
commit 93d88113e7
3 changed files with 8 additions and 6 deletions

View File

@@ -900,9 +900,10 @@
<RawText>Amy</RawText>
<Character type="background">amy</Character>
</Speaker>
<Speaker annotated="false">
<Speaker annotated="true">
<RawText>Voice of Thomas Dean</RawText>
<Character type="background">voice-of-thomas-dean</Character>
<AnnotatedText>Voice of {Thomas Dean}</AnnotatedText>
<Character type="background">thomas-dean</Character>
</Speaker>
<Speaker annotated="true">
<RawText>DunMiff/sys</RawText>
@@ -929,7 +930,7 @@
</Speaker>
<Speaker annotated="false">
<RawText>Voice #2 on phone</RawText>
<Character type="background">voice--on-phone</Character>
<Character type="background">voice-on-phone</Character>
</Speaker>
<Speaker annotated="false">
<RawText>Nick</RawText>

View File

@@ -547,9 +547,9 @@
<Quote>
<QuoteText>I told you I don't want you doing these things in here. You can use your own office or do it in the hall.</QuoteText>
<Speaker>
<SpeakerText annotated="false">Voice of Thomas Dean</SpeakerText>
<SpeakerText annotated="true">Voice of {Thomas Dean}</SpeakerText>
<Characters>
<Character type="background">voice-of-thomas-dean</Character>
<Character type="background">thomas-dean</Character>
</Characters>
</Speaker>
</Quote>
@@ -4617,7 +4617,7 @@
<Speaker>
<SpeakerText annotated="false">Voice #2 on phone</SpeakerText>
<Characters>
<Character type="background">voice--on-phone</Character>
<Character type="background">voice-on-phone</Character>
</Characters>
</Speaker>
</Quote>

View File

@@ -530,6 +530,7 @@ def check(verbose: bool) -> None:
# TODO: Check for values in meta.json that are null
# TODO: Check for values in meta.json that are not referenced anywhere in identifiers.xml
# TODO: Check for character IDs in identifiers.xml that don't look correct (voice--on-phone)
if __name__ == '__main__':