Skip to content

Commit f7c99ae

Browse files
committed
Bundle l10n with vsix and add to gitignore
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
1 parent 5e957c8 commit f7c99ae

7 files changed

Lines changed: 4 additions & 82 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ v8-compile-cache-0/
2525
dist/
2626
prebuilds/
2727
samples/**/pnpm-lock.yaml
28+
package.nls.*.json
29+
bundle.l10n.*.json

packages/zowe-explorer/.vscodeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*/**
44

55
# Allowlist what we need
6+
!l10n/bundle*.json
67
!out/src/**.js
78
!out/src/nls.metadata*.json
89
!resources/**/*.png

packages/zowe-explorer/l10n/bundle.l10n.es.json

Lines changed: 0 additions & 24 deletions
This file was deleted.

packages/zowe-explorer/l10n/bundle.l10n.fr.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/zowe-explorer/package.nls.es.json

Lines changed: 0 additions & 49 deletions
This file was deleted.

packages/zowe-explorer/package.nls.fr.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/zowe-explorer/scripts/generatePoeditorJson.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const fs = require("fs");
22
const poeditorJson = {};
33
const packageNls = require(__dirname + "/../package.nls.json");
44
for (const [k, v] of Object.entries(packageNls)) {
5-
poeditorJson[k] = {[v]: ""};
5+
poeditorJson[k] = { [v]: "" };
66
}
77
const l10nBundle = require(__dirname + "/../l10n/bundle.l10n.json");
88
for (const [k, v] of Object.entries(l10nBundle)) {

0 commit comments

Comments
 (0)