Skip to content

Commit 53de96b

Browse files
authored
Merge pull request #1387 from pjkaufman/master
Update Traditional Chinese to Use Simplified Chinese Translation
2 parents 5db8a61 + db755ff commit 53de96b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/lang/helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import sq from './locale/sq';
2424
import tr from './locale/tr';
2525
import uk from './locale/uk';
2626
import zhCN from './locale/zh-cn';
27-
import zhTW from './locale/zh-tw';
27+
// import zhTW from './locale/zh-tw'; for now we will use Simplified Chinese instead of Traditional for both
2828

2929
type LanguageStrings = typeof en;
3030

@@ -53,7 +53,7 @@ export const localeMap: { [k: string]: LanguageLocale } = {
5353
sq,
5454
tr,
5555
uk,
56-
'zh-TW': zhTW,
56+
'zh-TW': zhCN,
5757
'zh': zhCN,
5858
};
5959

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ export default class LinterPlugin extends Plugin {
298298
// to check if the same file we already intend to add is in the map before we set
299299
// the value in the map
300300
originalText: '',
301-
fileView: info,
301+
markdownInfo: info,
302302
};
303303
this.activeFileChangeDebouncer.set(info.file.path, activeFileDebounceInfo);
304304
// do not use editor because it already has the change, so if the user removes all changes

0 commit comments

Comments
 (0)