From 3da0984ae02553a9ace9feacd27e7d3b12d7af52 Mon Sep 17 00:00:00 2001 From: or-else Date: Thu, 22 Jul 2021 15:33:33 -0700 Subject: [PATCH] clarifying a couple of comments --- scripts/i18n.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/i18n.js b/scripts/i18n.js index dff2b714..5354e028 100644 --- a/scripts/i18n.js +++ b/scripts/i18n.js @@ -1,7 +1,7 @@ -// 1. Takes file with messages extracted via the React Intl Babel plugin and converts it into a file containing -// `id: message` pairs in "en" locale. -// +// 1. Updates translations files with new messages, mark no longer needed translations as obsolete. // 2. Takes all translations and groups them into a single file. +// 3. When called with parameters 'missing' or 'obsolete' writes missing and obsolete translations to console. + const fs = require('fs'); const path = require('path'); const globSync = require('glob').sync;