From 9d9fa74d4deaabf20a27203b44ded8b5d949aa2e Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20MOTTELET?= Date: Tue, 13 Oct 2020 13:28:06 +0200 Subject: [PATCH] Revert f56158b2 "[doc] string pages improved" for specific files where the term "text" was abusively used instead of "string". Change-Id: I85d764fcd6250815acdef55bbcf7432c8a7a04e4 --- scilab/modules/string/help/en_US/justify.xml | 8 ++++---- scilab/modules/string/help/en_US/length.xml | 2 +- scilab/modules/string/help/en_US/prettyprint.xml | 4 ++-- scilab/modules/string/help/en_US/strcspn.xml | 2 +- scilab/modules/string/help/en_US/strncpy.xml | 2 +- scilab/modules/string/help/en_US/strrev.xml | 2 +- scilab/modules/string/help/en_US/strspn.xml | 14 +++++++------- scilab/modules/string/help/en_US/strstr.xml | 22 +++++++++++----------- scilab/modules/string/help/en_US/strtod.xml | 6 +++--- scilab/modules/string/help/en_US/tokens.xml | 14 +++++++------- scilab/modules/string/help/fr_FR/strtod.xml | 10 +++++----- 11 files changed, 43 insertions(+), 43 deletions(-) diff --git a/scilab/modules/string/help/en_US/justify.xml b/scilab/modules/string/help/en_US/justify.xml index fcc4ad9..5412ea8 100644 --- a/scilab/modules/string/help/en_US/justify.xml +++ b/scilab/modules/string/help/en_US/justify.xml @@ -18,23 +18,23 @@ xmlns:db="http://docbook.org/ns/docbook" xml:lang="en" xml:id="justify"> justify - aligns texts in columns to the left, center, or right + aligns strings in columns to the left, center, or right Syntax - Tj = justify(T, position) + Tj = justify(S, position) Arguments - T + S a matrix of character strings. - Tj + Sj a matrix of character strings. The justified result. diff --git a/scilab/modules/string/help/en_US/length.xml b/scilab/modules/string/help/en_US/length.xml index a44d405..7fcb8a0 100644 --- a/scilab/modules/string/help/en_US/length.xml +++ b/scilab/modules/string/help/en_US/length.xml @@ -19,7 +19,7 @@ xml:id="length" xml:lang="en"> length - Number of characters of a text. Number of elements of an array or list. + Number of characters of a string. Number of elements of an array or list. Syntax diff --git a/scilab/modules/string/help/en_US/prettyprint.xml b/scilab/modules/string/help/en_US/prettyprint.xml index 9ca65e9..de80bbc 100644 --- a/scilab/modules/string/help/en_US/prettyprint.xml +++ b/scilab/modules/string/help/en_US/prettyprint.xml @@ -43,7 +43,7 @@ Supported types: booleans, encoded integers, real or complex numbers, - polynomials and rationals with real or complex coefficients, texts, + polynomials and rationals with real or complex coefficients, strings, cells, linear dynamical systems (as generated with syslin()), other Tlists. @@ -467,7 +467,7 @@ winopen(File) // Display the page in your browser ]]> - Please note that for text input, the protection needed for some special LaTeX characters + Please note that for string input, the protection needed for some special LaTeX characters is displayed as is by MathJax: diff --git a/scilab/modules/string/help/en_US/strcspn.xml b/scilab/modules/string/help/en_US/strcspn.xml index 8e854d8..9686f8b 100644 --- a/scilab/modules/string/help/en_US/strcspn.xml +++ b/scilab/modules/string/help/en_US/strcspn.xml @@ -20,7 +20,7 @@ strcspn - lengths from the beginning of texts until a character among those prohibited + lengths from the beginning of strings until a character among those prohibited diff --git a/scilab/modules/string/help/en_US/strncpy.xml b/scilab/modules/string/help/en_US/strncpy.xml index c051220..2d2ab8c 100644 --- a/scilab/modules/string/help/en_US/strncpy.xml +++ b/scilab/modules/string/help/en_US/strncpy.xml @@ -18,7 +18,7 @@ xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="strncpy"> strncpy - gets and gives the N first characters of the given texts + gets and gives the N first characters of the given strings Syntax diff --git a/scilab/modules/string/help/en_US/strrev.xml b/scilab/modules/string/help/en_US/strrev.xml index 53b44d8..8756b3f 100644 --- a/scilab/modules/string/help/en_US/strrev.xml +++ b/scilab/modules/string/help/en_US/strrev.xml @@ -19,7 +19,7 @@ strrev - Reverses the order of characters in the given texts + Reverses the order of characters in the given strings diff --git a/scilab/modules/string/help/en_US/strspn.xml b/scilab/modules/string/help/en_US/strspn.xml index 3596050..ce9e711 100644 --- a/scilab/modules/string/help/en_US/strspn.xml +++ b/scilab/modules/string/help/en_US/strspn.xml @@ -20,23 +20,23 @@ strspn - lengths of the beginning of texts as long as characters are among those allowed + lengths of the beginning of strings as long as characters are among those allowed Syntax - headsLengths = strspn(Texts, allowedChars) + headsLengths = strspn(Strings, allowedChars) Arguments - Texts, allowedChars, headsLengths + Strings, allowedChars, headsLengths - Matrices of texts, of identical dimensions. + Matrices of strings, of identical dimensions. allowedChars can be a scalar string. - It is then used for all Texts components. + It is then used for all Strings components. @@ -45,8 +45,8 @@ Description - headsLengths = strspn(Texts, allowedChars) returns the length of the initial - portion of Texts which consists only of characters that are part of + headsLengths = strspn(Strings, allowedChars) returns the length of the initial + portion of Strings which consists only of characters that are part of allowedChars. diff --git a/scilab/modules/string/help/en_US/strstr.xml b/scilab/modules/string/help/en_US/strstr.xml index 57a2587..5bb21bd 100644 --- a/scilab/modules/string/help/en_US/strstr.xml +++ b/scilab/modules/string/help/en_US/strstr.xml @@ -20,23 +20,23 @@ strstr - Tail of a text starting from the 1st occurrrence of a given fragment + Tail of a string starting from the 1st occurrrence of a given fragment Syntax - Tail = strstr(Text, StartingFragment) + Tail = strstr(Strings, StartingFragment) Arguments - Text, StartingFragment, Tail + Strings, StartingFragment, Tail - Matrices of texts, of identical dimensions. - StartingFragments can be a single text. It is then used - for all Texts components. + Matrices of strings, of identical dimensions. + StartingFragments can be a single string. It is then used + for all Strings components. @@ -45,13 +45,13 @@ Description - Tail = strstr(Text, StartingFragment) builds and returns a matrix - of texts such that, for each element Text(i), Tail(i) - is the part of Text(i) starting from the first occurrence of - startingFragment(i), up to the end of Text(i). + Tail = strstr(Strings, StartingFragment) builds and returns a matrix + of strings such that, for each element Strings(i), Tail(i) + is the part of Strings(i) starting from the first occurrence of + startingFragment(i), up to the end of Strings(i). - If StartingFragment(i) is not found in Text(i), + If StartingFragment(i) is not found in Strings(i), Tail(i) is set to "". diff --git a/scilab/modules/string/help/en_US/strtod.xml b/scilab/modules/string/help/en_US/strtod.xml index 61541d3..c90fe40 100644 --- a/scilab/modules/string/help/en_US/strtod.xml +++ b/scilab/modules/string/help/en_US/strtod.xml @@ -24,8 +24,8 @@ Syntax - [d, tails] = strtod(str) - [d, tails] = strtod(str, decimalseparator) + d = strtod(str [,decimalseparator]) + [d, tails] = strtod(str [,decimalseparator]) @@ -35,7 +35,7 @@ str - single component, vector, or matrix of text (strings). + single component, vector, or matrix of strings. diff --git a/scilab/modules/string/help/en_US/tokens.xml b/scilab/modules/string/help/en_US/tokens.xml index e8e56d8..001a149 100644 --- a/scilab/modules/string/help/en_US/tokens.xml +++ b/scilab/modules/string/help/en_US/tokens.xml @@ -19,23 +19,23 @@ tokens - Splits a text using separators and gives its chunks + Splits a string using separators and gives its chunks Syntax - Chunks = tokens(text) - Chunks = tokens(text, separators) + Chunks = tokens(str) + Chunks = tokens(str, separators) Arguments - text + str - A single text to be split. It can include extended UTF-8 international characters. + A single string to be split. It can include extended UTF-8 international characters. @@ -50,7 +50,7 @@ Chunks - Column vector: Pieces of the split text. + Column vector: Pieces of the split string. @@ -59,7 +59,7 @@ Description - tokens(…) searches the text for given separator(s), + tokens(…) searches the string for given separator(s), and splits it into chunks. Chunks are free of separators. Consecutive separators are merged. diff --git a/scilab/modules/string/help/fr_FR/strtod.xml b/scilab/modules/string/help/fr_FR/strtod.xml index 9298049..04a90c7 100644 --- a/scilab/modules/string/help/fr_FR/strtod.xml +++ b/scilab/modules/string/help/fr_FR/strtod.xml @@ -19,13 +19,13 @@ xmlns:scilab="http://www.scilab.org" xml:id="strtod" xml:lang="fr"> strtod - convertit chaque nombre décimal littéral (texte) en sa valeur numérique + convertit chaque nombre décimal littéral (chaine de caractères) en sa valeur numérique Syntaxe - [d, tails] = strtod(str) - [d, tails] = strtod(str, decimalseparator) + d = strtod(str [,decimalseparator]) + [d, tails] = strtod(str [,decimalseparator]) @@ -35,7 +35,7 @@ str - texte unique, ou vecteur ou matrice de textes. + chaine de caractères, ou vecteur ou matrice de chaines de caractères. @@ -59,7 +59,7 @@ tails - matrice texte de taille identique à celle de + matrice de chaines de caractères identique à celle de str : tails(i) est la fin (éventuelle) de str(i) non prise en compte pour établir d(i), ou "" par -- 1.7.9.5