Skip to content

Commit

Permalink
fix: forgot language string
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Aug 25, 2022
1 parent ad2d1f0 commit f575cab
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 2 deletions.
2 changes: 2 additions & 0 deletions plugin/i18n/locales/en-us.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ export default {
censorToolTipRemove: 'Delete this text replacer',
censorPlaceHolder: 'Regex or text to replace',
censorValuePlaceHolder: 'Replacement value',
inlineTagsHeader: 'Inline tags',
inlineTagsDesc: 'Add your inline tags in your frontmatter tags field and converting nested tags with replacing "/" with "_"',

// ---
// # Embed # //
Expand Down
3 changes: 3 additions & 0 deletions plugin/i18n/locales/fr-fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ export default {
censorToolTipRemove: 'Supprimer ce remplacement',
censorPlaceHolder: 'Regex ou text à remplacer',
censorValuePlaceHolder: 'Remplacement',
inlineTagsHeader: 'Inlines tags',
inlineTagsDesc: 'Ajoute vos tags inline dans votre bloc de métadonnée et convertit les tags imbriqués en remplaçant "/" par "_"',

// ---
// # Embed # //

Expand Down
10 changes: 10 additions & 0 deletions plugin/i18n/locales/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@ export default {
headerDataviewDesc: "Преобразовать dataview в markdown.",
useFrontmatterTitle: "Использовать заголовок из frontmatter",
useFrontmatterTitleDesc: "Использовать свойство frontmatter \"title\" вместо названия файла.",
censorTextHeader: "Text replacer",
censorTextDesc: "Replace text (or regex) in the file with the given value.",
censorTextInsensitive: "Case insensitive",
censorTextEmpty: 'Replacement can be empty to remove the whole string.',
censorToolTipAdd: 'Add a new text replacer',
censorToolTipRemove: 'Delete this text replacer',
censorPlaceHolder: 'Regex or text to replace',
censorValuePlaceHolder: 'Replacement value',
inlineTagsHeader: 'Inline tags',
inlineTagsDesc: 'Add your inline tags in your frontmatter tags field and converting nested tags with replacing "/" with "_"',

// ---
// # Embed # //
Expand Down
12 changes: 12 additions & 0 deletions plugin/i18n/locales/zh-cn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,18 @@ export default {
hardBreakDesc: "在每一行之后添加一个标记性的硬断行(双倍空白)。",
headerDataview: "Dataview",
headerDataviewDesc: "Convert dataview to markdown.",
useFrontmatterTitle: "Use frontmatter title",
useFrontmatterTitleDesc: "Use frontmatter \"title\" field instead of the file name.",
censorTextHeader: "Text replacer",
censorTextDesc: "Replace text (or regex) in the file with the given value.",
censorTextInsensitive: "Case insensitive",
censorTextEmpty: 'Replacement can be empty to remove the whole string.',
censorToolTipAdd: 'Add a new text replacer',
censorToolTipRemove: 'Delete this text replacer',
censorPlaceHolder: 'Regex or text to replace',
censorValuePlaceHolder: 'Replacement value',
inlineTagsHeader: 'Inline tags',
inlineTagsDesc: 'Add your inline tags in your frontmatter tags field and converting nested tags with replacing "/" with "_"',

// ---
// # Embed # //
Expand Down
4 changes: 2 additions & 2 deletions plugin/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ export class MkdocsSettingsTab extends PluginSettingTab {
});
});
new Setting(this.containerEl)
.setName('Convert inline tags')
.setDesc('Convert inline tags to adding them in the frontmatter')
.setName(t('inlineTagsHeader') as string)
.setDesc(t('inlineTagsDesc') as string)
.addToggle((toggle) => {
toggle
.setValue(this.plugin.settings.inlineTags)
Expand Down

0 comments on commit f575cab

Please sign in to comment.