Skip to content

Commit

Permalink
MC-252408
Browse files Browse the repository at this point in the history
  • Loading branch information
MMK21Hub committed Jun 2, 2022
1 parent c650ebf commit 142fb9d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Unfortunately, Capitalisation Fixes v1 is not supported in versions newer than 1

## Fixed strings

29 modified translation strings are included in the resource pack, which fix a total of 18 bugs. A lot of the issues are uncapitalised in-game names (which I've just referred to as "capitalisation"), but there are also other capitalisation and grammar issues in there.
30 modified translation strings are included in the resource pack, which fix a total of 19 bugs. A lot of the issues are uncapitalised in-game names (which I've just referred to as "capitalisation"), but there are also other capitalisation and grammar issues in there.

- [Birthday Song advancement description](https://bugs.mojang.com/browse/MC-249980) (capitalisation)
- [Sneak 100 advancement description](https://bugs.mojang.com/browse/MC-250158) (missing serial comma)
Expand All @@ -67,6 +67,7 @@ Unfortunately, Capitalisation Fixes v1 is not supported in versions newer than 1
- [Leash Knot subtitles](https://bugs.mojang.com/browse/MC-206548) (capitalisation)
- [Goat Horn subtitles](https://bugs.mojang.com/browse/MC-250932) (capitalisation)
- [Subtitles for Goat body parts](https://bugs.mojang.com/browse/MC-250968) (possessive apostrophes)
- ["Chat not allowed" message](https://bugs.mojang.com/browse/MC-252408) (missing full stop)

### Previously-fixed strings

Expand Down
8 changes: 8 additions & 0 deletions src/fixes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ const fixes: Fix[] = [
"advancements.husbandry.wax_off.description",
]
),
new Fix({
bug: "MC-252408",
key: "chat.disabled.profile",
// If there's a letter right at the end of a string, add a full stop to the end
transformer: new ReplaceTransformer(/\w$/, "$&."),
// Other languages still have the old translation string contents, so they aren't affected
languages: ["en_us"],
}),
]

export default fixes

0 comments on commit 142fb9d

Please sign in to comment.