Skip to content

Commit 8805082

Browse files
committed
feat: add instructions for use
1 parent 9aaa128 commit 8805082

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/scripts/crowdin/reports/wordsNeedingReview.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ import crowdinClient from "../api-client/crowdinClient"
88

99
type SummaryItem = [code: string, bucket: string, needsReview: number]
1010

11+
/**
12+
* Generates a report of words needing review for each content bucket in all languages.
13+
* Report in CSV format with columns: Language, Bucket Name, Words needing review.
14+
* To run:
15+
* - Ensure CROWDIN_API_KEY is set in the .env file (.env.local will not work)
16+
* - Can be run with `yarn crowdin-needs-review`
17+
* - Results are saved to src/data/crowdin/report.csv
18+
* - Report is git ignored, and should not be committed
19+
*/
1120
async function main() {
1221
const projectId = Number(process.env.CROWDIN_PROJECT_ID) || 363359
1322

0 commit comments

Comments
 (0)