vscode-nls
Advanced tools
Comparing version 4.1.0 to 4.1.1
@@ -6,2 +6,6 @@ export declare enum MessageFormat { | ||
} | ||
export declare enum BundleFormat { | ||
standalone = "standalone", | ||
languagePack = "languagePack", | ||
} | ||
export interface Options { | ||
@@ -11,2 +15,3 @@ locale?: string; | ||
messageFormat?: MessageFormat; | ||
bundleFormat?: BundleFormat; | ||
} | ||
@@ -13,0 +18,0 @@ export interface LocalizeInfo { |
@@ -31,2 +31,8 @@ /* -------------------------------------------------------------------------------------------- | ||
})(MessageFormat = exports.MessageFormat || (exports.MessageFormat = {})); | ||
var BundleFormat; | ||
(function (BundleFormat) { | ||
// the nls.bundle format | ||
BundleFormat["standalone"] = "standalone"; | ||
BundleFormat["languagePack"] = "languagePack"; | ||
})(BundleFormat = exports.BundleFormat || (exports.BundleFormat = {})); | ||
var LocalizeInfo; | ||
@@ -481,2 +487,5 @@ (function (LocalizeInfo) { | ||
} | ||
if (opts.bundleFormat === BundleFormat.standalone && options.languagePackSupport === true) { | ||
options.languagePackSupport = false; | ||
} | ||
} | ||
@@ -483,0 +492,0 @@ isPseudo = options.locale === 'pseudo'; |
{ | ||
"name": "vscode-nls", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "NPM module to externalize and localize VSCode extensions", | ||
@@ -5,0 +5,0 @@ "author": "Microsoft Corporation", |
@@ -41,2 +41,6 @@ # vscode-nls | ||
### 4.1.1 | ||
* Fixes [Bundled nls doesn't work](https://github.com/microsoft/vscode-nls/issues/23) | ||
### 4.1.0 | ||
@@ -43,0 +47,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25149
522
69