Skip to content

Commit

Permalink
Fix i18n guide link, fix need(s) updating plural (withastro#1322)
Browse files Browse the repository at this point in the history
* Fix i18n guide link, fix `need(s) updating` plural

* Actually fix plural form (this was a test!)
  • Loading branch information
hippotastic authored Aug 16, 2022
1 parent d06fdce commit f7f4566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/github-translation-status.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class GitHubTranslationStatus {
should not be translated at this point. We will add more pages to these lists soon.
Before starting, please read our
[i18n guide](https://github.com/withastro/docs/tree/main/src/i18n/README.md) to learn about
[i18n guide](https://github.com/withastro/docs/blob/main/TRANSLATING.md) to learn about
our translation process and how you can get involved.
`;
let humanFriendlySummary = dedent`
Expand Down Expand Up @@ -375,7 +375,7 @@ class GitHubTranslationStatus {
lines.push(
`<summary><strong>` +
`${this.languageLabels[lang]} (${lang}): ` +
`${missing.length} missing, ${outdated.length} needs updating` +
`${missing.length} missing, ${outdated.length} need${outdated.length === 1 ? 's' : ''} updating` +
`</strong></summary>`
);
lines.push(``);
Expand Down

0 comments on commit f7f4566

Please sign in to comment.