You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2025/06/10 16:20:14 UTC

(myfaces-tobago) branch main updated: doc: spellchecking (#6536)

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/main by this push:
     new d0362fe79e doc: spellchecking (#6536)
d0362fe79e is described below

commit d0362fe79ea9f6daa8f3fc49e1e71a07fb4f8210
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Tue Jun 10 18:20:09 2025 +0200

    doc: spellchecking (#6536)
---
 .../tobago/context/TobagoResourceBundle.properties   |  4 ++--
 .../webapp/content/000-intro/05-search/Search.xhtml  |  2 +-
 .../040-command/00-button-link/Button_and_Link.xhtml | 10 +++++-----
 .../content/110-wysiwyg/01-ckeditor/CKEditor.xhtml   |  2 +-
 .../05-collapsible-box/Collapsible_Box.xhtml         | 10 +++++-----
 .../20-collapsible-panel/Collapsible_Panel.xhtml     | 20 ++++++++++----------
 .../content/300-requests/150-behavior/Behavior.xhtml |  4 ++--
 7 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/tobago-core/src/main/resources/org/apache/myfaces/tobago/context/TobagoResourceBundle.properties b/tobago-core/src/main/resources/org/apache/myfaces/tobago/context/TobagoResourceBundle.properties
index 76da56898f..5687e4d23c 100644
--- a/tobago-core/src/main/resources/org/apache/myfaces/tobago/context/TobagoResourceBundle.properties
+++ b/tobago-core/src/main/resources/org/apache/myfaces/tobago/context/TobagoResourceBundle.properties
@@ -28,9 +28,9 @@ sheet.selectAll=Select all
 sheet.selectRow=Select row
 sheet.next=Next Page
 sheet.empty=No rows available
-sheet.setPage=Click here, to change the displayed page
+sheet.setPage=Click here to change the displayed page
 sheet.pageXtoYofZ=Page {0} of {1}
-sheet.setRow=Click here, to change the first displayed row
+sheet.setRow=Click here to change the first displayed row
 sheet.rowXtoYofZ=Rows {0} to {1} of {2}
 sheet.pageXofZ=Page {0} of {1}
 sheet.rowXofZ=Row {0} of {2}
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/05-search/Search.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/05-search/Search.xhtml
index 497409056c..d406b9b485 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/05-search/Search.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/05-search/Search.xhtml
@@ -33,7 +33,7 @@
 
     <tc:panel rendered="#{navigationState.searchResult.size() == 0}">
       <p>
-        <tc:badge value="Info" markup="info"/> Not search results found!
+        <tc:badge value="Info" markup="info"/> No search results found!
       </p>
       <p>
         The search currently scans the menu items only!
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/00-button-link/Button_and_Link.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/00-button-link/Button_and_Link.xhtml
index 0af91f5c9a..b3f363e179 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/00-button-link/Button_and_Link.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/00-button-link/Button_and_Link.xhtml
@@ -33,10 +33,10 @@
              link="#{apiController.tobagoTld}/tc/button.html"/></p>
 
   <tc:section label="Basics">
-    <p>The next two sections show how a link and a button is set.</p>
-    <p>'apache.org' leads to the appropriated website.<br/>
-      'Disable' show a disabled link/button.<br/>
-      'Action' use the <code>action</code> attribute to link the component section.<br/>
+    <p>The next two sections show how a link and a button are set.</p>
+    <p>'apache.org' leads to the appropriate website.<br/>
+      'Disable' shows a disabled link/button.<br/>
+      'Action' uses the <code>action</code> attribute to navigate to the component section.<br/>
       The image leads to www.apache.org.</p>
     <tc:section label="&lt;tc:link>">
       <demo-highlight language="markup">&lt;tc:link label="apache.org" link="https://www.apache.org/"/></demo-highlight>
@@ -149,7 +149,7 @@
   <tc:section id="markup" label="Markups">
     <tc:segmentLayout medium="7seg 5seg">
       <tc:box label="Buttons">
-        <p>Colors can be set with markups. Markup <code>none</code> unset the color.</p>
+        <p>Colors can be set with markups. Markup <code>none</code> unsets the color.</p>
         <demo-highlight language="markup">&lt;tc:button label="Primary" markup="primary"/>
 &lt;tc:button label="Secondary" markup="secondary"/>
 &lt;tc:button label="Success" markup="success"/>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/110-wysiwyg/01-ckeditor/CKEditor.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/110-wysiwyg/01-ckeditor/CKEditor.xhtml
index 6257fef4f5..3657856da2 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/110-wysiwyg/01-ckeditor/CKEditor.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/110-wysiwyg/01-ckeditor/CKEditor.xhtml
@@ -42,7 +42,7 @@
 
     <p>
       The setup needs entries in <code>tobago-config.xml</code> for CSP.
-      The simple way would be, to turn it of with
+      The simple way would be, to turn it off with
       <code class="language-markup">&lt;content-security-policy mode="on"&gt;</code>,
       but this is not recommended for security reasons.
       More information about these entries you find also on their website.
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/130-collapsible/05-collapsible-box/Collapsible_Box.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/130-collapsible/05-collapsible-box/Collapsible_Box.xhtml
index 8f5f130ce2..5202d86741 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/130-collapsible/05-collapsible-box/Collapsible_Box.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/130-collapsible/05-collapsible-box/Collapsible_Box.xhtml
@@ -45,7 +45,7 @@
 
   <tc:section label="Full Server Request">
     <tc:form id="server">
-      <p>In this example, the operaction tag is used to change the state of the boxes.</p>
+      <p>In this example, the operation tag is used to change the state of the boxes.</p>
       <demo-highlight language="markup">&lt;tc:box id="box1" label="Full Request Box 1" collapsedMode="absent">
   &lt;f:facet name="bar">
     &lt;tc:buttons>
@@ -83,10 +83,10 @@
 
   <tc:section label="Client Side">
     <tc:form id="client">
-      <p>This example show a content box which could be opened and closed without a server request.<br/>
+      <p>This example shows a content box which could be opened and closed without a server request.<br/>
         To render the hidden content of the box, <code>collapsedMode="hidden"</code> must be set.
         The content is hidden by CSS display property.</p>
-      <p>Also the content contain a required input field.
+      <p>Also the content contains a required input field.
         This field will be also validated if the content is hidden.<br/>
         To demonstrate that, leave the input field blank, hide the content and press the 'Submit'-button.</p>
       <p>Notice the <code>omit</code> attribute of the buttons is set to avoid server request.</p>
@@ -118,7 +118,7 @@
         The buttons have set <code>omit="false"</code> which is the default.
         Also the attribute <code>immediate="true"</code> is set to execute the transition without validation.</p>
       <p>The mode is set to <code>collapsedMode="absent"</code> (default), so the hidden content won't be rendered
-        and therefor not validated.</p>
+        and therefore not validated.</p>
       <p>You can press the 'Submit'-button after hiding the blank input field.
         The submit will be executed without validation.
         If the content is shown and the field is empty, a violation occurs after hitting 'Submit'.</p>
@@ -152,7 +152,7 @@
         class="language-markup">&lt;tc:box/></code> is collapsed or expanded.</p>
     <p><code>tobago.box.show</code> is fired before the box is expanded.</p>
     <p><code>tobago.box.shown</code> is fired after the box is expanded. (Does not wait for a possible Ajax reload.)</p>
-    <p><code>tobago.box.hide</code> is fired before the box is collaped.</p>
+    <p><code>tobago.box.hide</code> is fired before the box is collapsed.</p>
     <p><code>tobago.box.hidden</code> is fired after the box is collapsed. (Does not wait for a possible Ajax reload.)
     </p>
   </tc:section>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/130-collapsible/20-collapsible-panel/Collapsible_Panel.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/130-collapsible/20-collapsible-panel/Collapsible_Panel.xhtml
index 23094f5c90..1a4e1667f2 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/130-collapsible/20-collapsible-panel/Collapsible_Panel.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/130-collapsible/20-collapsible-panel/Collapsible_Panel.xhtml
@@ -23,14 +23,14 @@
                 xmlns:ui="jakarta.faces.facelets"
                 xmlns:f="jakarta.faces.core">
 
-  <p>This page show some examples for the collapsible concept of a
+  <p>This page shows some examples for the collapsible concept of a
     <tc:link label="Panel" outcome="/content/050-container/20-panel/Panel.xhtml"/>.
-    Every panel contain a required input field to see if a validation occur while submitting.
-    For better visibility every panel has a border.</p>
+    Every panel contains a required input field to see if a validation occurs while submitting.
+    For better visibility, every panel has a border.</p>
   <tc:section label="Simple Panel">
-    <p>A simple panel using an controller for the collapsible state.
-      For the 'hide'-Button is the attribute <code>immediate="true"</code> set to submitting without validation.
-      So the panel could be hide even if the input field is empty.</p>
+    <p>A simple panel using a controller for the collapsible state.
+      For the 'hide'-Button, the attribute <code>immediate="true"</code> is set to submitting without validation.
+      So the panel could be hidden even if the input field is empty.</p>
     <p>For the panel <code>collapsibleMode="absent"</code> is set.
       The 'Submit'-button can be executed without violation if the panel is in the hidden state.</p>
     <tc:form id="simple">
@@ -48,10 +48,10 @@
 
   <tc:section label="Full Server Request">
     <p>In this example the collapsible state is changed by <code class="language-markup">&lt;tc:operation/></code>
-      with full server request. So the server get the current state.</p>
+      with full server request. So the server gets the current state.</p>
     <p>The <code>collapsibleMode="absent"</code> is set.
       The 'Submit'-button can be executed without violation if the panel is hidden.</p>
-    <p>For the 'hide'-Button the attribute <code>immediate="true"</code> is set to submitting without validation.</p>
+    <p>For the 'hide'-Button, the attribute <code>immediate="true"</code> is set to submitting without validation.</p>
     <tc:form id="server">
       <tc:buttons>
         <tc:button id="showServer" label="show">
@@ -75,7 +75,7 @@
     <p>For the panel <code>collapsibleMode="hidden"</code> is set.
       After the 'hide' transition, the panel will be in the 'hidden' state - not the 'absent' state.
       The content of the hidden panel will also be validated.<br/>
-      So, if the input field is empty and the panel is hidden, a violation occur when pressing the 'Submit'-button.</p>
+      So, if the input field is empty and the panel is hidden, a violation occurs when pressing the 'Submit'-button.</p>
     <tc:form id="client">
       <tc:buttons>
         <tc:button id="showClient" label="show" omit="true">
@@ -125,7 +125,7 @@
     <p>A JavaScript custom event is fired if a <code class="language-markup">&lt;tc:panel/></code> is collapsed or expanded.</p>
     <p><code>tobago.panel.show</code> is fired before the panel is expanded.</p>
     <p><code>tobago.panel.shown</code> is fired after the panel is expanded. (Does not wait for a possible Ajax reload.)</p>
-    <p><code>tobago.panel.hide</code> is fired before the panel is collaped.</p>
+    <p><code>tobago.panel.hide</code> is fired before the panel is collapsed.</p>
     <p><code>tobago.panel.hidden</code> is fired after the panel is collapsed. (Does not wait for a possible Ajax reload.)</p>
   </tc:section>
 </ui:composition>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/300-requests/150-behavior/Behavior.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/300-requests/150-behavior/Behavior.xhtml
index 9339cfa860..7a6ed478c6 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/300-requests/150-behavior/Behavior.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/300-requests/150-behavior/Behavior.xhtml
@@ -82,10 +82,10 @@
     <tc:out id="dblCounter" label="Counter" value="#{behaviorController.counter}"/>
   </tc:section>
 
-  <tc:section label="tc:event as a paranet component">
+  <tc:section label="tc:event as a parent component">
     <p><code class="language-markup">&lt;tc:event></code> can contain <code class="language-markup">&lt;f:ajax></code>
       or <code class="language-markup">&lt;tc:operation></code> tags.</p>
-    <p>This is helpfull if the parent component cannot handle operations by itself, for example
+    <p>This is helpful if the parent component cannot handle operations by itself, for example
       <code class="language-markup">&lt;tc:row/></code>. In this case, the <code>event</code> attribute of
       <code class="language-markup">&lt;f:ajax/></code> will be ignored.</p>
     <demo-highlight language="markup">&lt;tc:row>