1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 19:23:13 +02:00

doc: fix typos

This commit is contained in:
Sebastien Helleu
2013-01-07 10:31:32 +01:00
parent 125068f101
commit c34ae99b9a
10 changed files with 46 additions and 46 deletions
+7 -7
View File
@@ -319,7 +319,7 @@ Translations for WeeChat and plugins are done with gettext, files are in 'po/' d
|========================================
| Path/file | Description
| po/ | Translation files (gettext)
| XX.po | Translations for language XX (fr, de, it, ...), base language is english
| XX.po | Translations for language XX (fr, de, it, ...), base language is English
| weechat.pot | Template for translations (auto-built)
|========================================
@@ -405,7 +405,7 @@ foo ()
----------------------------------------
* Use explicit variable names, for example "nicks_count" instead of "n" or "nc".
Exception: in `for` loops, where variables like "i" or "n" are ok.
Exception: in `for` loops, where variables like "i" or "n" are OK.
* Initialize local variables after declaration, in body of function, example:
[source,C]
@@ -421,7 +421,7 @@ foo ()
}
----------------------------------------
* Use parentheses to explicitely show how expression is evaluated, even if
* Use parentheses to explicitly show how expression is evaluated, even if
they are not required, for example: write `x + (y * z)` instead of `x + y * z`
* Place curly brackets `{ }` alone on lines, and indent them with number of
spaces used for line above opening curly bracket (the `if` in example):
@@ -945,7 +945,7 @@ Where 'component' is one of following:
Some rules to follow:
* use only english
* use only English
* use infinitive form of verb
* if commit is related to something in tracker (bug, task, patch), write it
in parenthesis after the message (format: bug #12345, task #12345, patch #12345)
@@ -957,7 +957,7 @@ core: add callback "nickcmp" for nick comparison in buffers
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
ruby: add detection of ruby version 1.9.3 in cmake
python: fix crash when unloading a script without pointer to interpreter
core: update japanese translations (patch #7783)
core: update Japanese translations (patch #7783)
----------------------------------------
[[translations]]
@@ -977,7 +977,7 @@ $ cd po
$ msginit -i weechat.pot -l nl_NL -o nl.po
----------------------------------------
Base language for WeeChat is english, so you must of course understand english
Base language for WeeChat is English, so you must of course understand English
in order to translate to your language.
When done, you *have* to check your file with script 'msgcheck.py'
@@ -1019,7 +1019,7 @@ Asciidoc
Asciidoc files are in directory 'doc/XX/' where 'XX' is language (en, fr, de, it, ...)
First make a copy of an english asciidoc file (in directory 'doc/en/'), then work on it.
First make a copy of an English asciidoc file (in directory 'doc/en/'), then work on it.
The translations missing in files are indicated by this string:
+4 -4
View File
@@ -142,7 +142,7 @@ This may be caused by bad value of the TERM variable in your shell (look at
output of `echo $TERM` in your terminal, *outside screen/tmux*).
For example, 'xterm-color' may display such weird chars, you can use 'xterm'
which is ok (like many other values).
which is OK (like many other values).
If needed, fix your TERM variable: `export TERM="xxx"`.
@@ -263,7 +263,7 @@ How can I click on long URLs (more than one line)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
By default, WeeChat displays time and prefix for each line and optional bars
around chat area. To make easier url click, you can move nicklist to top and
around chat area. To make easier URL click, you can move nicklist to top and
remove alignment on nick:
----------------------------------------
@@ -274,7 +274,7 @@ remove alignment on nick:
With WeeChat ≥ 0.3.6, you can enable option "eat_newline_glitch", so that
new line char is not added at the end of each line displayed (it will not break
url selection):
URL selection):
----------------------------------------
/set weechat.look.eat_newline_glitch on
@@ -314,7 +314,7 @@ and issue these commands when script is loaded:
/upgrade
----------------------------------------
To have english messages with UTF-8 encoding for terminal, for ISO users, you
To have English messages with UTF-8 encoding for terminal, for ISO users, you
can issue: `/shell setenv LANG=en_US`.
[[256_colors]]
+3 -3
View File
@@ -416,7 +416,7 @@ There are two different identifiers ('id'):
* 'id' sent by 'client': 'relay' will answer with same 'id' in its answer
* 'id' of an event: on some events, 'relay' will send message to 'client' using
a speficic 'id', beginning with underscore (see table below)
a specific 'id', beginning with underscore (see table below)
WeeChat reserved identifiers:
@@ -466,7 +466,7 @@ WeeChat reserved identifiers:
| _buffer_localvar_changed | Local variable changed | buffer |
'number' (integer), 'full_name' (string), 'local_variables' (hashtable) |
Change local variable inbuffer
Change local variable in buffer
| _buffer_localvar_removed | Local variable removed | buffer |
'number' (integer), 'full_name' (string), 'local_variables' (hashtable) |
@@ -782,7 +782,7 @@ A 'info' contains a name and a value (both are strings).
* 'name' (string): name of info
* 'value' (string): value
Exemple of info 'version':
Example of info 'version':
.......................................
┌─────────┬───────────────────┐
+1 -1
View File
@@ -791,7 +791,7 @@ message received, so that you can modify it.
----------------------------------------
def modifier_cb(data, modifier, modifier_data, string):
# add server name to all messages received
# (ok that's not very useful, but that's just an example!)
# (OK that's not very useful, but that's just an example!)
return "%s %s" % (string, modifier_data)
weechat.hook_modifier("irc_in_privmsg", "modifier_cb", "")
+10 -10
View File
@@ -93,7 +93,7 @@ compile WeeChat.
| zlib1g-dev | | *yes* | compression of packets in relay plugin (weechat protocol), script plugin
| libgcrypt11-dev | | *yes* | SASL authentication with IRC server using DH-BLOWFISH mechanism, script plugin
| libgnutls-dev | ≥ 2.2.0 | | SSL connection to IRC server, support of SSL in relay plugin
| gettext | | | internationalization (translation of messages; base language is english)
| gettext | | | internationalization (translation of messages; base language is English)
| ca-certificates | | | certificates for SSL connections
| libaspell-dev | | | aspell plugin
| python-dev | ≥ 2.5 ^(3)^ | | python plugin
@@ -590,7 +590,7 @@ List of bar options:
| size | integer ≥ 0 |
The size of the bar: number of columns for position left/right, number
of lines for position top/tobbom. A size of `0` means automatic, so the size
of lines for position top/bottom. A size of `0` means automatic, so the size
will be computed according to content displayed in bar.
| size_max | integer ≥ 0 |
@@ -1510,7 +1510,7 @@ suggestions is set in option 'aspell.check.suggestions'.
To enable suggestions you must set option 'aspell.check.suggestions' to an
integer ≥ 0 and add the bar item "aspell_suggest" to a bar, like 'status'.
Example of suggestions with english dictionary (`en`):
Example of suggestions with English dictionary (`en`):
........................................
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
@@ -1518,7 +1518,7 @@ Example of suggestions with english dictionary (`en`):
└─────────────────────────────────────────────────────────────────────────────────┘
........................................
Example of suggestions with english and french dictionaries (`en,fr`):
Example of suggestions with English and French dictionaries (`en,fr`):
........................................
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
@@ -1753,7 +1753,7 @@ irc.server.xxx.ssl_verify::
[NOTE]
Option "ssl_verify" is on by default, so verification is strict and may fail,
even if it was ok with versions prior to 0.3.1.
even if it was OK with versions prior to 0.3.1.
[[irc_connect_oftc_with_certificate]]
First example: connect to oftc and check certificate
@@ -1801,8 +1801,8 @@ SASL authentication
^^^^^^^^^^^^^^^^^^^
WeeChat supports SASL authentication, using three mechanisms: "plain" (plain
text password), "dh-blowfish" (crypted password) or "external" (client side SSL
cert).
text password), "dh-blowfish" (encrypted password) or "external" (client side
SSL cert).
Options in servers are:
@@ -1833,7 +1833,7 @@ First, make sure to have WeeChat compiled with <<dependencies,libgcrypt11-dev>>
(if built from sources); it's not mandatory, but "dh-blowfish" ensures stronger
security compared to "plain" authentication system with SASL.
In first place, install TOR. For Debian (and derivated):
In first place, install TOR. For Debian (and derived):
----------------------------------------
$ sudo apt-get install tor
@@ -2509,8 +2509,8 @@ until this sentence, you can start again!).
Ways to get support:
* IRC: server 'irc.freenode.net', channels '#weechat' (english) and
'#weechat-fr' (french)
* IRC: server 'irc.freenode.net', channels '#weechat' (English) and
'#weechat-fr' (French)
* Mailing list:
** subscribe: http://mail.nongnu.org/mailman/listinfo/weechat-support
** send mail to weechat-support@nongnu.org
+6 -6
View File
@@ -197,7 +197,7 @@ Pour déplacer la barre en bas :
Comment puis-je réduire la longueur des pseudos ou supprimer l'alignement des pseudos dans la zone de discussion ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Pour réduire la longueur maxi des pseudos dans la zone de discussion :
Pour réduire la longueur maximum des pseudos dans la zone de discussion :
----------------------------------------
/set weechat.look.prefix_align_max 15
@@ -215,7 +215,7 @@ Comment utiliser une ligne de commande sur plusieurs lignes ?
L'option 'size' dans la barre input peut être définie à une valeur supérieure
à 1 (pour une taille fixe, la taille par défaut est 1) ou 0 pour une taille
dynamique, et alors l'option 'size_max' définira la taille maxi (0 = pas de
dynamique, et alors l'option 'size_max' définira la taille maximum (0 = pas de
limite).
Exemple avec une taille dynamique :
@@ -224,7 +224,7 @@ Exemple avec une taille dynamique :
/set weechat.bar.input.size 0
----------------------------------------
Taille maxi de 2 :
Taille maximum de 2 :
----------------------------------------
/set weechat.bar.input.size_max 2
@@ -562,7 +562,7 @@ Comment puis-je être identifié avant de rejoindre les canaux ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Si le serveur supporte SASL, vous devriez l'utiliser au lieu d'envoyer une
command pour l'authentification avec nickserv, par exemple :
commande pour l'authentification avec nickserv, par exemple :
----------------------------------------
/set irc.server_default.sasl_mechanism dh-blowfish
@@ -597,8 +597,8 @@ de les voir en désactivant les filtres (par défaut, la touche @k(A-)@k(=)
active/désactive les filtres).
[[filter_irc_join_part_quit]]
Comment puis-je filter les messages join/part/quit sur les canaux IRC ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comment puis-je filtrer les messages join/part/quit sur les canaux IRC ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Avec le filtre intelligent (pour garder les join/part/quit des utilisateurs qui
ont parlé récemment) :
+2 -2
View File
@@ -147,7 +147,7 @@ Se connecter au serveur IRC et rejoindre les canaux
[NOTE]
Cette commande peut aussi être utilisée pour créer et se connecter au serveur
sans utiliser la commande `/server` (devrais-je répéter que vous pouvez voir
sans utiliser la commande `/server` (dois-je répéter que vous pouvez voir
l'aide pour cette commande avec `/help connect` ?).
Par défaut, les tampons des serveurs sont mélangés avec le tampon 'core'
@@ -247,7 +247,7 @@ De nombreux scripts externes (de contributeurs) sont disponibles pour WeeChat :
http://www.weechat.org/scripts
Vous pouvez gérer les scripts dans WeeChat avec la commande `/script` (voir
`/help script` pour plus d'info).
`/help script` pour plus d'infos).
[[more_doc]]
+1 -1
View File
@@ -733,7 +733,7 @@ def config_cb(data, option, value):
# ...
weechat.hook_config("plugins.var.python." + SCRIPT_NAME + ".*", "config_cb", "")
# pour les autres languages, remplacez "python" par le language ("perl", "ruby", "lua" ou "tcl")
# pour les autres langages, remplacez "python" par le langage ("perl", "ruby", "lua" ou "tcl")
----------------------------------------
[[config_options_weechat]]
+9 -9
View File
@@ -103,7 +103,7 @@ compiler WeeChat.
| ruby1.9.1-dev | ≥ 1.8 | | extension ruby
| liblua5.1-0-dev | | | extension lua
| tcl-dev | ≥ 8.5 | | extension tcl
| guile-1.8-dev | | | extention guile (scheme)
| guile-1.8-dev | | | extension guile (scheme)
| asciidoc | ≥ 8.5.0 | | construction de la documentation (fichiers HTML)
| source-highlight | | | coloration des sources dans la documentation HTML
|========================================
@@ -434,7 +434,7 @@ La barre 'status' contient les objets (items) suivants par défaut :
| buffer_nicklist_count | {4} | nombre de pseudos dans la liste des pseudos
| buffer_filter | * | indicateur de filtrage : `*` signifie que des lignes sont filtrées (cachées), une valeur vide signifie que toutes les lignes sont affichées
| lag | [Lag: 2.5] | indicateur de "lag" (ralentissements réseau), en secondes (caché si le lag est faible)
| hotlist | [Act: 4:#abc(2,5), 6] | liste des tampons où il y a de l'activité (messages non lus) (dans cet exemple, 2 highlights et 5 messages non lus sur '#abc', un message non lu sur le buffer numéro 6)
| hotlist | [Act: 4:#abc(2,5), 6] | liste des tampons où il y a de l'activité (messages non lus) (dans cet exemple, 2 highlights et 5 messages non lus sur '#abc', un message non lu sur le tampon numéro 6)
| completion | abc(2) def(5) | liste des mots pour la complétion, avec le nombre de complétions possibles pour chaque mot
| scroll | -PLUS(50)- | indicateur de scroll, avec le nombre de lignes sous la dernière ligne affichée
|========================================
@@ -751,7 +751,7 @@ Quelques exemples de remplissage pour la barre 'nicklist' :
Conditions
^^^^^^^^^^
L'option 'conditions' est uen chaîne évaluée pour savoir si la barre doit être
L'option 'conditions' est une chaîne évaluée pour savoir si la barre doit être
affichée ou non dans la fenêtre (elle est utilisée seulement pour les barres
avec type 'window').
@@ -782,7 +782,7 @@ liste de pseudos, et seulement si la largeur de fenêtre est supérieurs à 100
/set weechat.bar.nicklist.conditions "${nicklist} && ${window.win_width} > 100"
----------------------------------------
Même condition, mais affichier toujours la liste de pseudos sur le tampon
Même condition, mais afficher toujours la liste de pseudos sur le tampon
'&bitlbee' (même si la fenêtre est petite) :
----------------------------------------
@@ -865,7 +865,7 @@ Touches pour la ligne de commande
| @k(C-)@k(c) , @k(b) | Insérer le code pour mettre le texte en gras | /input insert \x02
| @k(C-)@k(c) , @k(c) | Insérer le code pour écrire en couleur | /input insert \x03
| @k(C-)@k(c) , @k(i) | Insérer le code pour mettre le texte en italique | /input insert \x1D
| @k(C-)@k(c) , @k(o) | Insérer le code pour réinitaliser la couleur | /input insert \x0F
| @k(C-)@k(c) , @k(o) | Insérer le code pour réinitialiser la couleur | /input insert \x0F
| @k(C-)@k(c) , @k(r) | Insérer le code pour écrire en couleur inversée | /input insert \x12
| @k(C-)@k(c) , @k(u) | Insérer le code pour écrire en souligné | /input insert \x15
| @k(Del) .2+| Effacer le caractère suivant sur la ligne de commande .2+| /input delete_next_char
@@ -996,7 +996,7 @@ Ces touches sont utilisées dans le contexte "cursor" (mouvement libre du curseu
| @k(K) | liste des pseudos | Retirer par la force et bannir le pseudo | /window ${_window_number};/kickban ${nick}
| @k(q) | liste des pseudos | Ouvrir une discussion avec le pseudo | /window ${_window_number};/query ${nick};/cursor stop
| @k(w) | liste des pseudos | Effectuer un whois sur le pseudo | /window ${_window_number};/whois ${nick}
| @k(Enter) .3+| - .3+| Stop cursor mode .3+| /cursor stop
| @k(Enter) .3+| - .3+| Arrêter le mode curseur ("cursor") .3+| /cursor stop
| @k(C-)@k(j)
| @k(C-)@k(m)
|========================================
@@ -1022,8 +1022,8 @@ Ces touches sont utilisées dans le contexte "mouse", c'est-à-dire lorsqu'un
| ⇓ | - | chat | Descendre de quelques lignes dans l'historique du tampon | /window scroll_down -window ${_window_number}
| ⇑ | - | chat (tampon script) | Monter de 5 lignes dans le tampon script | /script up 5
| ⇓ | - | chat (tampon script) | Descendre de 5 lignes dans le tampon script | /script down 5
| @k(C-)⇑ | - | chat | Faire défiler horizontallement vers la gauche | /window scroll_horiz -window ${_window_number} -10%
| @k(C-)⇓ | - | chat | Faire défiler horizontallement vers la droite | /window scroll_horiz -window ${_window_number} +10%
| @k(C-)⇑ | - | chat | Faire défiler horizontalement vers la gauche | /window scroll_horiz -window ${_window_number} -10%
| @k(C-)⇓ | - | chat | Faire défiler horizontalement vers la droite | /window scroll_horiz -window ${_window_number} +10%
| ◾◽◽ | up | liste des pseudos | Monter d'une page dans la liste des pseudos | /bar scroll nicklist ${_window_number} -100%
| ◾◽◽ | down | liste des pseudos | Descendre d'une page dans la liste des pseudos | /bar scroll nicklist ${_window_number} +100%
| ◾◽◽ | up (long) | liste des pseudos | Aller au début de la liste des pseudos | /bar scroll nicklist ${_window_number} b
@@ -1164,7 +1164,7 @@ avec le bouton gauche.
[TIP]
Vous pouvez trouver le nom de l'évènement avec la commande `/input grab_mouse`
puis en faisant l'action avec la souris. Cela insèrera le nom de l'évènement
puis en faisant l'action avec la souris. Cela insérera le nom de l'évènement
sur la ligne de commande.
[[command_line]]
+3 -3
View File
@@ -606,7 +606,7 @@ List of bar options:
| size | integer ≥ 0 |
The size of the bar: number of columns for position left/right, number
of lines for position top/tobbom. A size of `0` means automatic, so the size
of lines for position top/bottom. A size of `0` means automatic, so the size
will be computed according to content displayed in bar.
| size_max | integer ≥ 0 |
@@ -1544,7 +1544,7 @@ suggestions is set in option 'aspell.check.suggestions'.
To enable suggestions you must set option 'aspell.check.suggestions' to an
integer ≥ 0 and add the bar item "aspell_suggest" to a bar, like 'status'.
Example of suggestions with english dictionary (`en`):
Example of suggestions with English dictionary (`en`):
........................................
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
@@ -1552,7 +1552,7 @@ Example of suggestions with english dictionary (`en`):
└─────────────────────────────────────────────────────────────────────────────────┘
........................................
Example of suggestions with english and french dictionaries (`en,fr`):
Example of suggestions with English and French dictionaries (`en,fr`):
........................................
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │