From 30a73cc772dff731e242c504f631b4bae5f187bb Mon Sep 17 00:00:00 2001 From: MrSimbax Date: Sun, 26 Jul 2015 11:47:37 +0200 Subject: [PATCH] Remove misleading information in CBOT function documentation --- help/cbot/E/function.txt | 2 +- help/cbot/po/cbot.pot | 30 ++++++++++++++++++------------ help/cbot/po/de.po | 30 ++++++++++++++++++------------ help/cbot/po/fr.po | 30 ++++++++++++++++++------------ help/cbot/po/pl.po | 30 ++++++++++++++++++------------ help/cbot/po/ru.po | 30 ++++++++++++++++++------------ 6 files changed, 91 insertions(+), 61 deletions(-) diff --git a/help/cbot/E/function.txt b/help/cbot/E/function.txt index dd7c0e23..d90b306d 100644 --- a/help/cbot/E/function.txt +++ b/help/cbot/E/function.txt @@ -53,7 +53,7 @@ Now the program is much easier to read. It is a good practice to split the progr \s; body \s;} \n; -A function must be declared above the main function. Result \l;type\u cbot\type; should be \l;void\u cbot/void; if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to \l;variables\u cbot\var;. +Result \l;type\u cbot\type; should be \l;void\u cbot/void; if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to \l;variables\u cbot\var;. \t;Parameters A function can have parameters: diff --git a/help/cbot/po/cbot.pot b/help/cbot/po/cbot.pot index a7b70f0e..eaa19d76 100644 --- a/help/cbot/po/cbot.pot +++ b/help/cbot/po/cbot.pot @@ -5921,12 +5921,6 @@ msgid "" "}" msgstr "" -#. type: Plain text -#: ../E/function.txt:14 -#, no-wrap -msgid "Nothing but a name can be changed in a main function. The keyword extern distinguish the main function from others." -msgstr "" - #. type: Plain text #: ../E/function.txt:17 #, no-wrap @@ -5981,12 +5975,6 @@ msgstr "" msgid "Syntax" msgstr "" -#. type: Plain text -#: ../E/function.txt:56 -#, no-wrap -msgid "A function must be declared above the main function. Result type should be void if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to variables." -msgstr "" - #. type: \t; header #: ../E/function.txt:58 #, no-wrap @@ -6152,6 +6140,24 @@ msgid "" "}" msgstr "" +#. type: Plain text +#: ../E/function.txt:14 +#, no-wrap +msgid "Nothing but a name can be changed in the main function. The keyword extern distinguish the main function from others." +msgstr "" + +#. type: Plain text +#: ../E/function.txt:56 +#, no-wrap +msgid "Result type should be void if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to variables." +msgstr "" + +#~ msgid "Nothing but a name can be changed in a main function. The keyword extern distinguish the main function from others." +#~ msgstr "" + +#~ msgid "A function must be declared above the main function. Result type should be void if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to variables." +#~ msgstr "" + #~ msgid "Now the program is much easier to read. It's a good practice to split the program into several functions with self-describing names." #~ msgstr "" diff --git a/help/cbot/po/de.po b/help/cbot/po/de.po index c7812182..4ce835a2 100644 --- a/help/cbot/po/de.po +++ b/help/cbot/po/de.po @@ -6756,12 +6756,6 @@ msgid "" "}" msgstr "" -#. type: Plain text -#: ../E/function.txt:14 -#, no-wrap -msgid "Nothing but a name can be changed in a main function. The keyword extern distinguish the main function from others." -msgstr "" - #. type: Plain text #: ../E/function.txt:17 #, no-wrap @@ -6816,12 +6810,6 @@ msgstr "" msgid "Syntax" msgstr "" -#. type: Plain text -#: ../E/function.txt:56 -#, no-wrap -msgid "A function must be declared above the main function. Result type should be void if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to variables." -msgstr "" - #. type: \t; header #: ../E/function.txt:58 #, no-wrap @@ -6987,6 +6975,24 @@ msgid "" "}" msgstr "" +#. type: Plain text +#: ../E/function.txt:14 +#, no-wrap +msgid "Nothing but a name can be changed in the main function. The keyword extern distinguish the main function from others." +msgstr "" + +#. type: Plain text +#: ../E/function.txt:56 +#, no-wrap +msgid "Result type should be void if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to variables." +msgstr "" + +#~ msgid "Nothing but a name can be changed in a main function. The keyword extern distinguish the main function from others." +#~ msgstr "" + +#~ msgid "A function must be declared above the main function. Result type should be void if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to variables." +#~ msgstr "" + #~ msgid "Now the program is much easier to read. It's a good practice to split the program into several functions with self-describing names." #~ msgstr "" diff --git a/help/cbot/po/fr.po b/help/cbot/po/fr.po index ab6c1751..b87759c0 100644 --- a/help/cbot/po/fr.po +++ b/help/cbot/po/fr.po @@ -6711,12 +6711,6 @@ msgid "" "}" msgstr "" -#. type: Plain text -#: ../E/function.txt:14 -#, no-wrap -msgid "Nothing but a name can be changed in a main function. The keyword extern distinguish the main function from others." -msgstr "" - #. type: Plain text #: ../E/function.txt:17 #, no-wrap @@ -6771,12 +6765,6 @@ msgstr "" msgid "Syntax" msgstr "" -#. type: Plain text -#: ../E/function.txt:56 -#, no-wrap -msgid "A function must be declared above the main function. Result type should be void if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to variables." -msgstr "" - #. type: \t; header #: ../E/function.txt:58 #, no-wrap @@ -6942,6 +6930,24 @@ msgid "" "}" msgstr "" +#. type: Plain text +#: ../E/function.txt:14 +#, no-wrap +msgid "Nothing but a name can be changed in the main function. The keyword extern distinguish the main function from others." +msgstr "" + +#. type: Plain text +#: ../E/function.txt:56 +#, no-wrap +msgid "Result type should be void if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to variables." +msgstr "" + +#~ msgid "Nothing but a name can be changed in a main function. The keyword extern distinguish the main function from others." +#~ msgstr "" + +#~ msgid "A function must be declared above the main function. Result type should be void if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to variables." +#~ msgstr "" + #~ msgid "Now the program is much easier to read. It's a good practice to split the program into several functions with self-describing names." #~ msgstr "" diff --git a/help/cbot/po/pl.po b/help/cbot/po/pl.po index c985b8a4..69c4cc94 100644 --- a/help/cbot/po/pl.po +++ b/help/cbot/po/pl.po @@ -6760,12 +6760,6 @@ msgid "" "}" msgstr "" -#. type: Plain text -#: ../E/function.txt:14 -#, no-wrap -msgid "Nothing but a name can be changed in a main function. The keyword extern distinguish the main function from others." -msgstr "" - #. type: Plain text #: ../E/function.txt:17 #, no-wrap @@ -6820,12 +6814,6 @@ msgstr "" msgid "Syntax" msgstr "" -#. type: Plain text -#: ../E/function.txt:56 -#, no-wrap -msgid "A function must be declared above the main function. Result type should be void if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to variables." -msgstr "" - #. type: \t; header #: ../E/function.txt:58 #, no-wrap @@ -6991,6 +6979,24 @@ msgid "" "}" msgstr "" +#. type: Plain text +#: ../E/function.txt:14 +#, no-wrap +msgid "Nothing but a name can be changed in the main function. The keyword extern distinguish the main function from others." +msgstr "" + +#. type: Plain text +#: ../E/function.txt:56 +#, no-wrap +msgid "Result type should be void if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to variables." +msgstr "" + +#~ msgid "Nothing but a name can be changed in a main function. The keyword extern distinguish the main function from others." +#~ msgstr "" + +#~ msgid "A function must be declared above the main function. Result type should be void if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to variables." +#~ msgstr "" + #~ msgid "Now the program is much easier to read. It's a good practice to split the program into several functions with self-describing names." #~ msgstr "" diff --git a/help/cbot/po/ru.po b/help/cbot/po/ru.po index 56039884..a9d284ea 100644 --- a/help/cbot/po/ru.po +++ b/help/cbot/po/ru.po @@ -6720,12 +6720,6 @@ msgid "" "}" msgstr "" -#. type: Plain text -#: ../E/function.txt:14 -#, no-wrap -msgid "Nothing but a name can be changed in a main function. The keyword extern distinguish the main function from others." -msgstr "" - #. type: Plain text #: ../E/function.txt:17 #, no-wrap @@ -6780,12 +6774,6 @@ msgstr "" msgid "Syntax" msgstr "" -#. type: Plain text -#: ../E/function.txt:56 -#, no-wrap -msgid "A function must be declared above the main function. Result type should be void if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to variables." -msgstr "" - #. type: \t; header #: ../E/function.txt:58 #, no-wrap @@ -6951,6 +6939,24 @@ msgid "" "}" msgstr "" +#. type: Plain text +#: ../E/function.txt:14 +#, no-wrap +msgid "Nothing but a name can be changed in the main function. The keyword extern distinguish the main function from others." +msgstr "" + +#. type: Plain text +#: ../E/function.txt:56 +#, no-wrap +msgid "Result type should be void if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to variables." +msgstr "" + +#~ msgid "Nothing but a name can be changed in a main function. The keyword extern distinguish the main function from others." +#~ msgstr "" + +#~ msgid "A function must be declared above the main function. Result type should be void if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to variables." +#~ msgstr "" + #~ msgid "Now the program is much easier to read. It's a good practice to split the program into several functions with self-describing names." #~ msgstr ""