fix: obsidian language not set in English, Chinese and Japanese

This commit is contained in:
Jiaxin Peng
2024-09-19 13:47:57 +01:00
parent 00411e9599
commit 8bd8346423
3 changed files with 38 additions and 29 deletions

View File

@@ -20,7 +20,7 @@ export default class ObsidianSyncNotionPlugin extends Plugin {
addIcons();
// This creates an icon in the left ribbon.
const ribbonIconEl = this.addRibbonIcon(
this.addRibbonIcon(
"notion-logo",
i18nConfig.ribbonIcon,
async (evt: MouseEvent) => {