Skip to content

Commit

Permalink
fix: add some docs directly in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Aug 23, 2022
1 parent eb697c7 commit 0ca53f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion plugin/i18n/locales/en-us.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ export default {

// ---
// # Text conversion # //
textConversion: "Text conversion",
textConversion: "Content's conversion",
textConversionDesc:'Theses option won\'t change the content of the file in your Obsidian Vault, but will change the content of the file in Github.',
textHeader: "Text",
linkHeader: "Links",
folderNote: "Folder note",
Expand Down
3 changes: 2 additions & 1 deletion plugin/i18n/locales/fr-fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export default {

// ---
// # Text conversions # //
textConversion: "Conversion du texte",
textConversion: "Conversion du contenu",
textConversionDesc:'Ces options ne changent pas le contenu du fichier dans votre coffre Obsidian, mais changeront le contenu du fichier publié sur GitHub.',
textHeader: "Texte",
linkHeader: "Liens",
folderNote: "Folder Note",
Expand Down
1 change: 1 addition & 0 deletions plugin/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ export class MkdocsSettingsTab extends PluginSettingTab {
* ------------------------------ */

containerEl.createEl('h3', {text: t('textConversion') as string})
containerEl.createEl('span', {text: t('textConversionDesc') as string})
containerEl.createEl('h5', {text: t('textHeader') as string})
new Setting(this.containerEl)
.setName(t('hardBreakTitle') as string)
Expand Down

0 comments on commit 0ca53f2

Please sign in to comment.