From 343e3e2ef34ef6fb3df0273caaecf99a78b6eec7 Mon Sep 17 00:00:00 2001 From: Liam Cain Date: Fri, 18 Mar 2022 18:14:35 -0400 Subject: [PATCH] style: copy change. changed all instances of 'informations' to 'information' fix #582 --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- README.md | 4 ++-- docs/documentation.toml | 2 +- docs/src/internal-functions/internal-modules/date-module.md | 4 ++-- docs/src/internal-functions/internal-modules/file-module.md | 2 +- .../internal-functions/internal-modules/obsidian-module.md | 2 +- docs/src/internal-functions/internal-modules/system-module.md | 2 +- docs/src/internal-functions/internal-modules/web-module.md | 2 +- docs/src/internal-functions/overview.md | 2 +- src/settings/Settings.ts | 2 +- src/utils/Log.ts | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 0e01577e..6dc9fb06 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -13,7 +13,7 @@ In order to reproduce your issue, we might need to know a little bit more about which you're running `Templater` on. --> -**Plugin informations (please complete the following information):** +**Plugin information (please complete the following information):** - OS: [e.g. Windows 10] - Templater version: [e.g. 0.3.4] diff --git a/README.md b/README.md index 2e338a0b..c4232bcd 100644 --- a/README.md +++ b/README.md @@ -55,11 +55,11 @@ You can create an [issue](https://github.com/SilentVoid13/Templater/issues) to r You can make a [pull request](https://github.com/SilentVoid13/Templater/pulls) to contribute to this plugin development. -Go [here](https://silentvoid13.github.io/Templater/docs/internal-variables-functions/contribute) to get more informations on how to develop a new internal variable / function. +Go [here](https://silentvoid13.github.io/Templater/docs/internal-variables-functions/contribute) to get more information on how to develop a new internal variable / function. ## License -[Templater](https://github.com/SilentVoid13/Templater) is licensed under the GNU AGPLv3 license. Refer to [LICENSE](https://github.com/SilentVoid13/Templater/blob/master/LICENSE.TXT) for more informations. +[Templater](https://github.com/SilentVoid13/Templater) is licensed under the GNU AGPLv3 license. Refer to [LICENSE](https://github.com/SilentVoid13/Templater/blob/master/LICENSE.TXT) for more information. ## Support diff --git a/docs/documentation.toml b/docs/documentation.toml index e1992e6c..b5594c58 100644 --- a/docs/documentation.toml +++ b/docs/documentation.toml @@ -2,7 +2,7 @@ name = "config" description = """This module exposes Templater's running configuration. -This is mostly useful when writing scripts requiring some context informations. +This is mostly useful when writing scripts requiring some context information. """ [tp.config.functions.template_file] diff --git a/docs/src/internal-functions/internal-modules/date-module.md b/docs/src/internal-functions/internal-modules/date-module.md index 998a9212..f438a260 100644 --- a/docs/src/internal-functions/internal-modules/date-module.md +++ b/docs/src/internal-functions/internal-modules/date-module.md @@ -6,7 +6,7 @@ ## Documentation -Function documentation is using a specific syntax. More informations [here](../../syntax.md#function-documentation-syntax) +Function documentation is using a specific syntax. More information [here](../../syntax.md#function-documentation-syntax) {%- for key, fn in tp.date.functions %} ### `{{ fn.definition }}` @@ -34,7 +34,7 @@ Function documentation is using a specific syntax. More informations [here](../. Templater gives you access to the `moment` object, with all of its functionalities. -More informations on moment.js [here](https://momentjs.com/docs/#/displaying/) +More information on moment.js [here](https://momentjs.com/docs/#/displaying/) ## Examples diff --git a/docs/src/internal-functions/internal-modules/file-module.md b/docs/src/internal-functions/internal-modules/file-module.md index 39c04ac2..a46b5f0d 100644 --- a/docs/src/internal-functions/internal-modules/file-module.md +++ b/docs/src/internal-functions/internal-modules/file-module.md @@ -6,7 +6,7 @@ ## Documentation -Function documentation is using a specific syntax. More informations [here](../../syntax.md#function-documentation-syntax) +Function documentation is using a specific syntax. More information [here](../../syntax.md#function-documentation-syntax) {%- for key, fn in tp.file.functions %} diff --git a/docs/src/internal-functions/internal-modules/obsidian-module.md b/docs/src/internal-functions/internal-modules/obsidian-module.md index 2570dcc4..42d10ac7 100644 --- a/docs/src/internal-functions/internal-modules/obsidian-module.md +++ b/docs/src/internal-functions/internal-modules/obsidian-module.md @@ -4,5 +4,5 @@ This is mostly useful when writing scripts. -Refer to the obsidian API [declaration file](https://github.com/obsidianmd/obsidian-api/blob/master/obsidian.d.ts) for more informations. +Refer to the obsidian API [declaration file](https://github.com/obsidianmd/obsidian-api/blob/master/obsidian.d.ts) for more information. diff --git a/docs/src/internal-functions/internal-modules/system-module.md b/docs/src/internal-functions/internal-modules/system-module.md index 7b9bf674..00969f56 100644 --- a/docs/src/internal-functions/internal-modules/system-module.md +++ b/docs/src/internal-functions/internal-modules/system-module.md @@ -6,7 +6,7 @@ ## Documentation -Function documentation is using a specific syntax. More informations [here](../../syntax.md#function-documentation-syntax) +Function documentation is using a specific syntax. More information [here](../../syntax.md#function-documentation-syntax) {%- for key, fn in tp.system.functions %} ### `{{ fn.definition }}` diff --git a/docs/src/internal-functions/internal-modules/web-module.md b/docs/src/internal-functions/internal-modules/web-module.md index 533158ad..32436150 100644 --- a/docs/src/internal-functions/internal-modules/web-module.md +++ b/docs/src/internal-functions/internal-modules/web-module.md @@ -6,7 +6,7 @@ ## Documentation -Function documentation is using a specific syntax. More informations [here](../../syntax.md#function-documentation-syntax) +Function documentation is using a specific syntax. More information [here](../../syntax.md#function-documentation-syntax) {%- for key, fn in tp.web.functions %} ### `{{ fn.definition }}` diff --git a/docs/src/internal-functions/overview.md b/docs/src/internal-functions/overview.md index 78eca7bd..31b76a14 100644 --- a/docs/src/internal-functions/overview.md +++ b/docs/src/internal-functions/overview.md @@ -14,4 +14,4 @@ If you understood the [object hierarchy](../syntax.md#objects-hierarchy) correct ## Contribution -I invite everyone to contribute to this plugin development by adding new internal functions. More informations [here](./contribute.md). \ No newline at end of file +I invite everyone to contribute to this plugin development by adding new internal functions. More information [here](./contribute.md). \ No newline at end of file diff --git a/src/settings/Settings.ts b/src/settings/Settings.ts index c7ed360b..b4e877f6 100644 --- a/src/settings/Settings.ts +++ b/src/settings/Settings.ts @@ -544,7 +544,7 @@ export class TemplaterSettingTab extends PluginSettingTab { href: "https://silentvoid13.github.io/Templater/", text: "documentation", }), - " for more informations." + " for more information." ); new Setting(this.containerEl) diff --git a/src/utils/Log.ts b/src/utils/Log.ts index d358037b..11e91dd9 100644 --- a/src/utils/Log.ts +++ b/src/utils/Log.ts @@ -13,7 +13,7 @@ export function log_error(e: Error | TemplaterError): void { if (e instanceof TemplaterError && e.console_msg) { // TODO: Find a better way for this // @ts-ignore - notice.noticeEl.innerHTML = `Templater Error:
${e.message}
Check console for more informations`; + notice.noticeEl.innerHTML = `Templater Error:
${e.message}
Check console for more information`; console.error(`Templater Error:`, e.message, "\n", e.console_msg); } else { // @ts-ignore