Skip to content

Commit a2cb3fe

Browse files
committed
feat: change default locale value to en-US from dt-zh-hans
1 parent d916949 commit a2cb3fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const replaceLocalizeLoader = require.resolve("./loaders/replaceLocalize");
1111
export declare namespace MonacoEditorI18nPlugin {
1212
interface IMonacoEditorI18nPluginOpts {
1313
/**
14-
* default is dt-zh-hans
14+
* default is en-US
1515
*/
1616
locale: "en-US" | "zh-hans" | "dt-zh-hans";
1717

@@ -56,7 +56,7 @@ function addCompilerRules(compiler: webpack.Compiler, rules: webpack.RuleSetRule
5656

5757
class MonacoEditorI18nPlugin {
5858
options: MonacoEditorI18nPlugin.IMonacoEditorI18nPluginOpts = {
59-
locale: "dt-zh-hans",
59+
locale: "en-US",
6060
};
6161

6262
constructor(options: MonacoEditorI18nPlugin.IMonacoEditorI18nPluginOpts) {

0 commit comments

Comments
 (0)