mirror of
https://gitlab.com/openlp/web-remote.git
synced 2024-12-22 03:22:48 +00:00
Merge branch 'remove-i18n-comments' into 'master'
Remove comments before pushing translation source See merge request openlp/web-remote!112
This commit is contained in:
commit
40c4d9e363
@ -70,7 +70,10 @@ async function pushSource(resource, verbose) {
|
||||
if (verbose) {
|
||||
console.log('Reading en.json...');
|
||||
}
|
||||
const content = fs.readFileSync(filename);
|
||||
let content = fs.readFileSync(filename);
|
||||
let json = JSON.parse(content);
|
||||
delete json._COMMENT;
|
||||
content = JSON.stringify(json);
|
||||
console.log('Uploading en.json...');
|
||||
await transifexApi.ResourceStringsAsyncUpload.upload({
|
||||
resource: resource,
|
||||
|
Loading…
Reference in New Issue
Block a user