Do not export *.json
This commit is contained in:
parent
aa50d33b81
commit
6692504887
1 changed files with 2 additions and 3 deletions
|
@ -2,7 +2,6 @@ import * as fs from "fs";
|
|||
import {readFileSync, writeFileSync} from "fs";
|
||||
import {Utils} from "../Utils";
|
||||
import ScriptUtils from "./ScriptUtils";
|
||||
import {LayerConfigJson} from "../Customizations/JSON/LayerConfigJson";
|
||||
|
||||
const knownLanguages = ["en", "nl", "de", "fr", "es", "gl", "ca"];
|
||||
|
||||
|
@ -197,8 +196,8 @@ function generateTranslationsObjectFrom(objects: { path: string, parsed: { id: s
|
|||
|
||||
const langs = tr.knownLanguages();
|
||||
for (const lang of langs) {
|
||||
if (lang === "#") {
|
||||
// Lets not export our comments
|
||||
if (lang === "#" || lang === "*") {
|
||||
// Lets not export our comments or non-translated stuff
|
||||
continue;
|
||||
}
|
||||
let json = tr.toJson(lang)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue