diff --git a/script/i18n/fix-translation-errors.js b/script/i18n/fix-translation-errors.js index 07c61a436a..2d48e354dd 100755 --- a/script/i18n/fix-translation-errors.js +++ b/script/i18n/fix-translation-errors.js @@ -16,7 +16,7 @@ import fm from '../../lib/frontmatter.js' import matter from 'gray-matter' import chalk from 'chalk' import yaml from 'js-yaml' -import ghesReleaseNotesSchema from '../../tests/helpers/schemas/ghes-release-notes-schema.js' +import releaseNotesSchema from '../../tests/helpers/schemas/release-notes-schema.js' import revalidator from 'revalidator' main() @@ -66,7 +66,7 @@ async function main() { // find the corresponding english file by removing the first 2 path segments: /translation/ const engAbsPath = relPath.split(path.sep).slice(2).join(path.sep) - const localisedResult = await loadAndValidateContent(relPath, ghesReleaseNotesSchema) + const localisedResult = await loadAndValidateContent(relPath, releaseNotesSchema) if (!localisedResult) continue const { data, errors, content } = localisedResult