summaryrefslogtreecommitdiff
path: root/doc/ru
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ru')
-rw-r--r--doc/ru/CMakeLists.txt2
-rw-r--r--doc/ru/Makefile.am5
-rw-r--r--doc/ru/cmdline_options.ru.adoc21
-rw-r--r--doc/ru/cmdline_options_debug.ru.adoc16
-rw-r--r--doc/ru/weechat-headless.1.ru.adoc4
-rw-r--r--doc/ru/weechat.1.ru.adoc4
6 files changed, 27 insertions, 25 deletions
diff --git a/doc/ru/CMakeLists.txt b/doc/ru/CMakeLists.txt
index 8e2991c64..12c93b4b4 100644
--- a/doc/ru/CMakeLists.txt
+++ b/doc/ru/CMakeLists.txt
@@ -25,7 +25,6 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.ru.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ru.adoc
- ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ru.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.ru.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.ru.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.ru.adoc
@@ -42,7 +41,6 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.ru.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ru.adoc
- ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ru.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.ru.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.ru.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.ru.adoc
diff --git a/doc/ru/Makefile.am b/doc/ru/Makefile.am
index 13c72c1e2..71cbde816 100644
--- a/doc/ru/Makefile.am
+++ b/doc/ru/Makefile.am
@@ -24,7 +24,6 @@ EXTRA_DIST = CMakeLists.txt \
weechat.1.ru.adoc \
weechat-headless.1.ru.adoc \
cmdline_options.ru.adoc \
- cmdline_options_debug.ru.adoc \
weechat_quickstart.ru.adoc
if MAN
@@ -41,9 +40,9 @@ endif
all-local: $(man_targets) $(doc_targets)
# man pages
-weechat.1: weechat.1.ru.adoc cmdline_options.ru.adoc cmdline_options_debug.ru.adoc
+weechat.1: weechat.1.ru.adoc cmdline_options.ru.adoc
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/ru/weechat.1.ru.adoc
-weechat-headless.1: weechat-headless.1.ru.adoc cmdline_options.ru.adoc cmdline_options_debug.ru.adoc
+weechat-headless.1: weechat-headless.1.ru.adoc cmdline_options.ru.adoc
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/ru/weechat-headless.1.ru.adoc
# quickstart
diff --git a/doc/ru/cmdline_options.ru.adoc b/doc/ru/cmdline_options.ru.adoc
index 6607119c8..be715a69c 100644
--- a/doc/ru/cmdline_options.ru.adoc
+++ b/doc/ru/cmdline_options.ru.adoc
@@ -1,3 +1,4 @@
+// tag::standard[]
*-a*, *--no-connect*::
Отключить автоподключение к серверу при старте WeeChat.
@@ -66,3 +67,23 @@
*<плагин>:<параметр>*::
Задать параметр плагина.
+// end::standard[]
+
+// tag::debug[]
+// TRANSLATION MISSING
+*--no-dlclose*::
+ Do not call the function dlclose after plugins are unloaded.
+ This is useful with tools like Valgrind to display stack for unloaded
+ plugins.
+
+// TRANSLATION MISSING
+*--no-gnutls*::
+ Do not call the init and deinit functions of GnuTLS library.
+ This is useful with tools like Valgrind and electric-fence, to prevent
+ GnuTLS memory errors.
+
+// TRANSLATION MISSING
+*--no-gcrypt*::
+ Do not call the init and deinit functions of Gcrypt library.
+ This is useful with tools like Valgrind, to prevent Gcrypt memory errors.
+// end::debug[]
diff --git a/doc/ru/cmdline_options_debug.ru.adoc b/doc/ru/cmdline_options_debug.ru.adoc
deleted file mode 100644
index 5e88ef3ae..000000000
--- a/doc/ru/cmdline_options_debug.ru.adoc
+++ /dev/null
@@ -1,16 +0,0 @@
-// TRANSLATION MISSING
-*--no-dlclose*::
- Do not call the function dlclose after plugins are unloaded.
- This is useful with tools like Valgrind to display stack for unloaded
- plugins.
-
-// TRANSLATION MISSING
-*--no-gnutls*::
- Do not call the init and deinit functions of GnuTLS library.
- This is useful with tools like Valgrind and electric-fence, to prevent
- GnuTLS memory errors.
-
-// TRANSLATION MISSING
-*--no-gcrypt*::
- Do not call the init and deinit functions of Gcrypt library.
- This is useful with tools like Valgrind, to prevent Gcrypt memory errors.
diff --git a/doc/ru/weechat-headless.1.ru.adoc b/doc/ru/weechat-headless.1.ru.adoc
index fc5a1d532..460b99794 100644
--- a/doc/ru/weechat-headless.1.ru.adoc
+++ b/doc/ru/weechat-headless.1.ru.adoc
@@ -34,14 +34,14 @@ It can be used for tests or to daemonize WeeChat with the option "--daemon".
== ПАРАМЕТРЫ
-include::cmdline_options.ru.adoc[]
+include::cmdline_options.ru.adoc[tag=standard]
// TRANSLATION MISSING
== DEBUG OPTIONS
*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
-include::cmdline_options_debug.ru.adoc[]
+include::cmdline_options.ru.adoc[tag=debug]
== ПАРАМЕТРЫ ПЛАГИНОВ
diff --git a/doc/ru/weechat.1.ru.adoc b/doc/ru/weechat.1.ru.adoc
index c13b5fb71..32af1dd7d 100644
--- a/doc/ru/weechat.1.ru.adoc
+++ b/doc/ru/weechat.1.ru.adoc
@@ -29,14 +29,14 @@ WeeChat (Wee Enhanced Environment for Chat) это свободный чат-к
== ПАРАМЕТРЫ
-include::cmdline_options.ru.adoc[]
+include::cmdline_options.ru.adoc[tag=standard]
// TRANSLATION MISSING
== DEBUG OPTIONS
*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
-include::cmdline_options_debug.ru.adoc[]
+include::cmdline_options.ru.adoc[tag=debug]
== ПАРАМЕТРЫ ПЛАГИНОВ