diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-03-12 16:08:19 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-03-12 16:08:19 +0100 |
commit | 878118777153b024303a59c3c1144ace3a49c0f6 (patch) | |
tree | c376f8b373e290f689d4bb9755ffc189524478b5 | |
parent | 197a7a01e458255a578c99c7f477dd0bec7e3a47 (diff) | |
download | weechat-878118777153b024303a59c3c1144ace3a49c0f6.zip |
doc/scripting: translate note about Tcl constant $::weechat::WEECHAT_NULL
-rw-r--r-- | doc/de/weechat_scripting.de.adoc | 7 | ||||
-rw-r--r-- | doc/en/weechat_scripting.en.adoc | 2 | ||||
-rw-r--r-- | doc/fr/weechat_scripting.fr.adoc | 7 | ||||
-rw-r--r-- | doc/it/weechat_scripting.it.adoc | 6 | ||||
-rw-r--r-- | doc/ja/weechat_scripting.ja.adoc | 7 | ||||
-rw-r--r-- | doc/pl/weechat_scripting.pl.adoc | 7 | ||||
-rw-r--r-- | doc/sr/weechat_scripting.sr.adoc | 7 |
7 files changed, 42 insertions, 1 deletions
diff --git a/doc/de/weechat_scripting.de.adoc b/doc/de/weechat_scripting.de.adoc index 15b4dfc66..d99a4f033 100644 --- a/doc/de/weechat_scripting.de.adoc +++ b/doc/de/weechat_scripting.de.adoc @@ -205,6 +205,13 @@ Funktionen werden aufgerufen mittels `+weechat.xxx(arg1, arg2, ...)+`. Funktionen werden aufgerufen mittels `+weechat::xxx arg1 arg2 ...+`. +// TRANSLATION MISSING +Since Tcl only has string types, there's no null type to pass as an argument +when a function accepts null values. To overcome this you can use the constant +`$::weechat::WEECHAT_NULL` which acts as a null value. This constant is defined +as `\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF`, so it's very unlikely to +appear intentionally. + [[language_guile]] ==== Guile (Scheme) diff --git a/doc/en/weechat_scripting.en.adoc b/doc/en/weechat_scripting.en.adoc index f310d1de3..10c353b99 100644 --- a/doc/en/weechat_scripting.en.adoc +++ b/doc/en/weechat_scripting.en.adoc @@ -199,7 +199,7 @@ Since Tcl only has string types, there's no null type to pass as an argument when a function accepts null values. To overcome this you can use the constant `$::weechat::WEECHAT_NULL` which acts as a null value. This constant is defined as `\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF`, so it's very unlikely to -appear unintentionally. +appear intentionally. [[language_guile]] ==== Guile (Scheme) diff --git a/doc/fr/weechat_scripting.fr.adoc b/doc/fr/weechat_scripting.fr.adoc index e163847d1..5fc93e59b 100644 --- a/doc/fr/weechat_scripting.fr.adoc +++ b/doc/fr/weechat_scripting.fr.adoc @@ -205,6 +205,13 @@ Les fonctions sont appelées par `+weechat.xxx(arg1, arg2, ...)+`. Les fonctions sont appelées par `+weechat::xxx arg1 arg2 ...+`. +Étant donné que Tcl n'a que des types "string", il n'y a pas de type null à +donner comme paramètre quand une fonctionne accepte des valeurs nulles. +Pour surmonter cela vous pouvez utiliser la constante `$::weechat::WEECHAT_NULL` +qui agit comme la valeur nulle. Cette constante est définie avec la valeur +`\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF`, il est donc très peu probable +qu'elle apparaisse intentionnellement. + [[language_guile]] ==== Guile (Scheme) diff --git a/doc/it/weechat_scripting.it.adoc b/doc/it/weechat_scripting.it.adoc index 4e7735762..ea4b2cf7b 100644 --- a/doc/it/weechat_scripting.it.adoc +++ b/doc/it/weechat_scripting.it.adoc @@ -213,6 +213,12 @@ Functions are called with `+weechat.xxx(arg1, arg2, ...)+`. Functions are called with `+weechat::xxx arg1 arg2 ...+`. +Since Tcl only has string types, there's no null type to pass as an argument +when a function accepts null values. To overcome this you can use the constant +`$::weechat::WEECHAT_NULL` which acts as a null value. This constant is defined +as `\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF`, so it's very unlikely to +appear intentionally. + [[language_guile]] ==== Guile (Scheme) diff --git a/doc/ja/weechat_scripting.ja.adoc b/doc/ja/weechat_scripting.ja.adoc index f82e4818d..426e09fdd 100644 --- a/doc/ja/weechat_scripting.ja.adoc +++ b/doc/ja/weechat_scripting.ja.adoc @@ -210,6 +210,13 @@ Functions are called with `+weechat.xxx(arg1, arg2, ...)+`. Functions are called with `+weechat::xxx arg1 arg2 ...+`. +// TRANSLATION MISSING +Since Tcl only has string types, there's no null type to pass as an argument +when a function accepts null values. To overcome this you can use the constant +`$::weechat::WEECHAT_NULL` which acts as a null value. This constant is defined +as `\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF`, so it's very unlikely to +appear intentionally. + [[language_guile]] ==== Guile (Scheme) diff --git a/doc/pl/weechat_scripting.pl.adoc b/doc/pl/weechat_scripting.pl.adoc index 17d45717f..78af6f250 100644 --- a/doc/pl/weechat_scripting.pl.adoc +++ b/doc/pl/weechat_scripting.pl.adoc @@ -200,6 +200,13 @@ Funkcje są wywoływane za pomocą `+weechat.xxx(arg1, arg2, ...)+`. Funkcje są wywoływane za pomocą `+weechat::xxx arg1 arg2 ...+`. +// TRANSLATION MISSING +Since Tcl only has string types, there's no null type to pass as an argument +when a function accepts null values. To overcome this you can use the constant +`$::weechat::WEECHAT_NULL` which acts as a null value. This constant is defined +as `\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF`, so it's very unlikely to +appear intentionally. + [[language_guile]] ==== Guile (Scheme) diff --git a/doc/sr/weechat_scripting.sr.adoc b/doc/sr/weechat_scripting.sr.adoc index c311ddc32..76437b79a 100644 --- a/doc/sr/weechat_scripting.sr.adoc +++ b/doc/sr/weechat_scripting.sr.adoc @@ -177,6 +177,13 @@ Weechat.bar_new("name", "off", "0", "window", "", "left", "vertical", "vertical" Функције се позивају са `+weechat::xxx арг1 арг2 ...+`. +// TRANSLATION MISSING +Since Tcl only has string types, there's no null type to pass as an argument +when a function accepts null values. To overcome this you can use the constant +`$::weechat::WEECHAT_NULL` which acts as a null value. This constant is defined +as `\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF`, so it's very unlikely to +appear intentionally. + [[language_guile]] ==== Guile (Scheme) |