浏览代码

Fix translation error

goanpeca 4 年之前
父节点
当前提交
bda57562cd
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 1 1
      packages/translation/src/tokens.ts
  2. 3 0
      tsconfigdoc.json

+ 1 - 1
packages/translation/src/tokens.ts

@@ -30,7 +30,7 @@ export class TranslatorConnector
   }
 
   async fetch(opts: { language: string }): Promise<Language> {
-    return requestTranslationsAPI(opts.language, this._translationsUrl);
+    return requestTranslationsAPI(this._translationsUrl, opts.language);
   }
 
   private _translationsUrl: string;

+ 3 - 0
tsconfigdoc.json

@@ -230,6 +230,9 @@
     {
       "path": "./packages/statusbar-extension"
     },
+    {
+      "path": "./packages/tabmanager-extension"
+    },
     {
       "path": "./packages/terminal"
     },