summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-10-06 10:01:49 +0200
committerSébastien Helleu <flashcode@flashtux.org>2019-10-06 10:01:49 +0200
commitd3254262ac2b3358558894eeb16785eb42ef231f (patch)
tree9419e063a3107e4878482a8f4a1d96d2b16dbd24
parent587f5bf15bdfb50ac712388cccc7ca4f851de5b8 (diff)
downloadweechat-d3254262ac2b3358558894eeb16785eb42ef231f.zip
doc: fix styles in plugin API reference
-rw-r--r--doc/en/weechat_plugin_api.en.adoc54
-rw-r--r--doc/fr/weechat_plugin_api.fr.adoc54
-rw-r--r--doc/it/weechat_plugin_api.it.adoc54
-rw-r--r--doc/ja/weechat_plugin_api.ja.adoc52
4 files changed, 107 insertions, 107 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc
index 3f770616d..622058f23 100644
--- a/doc/en/weechat_plugin_api.en.adoc
+++ b/doc/en/weechat_plugin_api.en.adoc
@@ -2190,7 +2190,7 @@ Arguments:
** _extra_: default behavior is to just replace extra variables (_extra_vars_),
other behavior can be selected:
*** _eval_: extra variables (_extra_vars_) are evaluated themselves before
- replacing (_WeeChat ≥ 1.6_)
+ replacing _(WeeChat ≥ 1.6)_
** _regex_: a regex used to replace text in _expr_ (which is then not
evaluated)
** _regex_replace_: the replacement text to use with _regex_, to replace
@@ -2314,7 +2314,7 @@ from first used to last):
`+1+`
| `+=*+` +
- (_WeeChat ≥ 1.8_) |
+ _(WeeChat ≥ 1.8)_ |
Is matching mask where "*" is allowed (see function <<_string_match,string_match>>) |
`+abc def =* a*f+` +
`+abc def =* y*z+` |
@@ -2322,7 +2322,7 @@ from first used to last):
`+0+`
| `+!*+` +
- (_WeeChat ≥ 1.8_) |
+ _(WeeChat ≥ 1.8)_ |
Is NOT wildcard mask where "*" is allowed (see function <<_string_match,string_match>>) |
`+abc def !* a*f+` +
`+abc def !* y*z+` |
@@ -2392,8 +2392,8 @@ The comparison is made using floating point numbers if the two expressions are
valid numbers, with one of the following formats:
* integer (examples: 5, -7)
-* floating point number (examples: 5.2, -7.5, 2.83e-2) (_WeeChat ≥ 2.0_)
-* hexadecimal number (examples: 0xA3, -0xA3) (_WeeChat ≥ 2.0_)
+* floating point number (examples: 5.2, -7.5, 2.83e-2) _(WeeChat ≥ 2.0)_
+* hexadecimal number (examples: 0xA3, -0xA3) _(WeeChat ≥ 2.0)_
To force a string comparison, you can add double quotes around each expression,
for example:
@@ -2417,7 +2417,7 @@ expanded to last):
`+value+`
| `+${eval:xxx}+` +
- (_WeeChat ≥ 1.3_) |
+ _(WeeChat ≥ 1.3)_ |
String to evaluate. |
`+${eval:${date:${weechat.look.buffer_time_format}}}+` |
`+19:02:45+` (with colors if there are color codes in the option
@@ -2425,7 +2425,7 @@ expanded to last):
| `+${esc:xxx}+` +
`+${\xxx}+` +
- (_WeeChat ≥ 1.0_) |
+ _(WeeChat ≥ 1.0)_ |
String with escaped chars. |
`+${esc:prefix\tmessage}+` +
`+${\ua9}+` |
@@ -2433,14 +2433,14 @@ expanded to last):
`+©+`
| `+${hide:x,string}+` +
- (_WeeChat ≥ 1.1_) |
+ _(WeeChat ≥ 1.1)_ |
String with hidden chars (all chars in `string` replaced by `x`). |
`+${hide:*,password}+` |
`+********+`
| `+${cut:max,suffix,string}+` +
`+${cut:+max,suffix,string}+` +
- (_WeeChat ≥ 1.8_) |
+ _(WeeChat ≥ 1.8)_ |
String with `max` chars, and optional `suffix` if string is cut. +
With the format `+max`, the suffix is counted in max length. |
`+${cut:4,…,this is a test}+` +
@@ -2452,7 +2452,7 @@ expanded to last):
| `+${cutscr:max,suffix,string}+` +
`+${cutscr:+max,suffix,string}+` +
- (_WeeChat ≥ 1.8_) |
+ _(WeeChat ≥ 1.8)_ |
String with `max` chars displayed on screen, and optional `suffix` if string is cut. +
With the format `+max`, the suffix is counted in max length. |
`+${cutscr:4,…,this is a test}+` +
@@ -2463,19 +2463,19 @@ expanded to last):
`+こ>>+`
| `+${rev:xxx}+` +
- (_WeeChat ≥ 2.2_) |
+ _(WeeChat ≥ 2.2)_ |
Reversed string. |
`+${rev:Hello, world!}+` |
`+!dlrow ,olleH+`
| `+${repeat:count,string}+` +
- (_WeeChat ≥ 2.3_) |
+ _(WeeChat ≥ 2.3)_ |
Repeated string. |
`+${repeat:5,-}+` |
`+-----+`
| `+${length:xxx}+` +
- (_WeeChat ≥ 2.7_) |
+ _(WeeChat ≥ 2.7)_ |
Length of string (number of UTF-8 chars), color codes are ignored. |
`+${length:test}+` +
`+${length:こんにちは世界}+` |
@@ -2483,7 +2483,7 @@ expanded to last):
`+7+`
| `+${lengthscr:xxx}+` +
- (_WeeChat ≥ 2.7_) |
+ _(WeeChat ≥ 2.7)_ |
Length of string displayed on screen, color codes are ignored. |
`+${lengthscr:test}+` +
`+${lengthscr:こんにちは世界}+` |
@@ -2491,10 +2491,10 @@ expanded to last):
`+14+`
| `+${re:N}+` +
- (_WeeChat ≥ 1.1_) |
+ _(WeeChat ≥ 1.1)_ |
Regex captured group: `0` = whole string matching, `1` to `99` = group
captured, `+++` = last group captured,
- `#` = index of last group captured (_WeeChat ≥ 1.8_). |
+ `#` = index of last group captured _(WeeChat ≥ 1.8)_. |
`+${re:0}+` +
`+${re:1}+` +
`+${re:2}+` +
@@ -2507,7 +2507,7 @@ expanded to last):
`+2+`
| `+${color:name}+` +
- (_WeeChat ≥ 0.4.2_) |
+ _(WeeChat ≥ 0.4.2)_ |
WeeChat color code (the name of color has optional attributes),
see function <<_color,color>> for supported formats. |
`+${color:red}red text+` +
@@ -2516,7 +2516,7 @@ expanded to last):
`+bold orange text+` (in bold orange)
| `+${modifier:name,data,string}+` +
- (_WeeChat ≥ 2.7_) |
+ _(WeeChat ≥ 2.7)_ |
Result of a modifier, see function
<<_hook_modifier_exec,hook_modifier_exec>>. |
`+${modifier:eval_path_home,,~}+` +
@@ -2526,7 +2526,7 @@ expanded to last):
| `+${info:name}+` +
`+${info:name,arguments}+` +
- (_WeeChat ≥ 0.4.3_) |
+ _(WeeChat ≥ 0.4.3)_ |
Info from WeeChat or a plugin, see function
<<_info_get,info_get>>. |
`+${info:version}+` +
@@ -2536,7 +2536,7 @@ expanded to last):
| `+${date}+` +
`+${date:xxx}+` +
- (_WeeChat ≥ 1.3_) |
+ _(WeeChat ≥ 1.3)_ |
Current date/time, with custom format (see `man strftime`),
default format is `%F %T`. |
`+${date}+` +
@@ -2545,7 +2545,7 @@ expanded to last):
`+19:02:45+`
| `+${env:NAME}+` +
- (_WeeChat ≥ 1.2_) |
+ _(WeeChat ≥ 1.2)_ |
Value of the environment variable `NAME`. |
`+${env:HOME}+` |
`+/home/user+`
@@ -2553,7 +2553,7 @@ expanded to last):
| `+${if:condition}+` +
`+${if:condition?true}+`
`+${if:condition?true:false}+`
- (_WeeChat ≥ 1.8_) |
+ _(WeeChat ≥ 1.8)_ |
Ternary operator with a condition, a value if the condition is true (optional)
and another value if the condition is false (optional). If values are not
given, "1" or "0" are returned, according to the result of the condition. |
@@ -2561,7 +2561,7 @@ expanded to last):
`+big+`
| `+${calc:xxx}+` +
- (_WeeChat ≥ 2.7_) |
+ _(WeeChat ≥ 2.7)_ |
Result of expression, where parentheses and the following operators are
supported: +
`+++`: addition +
@@ -3460,7 +3460,7 @@ void weechat_exec_on_files (const char *directory,
Arguments:
* _directory_: directory for searching files
-* _recurse_subdirs_: 1 to recurse into sub-directories (_WeeChat ≥ 2.0_)
+* _recurse_subdirs_: 1 to recurse into sub-directories _(WeeChat ≥ 2.0)_
* _hidden_files_: 1 to include hidden files, otherwise 0
* _callback_: function called for each file found, arguments:
** _void *data_: pointer
@@ -7739,7 +7739,7 @@ Arguments:
* _context_: context for keys (see <<_key_bind,key_bind>>)
* _key_: key to remove or a special value "area:XXX" to remove all keys having
_XXX_ as first or second area; if the key starts with "quiet:", the keys
- removed are not displayed in _core_ buffer (_WeeChat ≥ 2.0_).
+ removed are not displayed in _core_ buffer _(WeeChat ≥ 2.0)_.
Return value:
@@ -7847,7 +7847,7 @@ Arguments:
** WeeChat color option name (from weechat.color.xxx), for example
_chat_delimiters_
** option name (format: file.section.option), for example
- _irc.color.message_quit_ (_WeeChat ≥ 1.2_)
+ _irc.color.message_quit_ _(WeeChat ≥ 1.2)_
** color with optional attributes/background (see below)
** attribute:
*** _bold_: set bold
@@ -14558,7 +14558,7 @@ Arguments:
* _command_: command to execute (if beginning with a "/"), or text to send to
buffer
-Return value (_WeeChat ≥ 1.1_):
+Return value _(WeeChat ≥ 1.1)_:
* _WEECHAT_RC_OK_ if successful
* _WEECHAT_RC_ERROR_ if error
diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc
index 7e3d7cc63..193ec1b3b 100644
--- a/doc/fr/weechat_plugin_api.fr.adoc
+++ b/doc/fr/weechat_plugin_api.fr.adoc
@@ -2234,7 +2234,7 @@ Paramètres :
** _extra_ : le comportement par défaut est juste de remplacer les variables
additionnelles (_extra_vars_), un autre comportement peut être sélectionné :
*** _eval_ : les variables additionnelles (_extra_vars_) sont évaluées
- elles-mêmes avant remplacement (_WeeChat ≥ 1.6_)
+ elles-mêmes avant remplacement _(WeeChat ≥ 1.6)_
** _regex_ : une expression regulière pour remplacer du texte dans _expr_ (qui
n'est alors pas évalué)
** _regex_replace_ : le texte de remplacement à utiliser avec _regex_, pour
@@ -2360,7 +2360,7 @@ Liste des opérateurs de comparaison qui peuvent être utilisés dans les condit
`+1+`
| `+=*+` +
- (_WeeChat ≥ 1.8_) |
+ _(WeeChat ≥ 1.8)_ |
Correspond au masque où le caractère joker "*" est autorisé (voir la fonction <<_string_match,string_match>>) |
`+abc def =* a*f+` +
`+abc def =* y*z+` |
@@ -2368,7 +2368,7 @@ Liste des opérateurs de comparaison qui peuvent être utilisés dans les condit
`+0+`
| `+!*+` +
- (_WeeChat ≥ 1.8_) |
+ _(WeeChat ≥ 1.8)_ |
Ne correspond PAS au masque où le caractère joker "*" est autorisé (voir la fonction <<_string_match,string_match>>) |
`+abc def !* a*f+` +
`+abc def !* y*z+` |
@@ -2438,8 +2438,8 @@ La comparaison est faite en utilisant des nombres à virgule si les deux express
sont des nombres valides, avec l'un de ces formats :
* entier (exemples : 5, -7)
-* nombre à virgule (exemples : 5.2, -7.5, 2.83e-2) (_WeeChat ≥ 2.0_)
-* nombre hexadécimal (exemples : 0xA3, -0xA3) (_WeeChat ≥ 2.0_)
+* nombre à virgule (exemples : 5.2, -7.5, 2.83e-2) _(WeeChat ≥ 2.0)_
+* nombre hexadécimal (exemples : 0xA3, -0xA3) _(WeeChat ≥ 2.0)_
Pour forcer une comparaison de chaînes, vous pouvez ajouter des guillemets autour
de chaque expression, par exemple :
@@ -2463,7 +2463,7 @@ première étendue à la dernière) :
`+valeur+`
| `+${eval:xxx}+` +
- (_WeeChat ≥ 1.3_) |
+ _(WeeChat ≥ 1.3)_ |
Chaîne à évaluer. |
`+${eval:${date:${weechat.look.buffer_time_format}}}+` |
`+19:02:45+` (avec des couleurs s'il y a des codes couleur dans l'option
@@ -2471,7 +2471,7 @@ première étendue à la dernière) :
| `+${esc:xxx}+` +
`+${\xxx}+` +
- (_WeeChat ≥ 1.0_) |
+ _(WeeChat ≥ 1.0)_ |
Chaîne avec caractères échappés. |
`+${esc:préfixe\tmessage}+` +
`+${\ua9}+` |
@@ -2479,7 +2479,7 @@ première étendue à la dernière) :
`+©+`
| `+${hide:x,chaîne}+` +
- (_WeeChat ≥ 1.1_) |
+ _(WeeChat ≥ 1.1)_ |
Chaîne avec les caractères masqués (tous les caractères dans `chaîne`
remplacés par `x`). |
`+${hide:*,mot_de_passe}+` |
@@ -2487,7 +2487,7 @@ première étendue à la dernière) :
| `+${cut:max,suffixe,chaîne}+` +
`+${cut:+max,suffixe,chaîne}+` +
- (_WeeChat ≥ 1.8_) |
+ _(WeeChat ≥ 1.8)_ |
Chaîne avec `max` caractères, et un `suffixe` facultatif si la chaîne est coupée. +
Avec le format `+max`, le suffixe est compté dans la longueur maximale. |
`+${cut:4,…,ceci est un test}+` +
@@ -2499,7 +2499,7 @@ première étendue à la dernière) :
| `+${cutscr:max,suffixe,chaîne}+` +
`+${cutscr:+max,suffixe,chaîne}+` +
- (_WeeChat ≥ 1.8_) |
+ _(WeeChat ≥ 1.8)_ |
Chaîne avec `max` caractères affichés à l'écran, et un `suffixe` facultatif si la chaîne est coupée. +
Avec le format `+max`, le suffixe est compté dans la longueur maximale. |
`+${cutscr:4,…,ceci est un test}+` +
@@ -2510,19 +2510,19 @@ première étendue à la dernière) :
`+こ>>+`
| `+${rev:xxx}+` +
- (_WeeChat ≥ 2.2_) |
+ _(WeeChat ≥ 2.2)_ |
Chaîne inversée. |
`+${rev:Bonjour !}+` |
`+! ruojnoB+`
| `+${repeat:nombre,chaîne}+` +
- (_WeeChat ≥ 2.3_) |
+ _(WeeChat ≥ 2.3)_ |
Chaîne répétée. |
`+${repeat:5,-}+` |
`+-----+`
| `+${length:xxx}+` +
- (_WeeChat ≥ 2.7_) |
+ _(WeeChat ≥ 2.7)_ |
Longueur de la chaîne (nombre de caractères UTF-8), les codes couleurs sont
ignorés. |
`+${length:test}+` +
@@ -2531,7 +2531,7 @@ première étendue à la dernière) :
`+7+`
| `+${lengthscr:xxx}+` +
- (_WeeChat ≥ 2.7_) |
+ _(WeeChat ≥ 2.7)_ |
Longueur de la chaîne affichée à l'écran, les codes couleurs sont ignorés. |
`+${lengthscr:test}+` +
`+${lengthscr:こんにちは世界}+` |
@@ -2539,10 +2539,10 @@ première étendue à la dernière) :
`+14+`
| `+${re:N}+` +
- (_WeeChat ≥ 1.1_) |
+ _(WeeChat ≥ 1.1)_ |
Groupe regex capturé : `0` = toute la chaîne correspondante,
`1` à `99` = groupe capturé, `+++` = dernier groupe capturé,
- `#` = index du dernier groupe capturé (_WeeChat ≥ 1.8_). |
+ `#` = index du dernier groupe capturé _(WeeChat ≥ 1.8)_. |
`+${re:0}+` +
`+${re:1}+` +
`+${re:2}+` +
@@ -2555,7 +2555,7 @@ première étendue à la dernière) :
`+2+`
| `+${color:nom}+` +
- (_WeeChat ≥ 0.4.2_) |
+ _(WeeChat ≥ 0.4.2)_ |
Code couleur WeeChat (le nom de couleur a des attributs facultatifs),
voir la fonction <<_color,color>> pour les formats supportés. |
`+${color:red}texte rouge+` +
@@ -2564,7 +2564,7 @@ première étendue à la dernière) :
`+texte orange gras+` (en orange gras)
| `+${modifier:name,data,string}+` +
- (_WeeChat ≥ 2.7_) |
+ _(WeeChat ≥ 2.7)_ |
Résultat d'un modificateur, voir la fonction
<<_hook_modifier_exec,hook_modifier_exec>>. |
`+${modifier:eval_path_home,,~}+` +
@@ -2574,7 +2574,7 @@ première étendue à la dernière) :
| `+${info:nom}+` +
`+${info:nom,paramètres}+` +
- (_WeeChat ≥ 0.4.3_) |
+ _(WeeChat ≥ 0.4.3)_ |
Info de WeeChat ou d'une extension, voir la fonction <<_info_get,info_get>>. |
`+${info:version}+` +
`+${info:nick_color_name,foo}+` |
@@ -2583,7 +2583,7 @@ première étendue à la dernière) :
| `+${date}+` +
`+${date:xxx}+` +
- (_WeeChat ≥ 1.3_) |
+ _(WeeChat ≥ 1.3)_ |
La date/heure courante, avec un format personnalisé (voir `man strftime`),
le format par défaut est `%F %T`. |
`+${date}+` +
@@ -2592,7 +2592,7 @@ première étendue à la dernière) :
`+19:02:45+`
| `+${env:NOM}+` +
- (_WeeChat ≥ 1.2_) |
+ _(WeeChat ≥ 1.2)_ |
Valeur de la variable d'environnement `NOM`. |
`+${env:HOME}+` |
`+/home/user+`
@@ -2600,7 +2600,7 @@ première étendue à la dernière) :
| `+${if:condition}+` +
`+${if:condition?vrai}+`
`+${if:condition?vrai:faux}+` +
- (_WeeChat ≥ 1.8_) |
+ _(WeeChat ≥ 1.8)_ |
Opérateur ternaire avec une condition, une valeur si la condition est vraie
(optionnelle) et une autre valeur si la condition est fausse (optionnelle).
Si les valeurs ne sont pas données, "1" ou "0" est retourné, selon le résultat
@@ -2609,7 +2609,7 @@ première étendue à la dernière) :
`+grand+`
| `+${calc:xxx}+` +
- (_WeeChat ≥ 2.7_) |
+ _(WeeChat ≥ 2.7)_ |
Résultat de l'expression, où les parenthèses et les opérateurs suivants sont
supportés : +
`+++` : addition +
@@ -3521,7 +3521,7 @@ void weechat_exec_on_files (const char *directory,
Paramètres :
* _directory_ : répertoire où chercher les fichiers
-* _recurse_subdirs_ : 1 pour entrer dans les sous-répertoires (_WeeChat ≥ 2.0_)
+* _recurse_subdirs_ : 1 pour entrer dans les sous-répertoires _(WeeChat ≥ 2.0)_
* _hidden_files_ : 1 pour inclure les fichiers cachés, sinon 0
* _callback_ : fonction appelée pour chaque fichier trouvé, paramètres :
** _void *data_ : pointeur
@@ -7862,7 +7862,7 @@ Paramètres :
* _key_ : touche à supprimer ou la valeur spéciale "area:XXX" pour supprimer
toutes les touches ayant _XXX_ comme première ou deuxième zone; si la touche
commence par "quiet:", les touches supprimées ne sont pas affichées dans le
- tampon _core_ (_WeeChat ≥ 2.0_).
+ tampon _core_ _(WeeChat ≥ 2.0)_.
Valeur de retour :
@@ -7970,7 +7970,7 @@ Paramètres :
** le nom d'une option de couleur WeeChat (de weechat.color.xxx), par exemple
_chat_delimiters_
** le nom d'une option (format : fichier.section.option), par exemple
- _irc.color.message_quit_ (_WeeChat ≥ 1.2_)
+ _irc.color.message_quit_ _(WeeChat ≥ 1.2)_
** une couleur avec des attributs/fond optionnels (voir ci-dessous)
** un attribut :
*** _bold_ : activer le gras
@@ -14878,7 +14878,7 @@ Paramètres :
* _command_ : commande à exécuter (si elle commence par "/"), ou texte à
envoyer au tampon
-Valeur de retour (_WeeChat ≥ 1.1_) :
+Valeur de retour _(WeeChat ≥ 1.1)_ :
* _WEECHAT_RC_OK_ si ok
* _WEECHAT_RC_ERROR_ si erreur
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc
index 8c165937b..3d7f76a45 100644
--- a/doc/it/weechat_plugin_api.it.adoc
+++ b/doc/it/weechat_plugin_api.it.adoc
@@ -2287,7 +2287,7 @@ Argomenti:
** _extra_: default behavior is to just replace extra variables (_extra_vars_),
other behavior can be selected:
*** _eval_: extra variables (_extra_vars_) are evaluated themselves before
- replacing (_WeeChat ≥ 1.6_)
+ replacing _(WeeChat ≥ 1.6)_
** _regex_: a regex used to replace text in _expr_ (which is then not
evaluated)
** _regex_replace_: the replacement text to use with _regex_, to replace
@@ -2417,7 +2417,7 @@ from first used to last):
`+1+`
| `+=*+` +
- (_WeeChat ≥ 1.8_) |
+ _(WeeChat ≥ 1.8)_ |
Is matching mask where "*" is allowed (see function <<_string_match,string_match>>) |
`+abc def =* a*f+` +
`+abc def =* y*z+` |
@@ -2425,7 +2425,7 @@ from first used to last):
`+0+`
| `+!*+` +
- (_WeeChat ≥ 1.8_) |
+ _(WeeChat ≥ 1.8)_ |
Is NOT matching mask where "*" is allowed (see function <<_string_match,string_match>>) |
`+abc def !* a*f+` +
`+abc def !* y*z+` |
@@ -2496,8 +2496,8 @@ The comparison is made using floating point numbers if the two expressions are
valid numbers, with one of the following formats:
* integer (examples: 5, -7)
-* floating point number (examples: 5.2, -7.5, 2.83e-2) (_WeeChat ≥ 2.0_)
-* hexadecimal number (examples: 0xA3, -0xA3) (_WeeChat ≥ 2.0_)
+* floating point number (examples: 5.2, -7.5, 2.83e-2) _(WeeChat ≥ 2.0)_
+* hexadecimal number (examples: 0xA3, -0xA3) _(WeeChat ≥ 2.0)_
// TRANSLATION MISSING
To force a string comparison, you can add double quotes around each expression,
@@ -2525,7 +2525,7 @@ expanded to last):
`+value+`
| `+${eval:xxx}+` +
- (_WeeChat ≥ 1.3_) |
+ _(WeeChat ≥ 1.3)_ |
String to evaluate. |
`+${eval:${date:${weechat.look.buffer_time_format}}}+` |
`+19:02:45+` (with colors if there are color codes in the option
@@ -2533,7 +2533,7 @@ expanded to last):
| `+${esc:xxx}+` +
`+${\xxx}+` +
- (_WeeChat ≥ 1.0_) |
+ _(WeeChat ≥ 1.0)_ |
String with escaped chars. |
`+${esc:prefix\tmessage}+` +
`+${\ua9}+` |
@@ -2541,14 +2541,14 @@ expanded to last):
`+©+`
| `+${hide:x,string}+` +
- (_WeeChat ≥ 1.1_) |
+ _(WeeChat ≥ 1.1)_ |
String with hidden chars (all chars in `string` replaced `x`). |
`+${hide:*,password}+` |
`+********+`
| `+${cut:max,suffix,string}+` +
`+${cut:+max,suffix,string}+` +
- (_WeeChat ≥ 1.8_) |
+ _(WeeChat ≥ 1.8)_ |
String with `max` chars, and optional `suffix` if string is cut. +
With the format `+max`, the suffix is counted in max length. |
`+${cut:4,…,this is a test}+` +
@@ -2560,7 +2560,7 @@ expanded to last):
| `+${cutscr:max,suffix,string}+` +
`+${cutscr:+max,suffix,string}+` +
- (_WeeChat ≥ 1.8_) |
+ _(WeeChat ≥ 1.8)_ |
String with `max` chars displayed on screen, and optional `suffix` if string is cut. +
With the format `+max`, the suffix is counted in max length. |
`+${cutscr:4,…,this is a test}+` +
@@ -2571,19 +2571,19 @@ expanded to last):
`+こ>>+`
| `+${rev:xxx}+` +
- (_WeeChat ≥ 2.2_) |
+ _(WeeChat ≥ 2.2)_ |
Reversed string. |
`+${rev:Hello, world!}+` |
`+!dlrow ,olleH+`
| `+${repeat:count,string}+` +
- (_WeeChat ≥ 2.3_) |
+ _(WeeChat ≥ 2.3)_ |
Repeated string. |
`+${repeat:5,-}+` |
`+-----+`
| `+${length:xxx}+` +
- (_WeeChat ≥ 2.7_) |
+ _(WeeChat ≥ 2.7)_ |
Length of string (number of UTF-8 chars), color codes are ignored. |
`+${length:test}+` +
`+${length:こんにちは世界}+` |
@@ -2591,7 +2591,7 @@ expanded to last):
`+7+`
| `+${lengthscr:xxx}+` +
- (_WeeChat ≥ 2.7_) |
+ _(WeeChat ≥ 2.7)_ |
Length of string displayed on screen, color codes are ignored. |
`+${lengthscr:test}+` +
`+${lengthscr:こんにちは世界}+` |
@@ -2599,10 +2599,10 @@ expanded to last):
`+14+`
| `+${re:N}+` +
- (_WeeChat ≥ 1.1_) |
+ _(WeeChat ≥ 1.1)_ |
Regex captured group: `0` = whole string matching, `1` to `99` = group
captured, `+++` = last group captured,
- `#` = index of last group captured (_WeeChat ≥ 1.8_). |
+ `#` = index of last group captured _(WeeChat ≥ 1.8)_. |
`+${re:0}+` +
`+${re:1}+` +
`+${re:2}+` +
@@ -2615,7 +2615,7 @@ expanded to last):
`+2+`
| `+${color:name}+` +
- (_WeeChat ≥ 0.4.2_) |
+ _(WeeChat ≥ 0.4.2)_ |
WeeChat color code (the name of color has optional attributes),
see function <<_color,color>> for supported formats. |
`+${color:red}red text+` +
@@ -2624,7 +2624,7 @@ expanded to last):
`+bold orange text+` (in bold orange)
| `+${modifier:name,data,string}+` +
- (_WeeChat ≥ 2.7_) |
+ _(WeeChat ≥ 2.7)_ |
Result of a modifier, see function
<<_hook_modifier_exec,hook_modifier_exec>>. |
`+${modifier:eval_path_home,,~}+` +
@@ -2634,7 +2634,7 @@ expanded to last):
| `+${info:name}+` +
`+${info:name,arguments}+` +
- (_WeeChat ≥ 0.4.3_) |
+ _(WeeChat ≥ 0.4.3)_ |
Info from WeeChat or a plugin, see function <<_info_get,info_get>>. |
`+${info:version}+` +
`+${info:nick_color_name,foo}+` |
@@ -2643,7 +2643,7 @@ expanded to last):
| `+${date}+` +
`+${date:xxx}+` +
- (_WeeChat ≥ 1.3_) |
+ _(WeeChat ≥ 1.3)_ |
Current date/time, with custom format (see `man strftime`),
default format is `%F %T`. |
`+${date}+` +
@@ -2652,7 +2652,7 @@ expanded to last):
`+19:02:45+`
| `+${env:NAME}+` +
- (_WeeChat ≥ 1.2_) |
+ _(WeeChat ≥ 1.2)_ |
Value of the environment variable `NAME`. |
`+${env:HOME}+` |
`+/home/user+`
@@ -2660,7 +2660,7 @@ expanded to last):
| `+${if:condition}+` +
`+${if:condition?true}+`
`+${if:condition?true:false}+` +
- (_WeeChat ≥ 1.8_) |
+ _(WeeChat ≥ 1.8)_ |
Ternary operator with a condition, a value if the condition is true (optional)
and another value if the condition is false (optional). If values are not
given, "1" or "0" are returned, according to the result of the condition. |
@@ -2668,7 +2668,7 @@ expanded to last):
`+big+`
| `+${calc:xxx}+` +
- (_WeeChat ≥ 2.7_) |
+ _(WeeChat ≥ 2.7)_ |
Result of expression, where parentheses and the following operators are
supported: +
`+++`: addition +
@@ -3602,7 +3602,7 @@ Argomenti:
* _directory_: cartella in cui cercare i file
// TRANSLATION MISSING
-* _recurse_subdirs_: 1 to recurse into sub-directories (_WeeChat ≥ 2.0_)
+* _recurse_subdirs_: 1 to recurse into sub-directories _(WeeChat ≥ 2.0)_
* _hidden_files_: 1 per includere i file nascosti, altrimenti 0
* _callback_: funzione chiamata per ogni file trovato, argomenti:
** _void *data_: puntatore
@@ -7996,7 +7996,7 @@ Argomenti:
// TRANSLATION MISSING
* _key_: tasto da rimuovere o un valore speciale "area:XXX" per rimuovere tutti
i tasti che hanno _XXX_ come prima o seconda area; if the key starts with
- "quiet:", the keys removed are not displayed in _core_ buffer (_WeeChat ≥ 2.0_).
+ "quiet:", the keys removed are not displayed in _core_ buffer _(WeeChat ≥ 2.0)_.
Valore restituito:
@@ -8108,7 +8108,7 @@ Argomenti:
_chat_delimiters_
// TRANSLATION MISSING
** option name (format: file.section.option), for example
- _irc.color.message_quit_ (_WeeChat ≥ 1.2_)
+ _irc.color.message_quit_ _(WeeChat ≥ 1.2)_
** colore con attributi/sfondo opzionali (vedi sotto)
** attributo:
*** _bold_: imposta grassetto
@@ -15145,7 +15145,7 @@ Argomenti:
* _command_: comando da eseguire (se preceduto da "/"), oppure il testo
viene inviato sul buffer
-Valori restituiti (_WeeChat ≥ 1.1_):
+Valori restituiti _(WeeChat ≥ 1.1)_:
* _WEECHAT_RC_OK_ se l'operazione ha successo
* _WEECHAT_RC_ERROR_ se c'è un errore
diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc
index ce438bb9e..c04b26c3c 100644
--- a/doc/ja/weechat_plugin_api.ja.adoc
+++ b/doc/ja/weechat_plugin_api.ja.adoc
@@ -2203,7 +2203,7 @@ char *weechat_string_eval_expression (const char *expr,
** _extra_: デフォルトの挙動では追加変数 (_extra_vars_)
を単純に置換するだけですが、この挙動を変更します。設定可能な値は以下です:
*** _eval_: 置換前に追加変数 (_extra_vars_)
- を評価します (_WeeChat バージョン 1.6 以上で利用可_)
+ を評価します _(WeeChat バージョン 1.6 以上で利用可)_
** _regex_: _expr_ のテキストを置換する正規表現
(この場合 _expr_ は評価されません)
** _regex_replace_: _regex_ と一緒に使われる置換テキスト、_expr_
@@ -2327,7 +2327,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
`+1+`
| `+=*+` +
- (_WeeChat バージョン 1.8 以上で利用可_) |
+ _(WeeChat バージョン 1.8 以上で利用可)_ |
マスクにマッチ、"*" を指定できます (関数 <<_string_match,string_match>> を確認してください) |
`+abc def =* a*f+` +
`+abc def =* y*z+` |
@@ -2335,7 +2335,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
`+0+`
| `+!*+` +
- (_WeeChat バージョン 1.8 以上で利用可_) |
+ _(WeeChat バージョン 1.8 以上で利用可)_ |
マスクにマッチしない、"*" を指定できます (関数 <<_string_match,string_match>> を確認してください) |
`+abc def !* a*f+` +
`+abc def !* y*z+` |
@@ -2404,8 +2404,8 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
浮動小数点数として比較される数値表現の書式は以下です:
* 整数 (例: 5、-7)
-* 浮動小数点数 (例: 5.2、-7.5、2.83e-2) (_WeeChat バージョン 2.0 以上で利用可_)
-* 16 進数 (例: 0xA3、-0xA3) (_WeeChat バージョン 2.0 以上で利用可_)
+* 浮動小数点数 (例: 5.2、-7.5、2.83e-2) _(WeeChat バージョン 2.0 以上で利用可)_
+* 16 進数 (例: 0xA3、-0xA3) _(WeeChat バージョン 2.0 以上で利用可)_
数値表現を二重引用符で括ることで、文字列として比較されます。例:
@@ -2428,7 +2428,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
`+value+`
| `+${eval:xxx}+` +
- (_WeeChat バージョン 1.3 以上で利用可_) |
+ _(WeeChat バージョン 1.3 以上で利用可)_ |
評価する文字列 |
`+${eval:${date:${weechat.look.buffer_time_format}}}+` |
`+19:02:45+` (オプション weechat.look.buffer_time_format
@@ -2436,7 +2436,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
| `+${esc:xxx}+` +
`+${\xxx}+` +
- (_WeeChat バージョン 1.0 以上で利用可_) |
+ _(WeeChat バージョン 1.0 以上で利用可)_ |
エスケープ文字を含む文字列 |
`+${esc:prefix\tmessage}+` +
`+${\ua9}+` |
@@ -2451,7 +2451,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
| `+${cut:max,suffix,string}+` +
`+${cut:+max,suffix,string}+` +
- (_WeeChat バージョン 1.8 以上で利用可_) |
+ _(WeeChat バージョン 1.8 以上で利用可)_ |
`string` の先頭 `max` 文字とオプションの `suffix` 文字 (`string` の文字数が `max` 文字を超える場合) +
`+max` を使った場合、`max` 文字にはサフィックスの文字数も含まれます。|
`+${cut:4,…,this is a test}+` +
@@ -2463,7 +2463,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
| `+${cutscr:max,suffix,string}+` +
`+${cutscr:+max,suffix,string}+` +
- (_WeeChat バージョン 1.8 以上で利用可_) |
+ _(WeeChat バージョン 1.8 以上で利用可)_ |
`string` の先頭 `max` 文字 (半角文字幅換算) とオプションの `suffix` 文字 (`string` の文字数が `max` 文字を超える場合) +
`+max` を使った場合、`max` 文字にはサフィックスの文字数も含まれます。|
`+${cutscr:4,…,this is a test}+` +
@@ -2474,20 +2474,20 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
`+こ>>+`
| `+${rev:xxx}+` +
- (_WeeChat バージョン 2.2 以上で利用可_) |
+ _(WeeChat バージョン 2.2 以上で利用可)_ |
文字順を反転させた文字列。|
`+${rev:Hello, world!}+` |
`+!dlrow ,olleH+`
| `+${repeat:count,string}+` +
- (_WeeChat バージョン 2.3 以上で利用可_) |
+ _(WeeChat バージョン 2.3 以上で利用可)_ |
繰り返し文字列。|
`+${repeat:5,-}+` |
`+-----+`
// TRANSLATION MISSING
| `+${length:xxx}+` +
- (_WeeChat ≥ 2.7_) |
+ _(WeeChat ≥ 2.7)_ |
Length of string (number of UTF-8 chars), color codes are ignored. |
`+${length:test}+` +
`+${length:こんにちは世界}+` |
@@ -2496,7 +2496,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
// TRANSLATION MISSING
| `+${lengthscr:xxx}+` +
- (_WeeChat ≥ 2.7_) |
+ _(WeeChat ≥ 2.7)_ |
Length of string displayed on screen, color codes are ignored. |
`+${lengthscr:test}+` +
`+${lengthscr:こんにちは世界}+` |
@@ -2504,10 +2504,10 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
`+14+`
| `+${re:N}+` +
- (_WeeChat バージョン 1.1 以上で利用可_) |
+ _(WeeChat バージョン 1.1 以上で利用可)_ |
正規表現のキャプチャグループ: `0` = マッチするすべての文字列、`1` から `99` =
キャプチャされたグループ、`+++` = 最後にキャプチャされたグループ、
- `#` = 最後にキャプチャされたグループのインデックス番号 (_WeeChat バージョン 1.8 以上で利用可_) |
+ `#` = 最後にキャプチャされたグループのインデックス番号 _(WeeChat バージョン 1.8 以上で利用可)_ |
`+${re:0}+` +
`+${re:1}+` +
`+${re:2}+` +
@@ -2520,7 +2520,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
`+2+`
| `+${color:name}+` +
- (_WeeChat バージョン 0.4.2 以上で利用可_) |
+ _(WeeChat バージョン 0.4.2 以上で利用可)_ |
WeeChat 色コード (色名部分はオプション属性をとることも可能です),
書式を確認するには関数 <<_color,color>> をご確認ください |
`+${color:red}red text+` +
@@ -2530,7 +2530,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
// TRANSLATION MISSING
| `+${modifier:name,data,string}+` +
- (_WeeChat バージョン 2.7 以上で利用可_) |
+ _(WeeChat バージョン 2.7 以上で利用可)_ |
Result of a modifier, see function
<<_hook_modifier_exec,hook_modifier_exec>>. |
`+${modifier:eval_path_home,,~}+` +
@@ -2540,7 +2540,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
| `+${info:name}+` +
`+${info:name,arguments}+` +
- (_WeeChat バージョン 0.4.3 以上で利用可_) |
+ _(WeeChat バージョン 0.4.3 以上で利用可)_ |
WeeChat またはプラグインのインフォ、<<_info_get,info_get>>
を参照 |
`+${info:version}+` +
@@ -2550,7 +2550,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
| `+${date}+` +
`+${date:xxx}+` +
- (_WeeChat バージョン 1.3 以上で利用可_) |
+ _(WeeChat バージョン 1.3 以上で利用可)_ |
現在の日付/時刻、カスタム書式を使うことも可能です (`man strftime` を参照)、
デフォルト書式は `%F %T` |
`+${date}+` +
@@ -2559,7 +2559,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
`+19:02:45+`
| `+${env:NAME}+` +
- (_WeeChat バージョン 1.2 以上で利用可_) |
+ _(WeeChat バージョン 1.2 以上で利用可)_ |
環境変数 `NAME` の値 |
`+${env:HOME}+` |
`+/home/user+`
@@ -2567,7 +2567,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
| `+${if:condition}+` +
`+${if:condition?true}+`
`+${if:condition?true:false}+` +
- (_WeeChat バージョン 1.8 以上で利用可_) |
+ _(WeeChat バージョン 1.8 以上で利用可)_ |
条件、条件が真の場合の値 (任意)、条件が偽の場合の値 (任意)
からなる三項演算子。値を指定しなかった場合、条件の評価結果に応じて
"1" または "0" が返されます |
@@ -2576,7 +2576,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
// TRANSLATION MISSING
| `+${calc:xxx}+` +
- (_WeeChat バージョン 2.7 以上で利用可_) |
+ _(WeeChat バージョン 2.7 以上で利用可)_ |
Result of expression, where parentheses and the following operators are
supported: +
`+++`: addition +
@@ -3474,7 +3474,7 @@ void weechat_exec_on_files (const char *directory,
引数:
* _directory_: ファイルを検索するディレクトリ
-* _recurse_subdirs_: サブディレクトリ内を再帰的に探す場合は 1 (_WeeChat バージョン 2.0 以上で利用可_)
+* _recurse_subdirs_: サブディレクトリ内を再帰的に探す場合は 1 _(WeeChat バージョン 2.0 以上で利用可)_
* _hidden_files_: 検索対象に隠しファイルを含める場合は 1、含めない場合は 0
* _callback_: 各ファイルに対して呼び出すコールバック関数、引数:
** _void *data_: ポインタ
@@ -7713,7 +7713,7 @@ int weechat_key_unbind (const char *context, const char *key);
* _key_: 削除するキーまたは特殊値 "area:XXX" で1 番目または 2
番目の領域から _XXX_ をもつすべてのキーを削除しますが、
キーの先頭に "quiet:" を付けた場合には、削除されたキーを _core_
- バッファに表示しません (_WeeChat バージョン 2.0 以上で利用可_)。
+ バッファに表示しません _(WeeChat バージョン 2.0 以上で利用可)_。
戻り値:
@@ -7821,7 +7821,7 @@ const char *weechat_color (const char *color_name);
** WeeChat 色オプション名 (weechat.color.xxx の xxx)、例えば
_chat_delimiters_
** オプション名 (書式: file.section.option)、例えば
- _irc.color.message_quit_ (_WeeChat バージョン 1.2 以上で利用可_)
+ _irc.color.message_quit_ _(WeeChat バージョン 1.2 以上で利用可)_
** 任意で属性や背景色を指定した色 (以下を参照)
** 属性:
*** _bold_: 太字を有効
@@ -14530,7 +14530,7 @@ int weechat_command (struct t_gui_buffer *buffer, const char *command);
* _command_: 実行するコマンド ("/"
で始まっている場合)、またはバッファに送信するテキスト
-戻り値 (_WeeChat バージョン 1.1 以上で利用可_):
+戻り値 _(WeeChat バージョン 1.1 以上で利用可)_:
* _WEECHAT_RC_OK_ 成功した場合
* _WEECHAT_RC_ERROR_ エラーが起きた場合