Skip to content

Commit

Permalink
Update README and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MMK21Hub committed Jun 1, 2022
1 parent 9de1a9d commit 58e7b26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Unfortunately, Capitalisation Fixes v1 is not supported in versions newer than 1

## Fixed strings

30 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.
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.

- [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 Down
2 changes: 1 addition & 1 deletion src/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ export async function generateStats(
async function processFix(fix: Fix) {
const versionMatch = await checkVersion(fix)
const languageMatch = await checkLanguage(fix)
// if (!versionMatch || !languageMatch) return
if (!versionMatch || !languageMatch) return

if (fix.data.bug) bugReports.add(fix.data.bug)
translationKeys.add(fix.data.key)
Expand Down
5 changes: 1 addition & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ import { MinecraftVersionSpecifier, VersionInfo } from "./minecraftHelpers.js"
import fetch from "node-fetch"

async function printStats() {
const stats = await generateStats(fixes, {
language: ["en_us"],
version: targetVersions,
})
const stats = await generateStats(fixes)

const { bugReports, translationKeys } = stats.count

Expand Down

0 comments on commit 58e7b26

Please sign in to comment.