diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-04-02 22:03:47 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-04-02 22:03:47 +0000 |
commit | 08b0272a9b4a0a8f9e4e8c66d10132c5bf48c932 (patch) | |
tree | 8bf03a9bee93b5d735ce0f1f1aedb10a3ad7fa02 /doc | |
parent | d01081241a903b3b1a112883b7a76397b0d0dae9 (diff) | |
download | weechat-08b0272a9b4a0a8f9e4e8c66d10132c5bf48c932.zip |
Fixed typos in doc
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/buildxml.pl | 17 | ||||
-rw-r--r-- | doc/en/config.xml | 6 | ||||
-rw-r--r-- | doc/fr/config.xml | 6 |
3 files changed, 19 insertions, 10 deletions
diff --git a/doc/buildxml.pl b/doc/buildxml.pl index f56419774..2105b0673 100755 --- a/doc/buildxml.pl +++ b/doc/buildxml.pl @@ -54,6 +54,15 @@ foreach $lng (@all_lang) print "\n"; } +sub toxml +{ + $_ = $_[0]; + $_ =~ s/&/&/g; + $_ =~ s/</</g; + $_ =~ s/>/>/g; + return $_; +} + sub create_commands { $lang = $_[0]; @@ -156,10 +165,10 @@ sub create_config $_ = $1; s/(.*)/\u$1/; $desc = $_; - print XML " <entry>".$type."</entry>\n"; - print XML " <entry>".$values."</entry>\n"; - print XML " <entry>".$default."</entry>\n"; - print XML " <entry>".$desc."</entry>\n"; + print XML " <entry>".toxml($type)."</entry>\n"; + print XML " <entry>".toxml($values)."</entry>\n"; + print XML " <entry>".toxml($default)."</entry>\n"; + print XML " <entry>".toxml($desc)."</entry>\n"; print XML "</row>\n"; } } diff --git a/doc/en/config.xml b/doc/en/config.xml index e4940f1ea..463e70be7 100644 --- a/doc/en/config.xml +++ b/doc/en/config.xml @@ -129,7 +129,7 @@ <entry>integer</entry> <entry>between 0 and 100</entry> <entry>0</entry> - <entry>Max size for nicklist (width or height, depending on look_nicklist_position (0 = no max size; if min == max and > 0, then size is fixed))</entry> + <entry>Max size for nicklist (width or height, depending on look_nicklist_position (0 = no max size; if min == max and > 0, then size is fixed))</entry> </row> <row> <entry><option>look_no_nickname</option></entry> @@ -156,14 +156,14 @@ <entry><option>look_nick_prefix</option></entry> <entry>string</entry> <entry>any string</entry> - <entry>'<'</entry> + <entry>'<'</entry> <entry>Text to display before nick in chat window</entry> </row> <row> <entry><option>look_nick_suffix</option></entry> <entry>string</entry> <entry>any string</entry> - <entry>'>'</entry> + <entry>'>'</entry> <entry>Text to display after nick in chat window</entry> </row> <row> diff --git a/doc/fr/config.xml b/doc/fr/config.xml index 314cc59b4..e9843242b 100644 --- a/doc/fr/config.xml +++ b/doc/fr/config.xml @@ -129,7 +129,7 @@ <entry>entier</entry> <entry>entre 0 et 100</entry> <entry>0</entry> - <entry>Taille maximum pour la fenêtre d'utilisateurs (largeur ou hauteur, selon look_nicklist_position (0 = pas de taille maximum; si min == max et > 0, alors la taille est fixe))</entry> + <entry>Taille maximum pour la fenêtre d'utilisateurs (largeur ou hauteur, selon look_nicklist_position (0 = pas de taille maximum; si min == max et > 0, alors la taille est fixe))</entry> </row> <row> <entry><option>look_no_nickname</option></entry> @@ -156,14 +156,14 @@ <entry><option>look_nick_prefix</option></entry> <entry>chaîne</entry> <entry>toute chaîne</entry> - <entry>'<'</entry> + <entry>'<'</entry> <entry>Texte à afficher avant le pseudo dans la fenêtre de discussion</entry> </row> <row> <entry><option>look_nick_suffix</option></entry> <entry>chaîne</entry> <entry>toute chaîne</entry> - <entry>'>'</entry> + <entry>'>'</entry> <entry>Texte à afficher après le pseudo dans la fenêtre de discussion</entry> </row> <row> |