From 7cf48f513274c3aa7993e7f5b8bde4987b63ae7a Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 27 Jan 2023 13:54:49 +0000 Subject: [PATCH] Formspecs: Fix spelling of features --- Gemfile | 1 + _en/players/formspecs.md | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 1f50fb4..c26845e 100644 --- a/Gemfile +++ b/Gemfile @@ -6,4 +6,5 @@ gem "webrick" group :jekyll_plugins do gem "jekyll-sitemap" gem "jekyll-redirect-from" + gem "jekyll-sass-converter", "~> 2.0" end diff --git a/_en/players/formspecs.md b/_en/players/formspecs.md index 0f181b1..c581a23 100644 --- a/_en/players/formspecs.md +++ b/_en/players/formspecs.md @@ -100,7 +100,7 @@ settings of the client. Here's a formspec which is `2,2` in size: Notice how we explicitly defined the formspec language version. Without this, the legacy system will instead be used instead - which will -prevent the use of consistent element positioning and other new feautures. +prevent the use of consistent element positioning and other new features. The position and anchor elements are used to place the formspec on the screen. The position sets where on the screen the formspec will be, and defaults to @@ -225,9 +225,9 @@ may need to work on multiple forms, or on all forms. The `fields` parameter to the function is a table of the values submitted by the user, indexed by strings. Named elements will appear in the field under their own -name, but only if they are relevent for the event that caused the submission. -For example, a button element will only appear in fields if that particular button -was pressed. +name, depending on the event. Some elements will only be submitted if they caused +the event, such as buttons, and some elements will always appear in submissions, +such as fields. {% include notice.html notice=page.submit_vuln %}