Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hmlendea committed Jul 27, 2023
1 parent 201a19b commit 633c7a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion languages.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7857,7 +7857,6 @@
</Language>
<Language>
<Id>Banjarese_Medieval</Id>
<FallbackLanguages>
<GameIds>
<GameId game="CK3AEP">banjar</GameId>
<GameId game="CK3MBP">banjar</GameId>
Expand Down
1 change: 1 addition & 0 deletions scripts/validate-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ grep -Pzo "\n\s*<([^>]*)>\s*\n\s*</\1>\n" *.xml # Empty tags
grep -Pzo "\n\s*<Name .*\n\s*</GameId.*\n" *.xml # </GameId.* after <Name>
grep -Pzo "\n\s*.*</[^<]*\n\s*<Name .*\n" *.xml # <Name> after closing tags
grep -Pzo "</[a-zA-Z]*>\n\s*<Id>.*\n" *.xml # <Id> after a closing tag
grep -Pzo "<Fallback(Languages|Locations)>.*\n\s*<GameId.*\n" *.xml # <GameId.* after <FallbackLanguages> or <FallbackLocations>
grep -Pzo "</(Id|GeonamesId|WikidataId)>.*\n\s*<GameId .*\n" *.xml # <GameId .* after </Id> or </GeonamesId> or </WikidataId>
grep -Pzo "</(Id|GeonamesId|WikidataId)>.*\n\s*</GameId.*\n" *.xml # </GameId.* after </Id> or </GeonamesId> or </WikidataId>
grep -Pzo "\s*([^=\s]*)\s*=\s*\"[^\"]*\"\s*\1\s*=\"[^\"]*\".*\n" *.xml # Double attributes
Expand Down

0 comments on commit 633c7a3

Please sign in to comment.