File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -80,11 +80,11 @@ const USER_OVERRIDE: BucketsList = {
8080 * from Crowdin to automate the process of importing the needed buckets. See
8181 * "Instructions for use" above.
8282 *
83- * You can alternative use the USER_OVERRIDE object above to manually select buckets.
83+ * You can alternatively use the USER_OVERRIDE object above to manually select buckets.
8484 *
8585 * The script iterates through each language chosen, using the dictionary object
86- * below to convert the repo lang code to the code used by Crowdin (only if needed,
87- * defaults to same). `fs` is used to find matching language folder.
86+ * below to convert the repo lang code to the code used by Crowdin (only if
87+ * needed, defaults to same). `fs` is used to find matching language folder.
8888 *
8989 * The "buckets" chosen (type number[]) are then iterated over, opening the
9090 * corresponding folder that begins with the same number string (formatted 00).
@@ -289,7 +289,11 @@ const scrapeDirectory = (
289289 copyFileSync ( source , jsonDestinationPath )
290290 // Update .json tracker
291291 trackers . langs [ repoLangCode ] . jsonCopyCount ++
292- } else if ( item . endsWith ( ".md" ) || item . endsWith ( ".svg" ) ) {
292+ } else if (
293+ item . endsWith ( ".md" ) ||
294+ item . endsWith ( ".svg" ) ||
295+ item . endsWith ( ".xlsx" )
296+ ) {
293297 const mdDestDirPath : string = join (
294298 repoRoot ,
295299 "src" ,
You can’t perform that action at this time.
0 commit comments