Git commit 94fbedc6cef72204b4e2efaf81e68b0968440b5b by Yuri Chornoivan. Committed on 27/01/2016 at 10:49. Pushed by yurchor into branch 'master'.
Fix minor typos in docs M +2 -2 doc/rkwardplugins/index.docbook http://commits.kde.org/rkward/94fbedc6cef72204b4e2efaf81e68b0968440b5b diff --git a/doc/rkwardplugins/index.docbook b/doc/rkwardplugins/index.docbook index bfd3def..0a7458f 100644 --- a/doc/rkwardplugins/index.docbook +++ b/doc/rkwardplugins/index.docbook @@ -574,7 +574,7 @@ res <- t.test ( as plain text. Next we need to fill in the value, the user selected as the first variable. We fetch this using <function>getString ("x")</function>, and append it to the string to be <quote>echoed</quote>. This prints out the value of the GUI-element with <parameter>id=</parameter><replaceable>"x"</replaceable>: our first <command><checkbox></command>. Next, we append a ', ', and do the same to fetch the value of the element <replaceable>"y"</replaceable> - the second <command><checkbox></command>. For the hypothesis (the <command><radio></command> group), and the equal variances <command><checkbox></command>, the procedure is very similar. </para> <para> - Note that instead of concatenating the output snippets with <quote>+</quote>, you can also use several <function>echo()</function> statments. Everything is printed on a single line. To produce a line break in the generated code, insert a <replaceable>"\n"</replaceable> in the echoed string. In theory, you can even produce many lines with a single echo-statement, but please keep it to one line (or less) of generated code per <function>echo()</function>. + Note that instead of concatenating the output snippets with <quote>+</quote>, you can also use several <function>echo()</function> statements. Everything is printed on a single line. To produce a line break in the generated code, insert a <replaceable>"\n"</replaceable> in the echoed string. In theory, you can even produce many lines with a single echo-statement, but please keep it to one line (or less) of generated code per <function>echo()</function>. </para> <note> <para>Besides <function>getString()</function>, there are also functions <function>getBoolean()</function>, which will try to return the value as a logical (suitable for using in an <function>if()</function>-statement), and <function>getList()</function>, which will try to return list-like data in a JS <function>Array()</function>. We will show examples of those, later.</para> @@ -4402,7 +4402,7 @@ Child elements: </varlistentry> <varlistentry> <term><section></term> -<listitem><para>A general purposes section. May be used any number of times as a direct child of the <document> node. These sections are displayed in the order of their definition, but all <emphasis>after</emphasis> the <usage> section and <emphasis>before</emphasis> the <settings> section. The text contained within the <sectoin> tag will be displayed. +<listitem><para>A general purposes section. May be used any number of times as a direct child of the <document> node. These sections are displayed in the order of their definition, but all <emphasis>after</emphasis> the <usage> section and <emphasis>before</emphasis> the <settings> section. The text contained within the <section> tag will be displayed. <variablelist> <varlistentry> <term>id</term> _______________________________________________ kde-doc-english mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-doc-english
