Skip to content

Commit 3ddca59

Browse files
committed
Add support for vowelDummy for LaTeX and Markdown
See #366.
1 parent 90e8e88 commit 3ddca59

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

package.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -1884,13 +1884,15 @@
18841884
"default",
18851885
"ignore",
18861886
"dummy",
1887-
"pluralDummy"
1887+
"pluralDummy",
1888+
"vowelDummy"
18881889
],
18891890
"markdownEnumDescriptions": [
18901891
"%ltex.i18n.configuration.ltex.latex.commands.default.markdownEnumDescription%",
18911892
"%ltex.i18n.configuration.ltex.latex.commands.ignore.markdownEnumDescription%",
18921893
"%ltex.i18n.configuration.ltex.latex.commands.dummy.markdownEnumDescription%",
1893-
"%ltex.i18n.configuration.ltex.latex.commands.pluralDummy.markdownEnumDescription%"
1894+
"%ltex.i18n.configuration.ltex.latex.commands.pluralDummy.markdownEnumDescription%",
1895+
"%ltex.i18n.configuration.ltex.latex.commands.vowelDummy.markdownEnumDescription%"
18941896
]
18951897
}
18961898
},
@@ -1942,13 +1944,15 @@
19421944
"default",
19431945
"ignore",
19441946
"dummy",
1945-
"pluralDummy"
1947+
"pluralDummy",
1948+
"vowelDummy"
19461949
],
19471950
"markdownEnumDescriptions": [
19481951
"%ltex.i18n.configuration.ltex.markdown.nodes.default.markdownEnumDescription%",
19491952
"%ltex.i18n.configuration.ltex.markdown.nodes.ignore.markdownEnumDescription%",
19501953
"%ltex.i18n.configuration.ltex.markdown.nodes.dummy.markdownEnumDescription%",
1951-
"%ltex.i18n.configuration.ltex.markdown.nodes.pluralDummy.markdownEnumDescription%"
1954+
"%ltex.i18n.configuration.ltex.markdown.nodes.pluralDummy.markdownEnumDescription%",
1955+
"%ltex.i18n.configuration.ltex.markdown.nodes.vowelDummy.markdownEnumDescription%"
19521956
]
19531957
}
19541958
},

package.nls.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@
272272
"ltex.i18n.configuration.ltex.latex.commands.default.markdownEnumDescription": "The command is treated like unknown commands are treated by default: The command name itself is ignored, but the arguments are not ignored.",
273273
"ltex.i18n.configuration.ltex.latex.commands.ignore.markdownEnumDescription": "The whole command together with its arguments is ignored.",
274274
"ltex.i18n.configuration.ltex.latex.commands.dummy.markdownEnumDescription": "The whole command together with its arguments is replaced with a dummy word (i.e., `Dummy0`, `Dummy1`, etc.). LTeX internally uses this mechanism for equations, citations, references, and similar constructs that are part of the sentence structure and for which LanguageTool would throw an error if simply omitted from the checked text.",
275-
"ltex.i18n.configuration.ltex.latex.commands.pluralDummy.markdownEnumDescription": "The whole command together with its arguments is replaced with a plural dummy word (i.e., `Dummies`). LTeX internally uses this mechanism for equations, citations, references, and similar constructs that are part of the sentence structure and for which LanguageTool would throw an error if simply omitted from the checked text.",
275+
"ltex.i18n.configuration.ltex.latex.commands.pluralDummy.markdownEnumDescription": "The whole command together with its arguments is replaced with a plural dummy word (i.e., `Dummies`). See description for `\"dummy\"`.",
276+
"ltex.i18n.configuration.ltex.latex.commands.vowelDummy.markdownEnumDescription": "The whole command together with its arguments is replaced with a vowel dummy word (i.e., `Ina`). See description for `\"dummy\"`.",
276277
"ltex.i18n.configuration.ltex.latex.environments.markdownDescription": "List of names of LaTeX environments to be handled by the LaTeX parser. [More info...](https://valentjn.github.io/vscode-ltex/docs/settings.html#ltexlatexenvironments)",
277278
"ltex.i18n.configuration.ltex.latex.environments.fullMarkdownDescription": "List of names of LaTeX environments to be handled by the LaTeX parser.\n\nThis setting is an object with the environment names as keys and corresponding actions as values.\n\nSome environments are already handled by default, even if you set this setting to an empty object.",
278279
"ltex.i18n.configuration.ltex.latex.environments.default.markdownEnumDescription": "The environment is treated like unknown environments are treated by default: The arguments of the environment are ignored, but the contents of the environment are not ignored.",
@@ -282,7 +283,8 @@
282283
"ltex.i18n.configuration.ltex.markdown.nodes.default.markdownEnumDescription": "The node is not treated specially.",
283284
"ltex.i18n.configuration.ltex.markdown.nodes.ignore.markdownEnumDescription": "The whole node together with its `Text` leaves is ignored.",
284285
"ltex.i18n.configuration.ltex.markdown.nodes.dummy.markdownEnumDescription": "The whole node together with its `Text` leaves is replaced with a dummy word (i.e., `Dummy0`, `Dummy1`, etc.). LTeX internally uses this mechanism for example for inline code (inside backticks) that is part of the sentence structure and for which LanguageTool would throw an error if simply omitted from the checked text.",
285-
"ltex.i18n.configuration.ltex.markdown.nodes.pluralDummy.markdownEnumDescription": "The whole node together with its `Text` leaves is replaced with a plural dummy word (i.e., `Dummies`). LTeX internally uses this mechanism for example for inline code (inside backticks) that is part of the sentence structure and for which LanguageTool would throw an error if simply omitted from the checked text.",
286+
"ltex.i18n.configuration.ltex.markdown.nodes.pluralDummy.markdownEnumDescription": "The whole node together with its `Text` leaves is replaced with a plural dummy word (i.e., `Dummies`). See description for `\"dummy\"`.",
287+
"ltex.i18n.configuration.ltex.markdown.nodes.vowelDummy.markdownEnumDescription": "The whole node together with its `Text` leaves is replaced with a vowel dummy word (i.e., `Ina`). See description for `\"dummy\"`.",
286288
"ltex.i18n.configuration.ltex.configurationTarget.markdownDescription": "Controls which `settings.json` or external setting file ([see documentation](https://valentjn.github.io/vscode-ltex/docs/advanced-usage.html#external-setting-files)) to update when using one of the quick fixes.",
287289
"ltex.i18n.configuration.ltex.configurationTarget.fullMarkdownDescription": "<!-- ltex-client-specific-begin -->\n\nControls which `settings.json` or external setting file ([see documentation](https://valentjn.github.io/vscode-ltex/docs/advanced-usage.html#external-setting-files)) to update when using one of the quick fixes.\n\n<!-- ltex-client-specific-end -->",
288290
"ltex.i18n.configuration.ltex.configurationTarget.dictionary.user.markdownEnumDescription": "When adding a word to the dictionary, always update the user configuration.",

0 commit comments

Comments
 (0)