Fixed typos in doc

This commit is contained in:
Sebastien Helleu 2006-04-02 22:03:47 +00:00
parent d01081241a
commit 08b0272a9b
6 changed files with 38 additions and 20 deletions

View File

@ -54,6 +54,15 @@ foreach $lng (@all_lang)
print "\n";
}
sub toxml
{
$_ = $_[0];
$_ =~ s/&/&/g;
$_ =~ s/</&lt;/g;
$_ =~ s/>/&gt;/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";
}
}

View File

@ -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 &gt; 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>'&lt;'</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>'&gt;'</entry>
<entry>Text to display after nick in chat window</entry>
</row>
<row>

View File

@ -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 &gt; 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>'&lt;'</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>'&gt;'</entry>
<entry>Texte à afficher après le pseudo dans la fenêtre de discussion</entry>
</row>
<row>

View File

@ -54,6 +54,15 @@ foreach $lng (@all_lang)
print "\n";
}
sub toxml
{
$_ = $_[0];
$_ =~ s/&/&amp;/g;
$_ =~ s/</&lt;/g;
$_ =~ s/>/&gt;/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";
}
}

View File

@ -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 &gt; 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>'&lt;'</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>'&gt;'</entry>
<entry>Text to display after nick in chat window</entry>
</row>
<row>

View File

@ -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 &gt; 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>'&lt;'</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>'&gt;'</entry>
<entry>Texte à afficher après le pseudo dans la fenêtre de discussion</entry>
</row>
<row>