|
|
@ -1,14 +1,51 @@
|
|
|
|
From 8a4f35f1b38d57a8585fd91bf3a7d23ab8ca98e1 Mon Sep 17 00:00:00 2001
|
|
|
|
From 288fc8681cd3904b64f91bcce00fce56d92cfc5a Mon Sep 17 00:00:00 2001
|
|
|
|
From: Sergey Cherevko <s.cherevko@msvsphere-os.ru>
|
|
|
|
From: Sergey Cherevko <s.cherevko@msvsphere-os.ru>
|
|
|
|
Date: Thu, 25 Apr 2024 18:09:50 +0300
|
|
|
|
Date: Sat, 27 Apr 2024 11:17:14 +0300
|
|
|
|
Subject: [PATCH] Added Russian translation
|
|
|
|
Subject: [PATCH] Added Russian translation
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
---
|
|
|
|
|
|
|
|
ping/ping_common.c | 11 +-
|
|
|
|
po/LINGUAS | 1 +
|
|
|
|
po/LINGUAS | 1 +
|
|
|
|
po/ru.po | 1764 ++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
po/ru.po | 1773 ++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
2 files changed, 1765 insertions(+)
|
|
|
|
3 files changed, 1779 insertions(+), 6 deletions(-)
|
|
|
|
create mode 100644 po/ru.po
|
|
|
|
create mode 100644 po/ru.po
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/ping/ping_common.c b/ping/ping_common.c
|
|
|
|
|
|
|
|
index 33e6003..8137b26 100644
|
|
|
|
|
|
|
|
--- a/ping/ping_common.c
|
|
|
|
|
|
|
|
+++ b/ping/ping_common.c
|
|
|
|
|
|
|
|
@@ -42,7 +42,7 @@ static uid_t euid;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void usage(void)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
- fprintf(stderr,
|
|
|
|
|
|
|
|
+ fprintf(stderr, _(
|
|
|
|
|
|
|
|
"\nUsage\n"
|
|
|
|
|
|
|
|
" ping [options] <destination>\n"
|
|
|
|
|
|
|
|
"\nOptions:\n"
|
|
|
|
|
|
|
|
@@ -83,8 +83,7 @@ void usage(void)
|
|
|
|
|
|
|
|
" -6 use IPv6\n"
|
|
|
|
|
|
|
|
" -F <flowlabel> define flow label, default is random\n"
|
|
|
|
|
|
|
|
" -N <nodeinfo opt> use icmp6 node info query, try <help> as argument\n"
|
|
|
|
|
|
|
|
- "\nFor more details see ping(8).\n"
|
|
|
|
|
|
|
|
- );
|
|
|
|
|
|
|
|
+ "\nFor more details see ping(8).\n"));
|
|
|
|
|
|
|
|
exit(2);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -886,9 +885,9 @@ int finish(struct ping_rts *rts)
|
|
|
|
|
|
|
|
printf(_(", +%ld errors"), rts->nerrors);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (rts->ntransmitted) {
|
|
|
|
|
|
|
|
-#ifdef USE_IDN
|
|
|
|
|
|
|
|
- setlocale(LC_ALL, "C");
|
|
|
|
|
|
|
|
-#endif
|
|
|
|
|
|
|
|
+//#ifdef USE_IDN
|
|
|
|
|
|
|
|
+// setlocale(LC_ALL, "C");
|
|
|
|
|
|
|
|
+//#endif
|
|
|
|
|
|
|
|
printf(_(", %g%% packet loss"),
|
|
|
|
|
|
|
|
(float)((((long long)(rts->ntransmitted - rts->nreceived)) * 100.0) / rts->ntransmitted));
|
|
|
|
|
|
|
|
printf(_(", time %ldms"), 1000 * tv.tv_sec + (tv.tv_nsec + 500000) / 1000000);
|
|
|
|
diff --git a/po/LINGUAS b/po/LINGUAS
|
|
|
|
diff --git a/po/LINGUAS b/po/LINGUAS
|
|
|
|
index 65fbf6a..b02de47 100644
|
|
|
|
index 65fbf6a..b02de47 100644
|
|
|
|
--- a/po/LINGUAS
|
|
|
|
--- a/po/LINGUAS
|
|
|
@ -23,10 +60,10 @@ index 65fbf6a..b02de47 100644
|
|
|
|
zh_CN
|
|
|
|
zh_CN
|
|
|
|
diff --git a/po/ru.po b/po/ru.po
|
|
|
|
diff --git a/po/ru.po b/po/ru.po
|
|
|
|
new file mode 100644
|
|
|
|
new file mode 100644
|
|
|
|
index 0000000..5ae6831
|
|
|
|
index 0000000..f5027a7
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ b/po/ru.po
|
|
|
|
+++ b/po/ru.po
|
|
|
|
@@ -0,0 +1,1764 @@
|
|
|
|
@@ -0,0 +1,1773 @@
|
|
|
|
+# Russian translation for iputils
|
|
|
|
+# Russian translation for iputils
|
|
|
|
+# Copyright (c) 2020 iputils developers
|
|
|
|
+# Copyright (c) 2020 iputils developers
|
|
|
|
+# This file is distributed under the same license as the iputils package.
|
|
|
|
+# This file is distributed under the same license as the iputils package.
|
|
|
@ -113,9 +150,11 @@ index 0000000..5ae6831
|
|
|
|
+#: ping/ping_common.c:58
|
|
|
|
+#: ping/ping_common.c:58
|
|
|
|
+#, c-format
|
|
|
|
+#, c-format
|
|
|
|
+msgid ""
|
|
|
|
+msgid ""
|
|
|
|
+"\nUsage\n"
|
|
|
|
+"\n"
|
|
|
|
|
|
|
|
+"Usage\n"
|
|
|
|
+" ping [options] <destination>\n"
|
|
|
|
+" ping [options] <destination>\n"
|
|
|
|
+"\nOptions:\n"
|
|
|
|
+"\n"
|
|
|
|
|
|
|
|
+"Options:\n"
|
|
|
|
+" <destination> dns name or ip address\n"
|
|
|
|
+" <destination> dns name or ip address\n"
|
|
|
|
+" -a use audible ping\n"
|
|
|
|
+" -a use audible ping\n"
|
|
|
|
+" -A use adaptive ping\n"
|
|
|
|
+" -A use adaptive ping\n"
|
|
|
@ -128,7 +167,8 @@ index 0000000..5ae6831
|
|
|
|
+" -I <interface> either interface name or address\n"
|
|
|
|
+" -I <interface> either interface name or address\n"
|
|
|
|
+" -i <interval> seconds between sending each packet\n"
|
|
|
|
+" -i <interval> seconds between sending each packet\n"
|
|
|
|
+" -L suppress loopback of multicast packets\n"
|
|
|
|
+" -L suppress loopback of multicast packets\n"
|
|
|
|
+" -l <preload> send <preload> number of packages while waiting replies\n"
|
|
|
|
+" -l <preload> send <preload> number of packages while waiting "
|
|
|
|
|
|
|
|
+"replies\n"
|
|
|
|
+" -m <mark> tag the packets going out\n"
|
|
|
|
+" -m <mark> tag the packets going out\n"
|
|
|
|
+" -M <pmtud opt> define mtu discovery, can be one of <do|dont|want>\n"
|
|
|
|
+" -M <pmtud opt> define mtu discovery, can be one of <do|dont|want>\n"
|
|
|
|
+" -n no dns name resolution\n"
|
|
|
|
+" -n no dns name resolution\n"
|
|
|
@ -144,20 +184,26 @@ index 0000000..5ae6831
|
|
|
|
+" -V print version and exit\n"
|
|
|
|
+" -V print version and exit\n"
|
|
|
|
+" -w <deadline> reply wait <deadline> in seconds\n"
|
|
|
|
+" -w <deadline> reply wait <deadline> in seconds\n"
|
|
|
|
+" -W <timeout> time to wait for response\n"
|
|
|
|
+" -W <timeout> time to wait for response\n"
|
|
|
|
+"\nIPv4 options:\n"
|
|
|
|
+"\n"
|
|
|
|
|
|
|
|
+"IPv4 options:\n"
|
|
|
|
+" -4 use IPv4\n"
|
|
|
|
+" -4 use IPv4\n"
|
|
|
|
+" -b allow pinging broadcast\n"
|
|
|
|
+" -b allow pinging broadcast\n"
|
|
|
|
+" -R record route\n"
|
|
|
|
+" -R record route\n"
|
|
|
|
+" -T <timestamp> define timestamp, can be one of <tsonly|tsandaddr|tsprespec>\n"
|
|
|
|
+" -T <timestamp> define timestamp, can be one of <tsonly|tsandaddr|"
|
|
|
|
+"\nIPv6 options:\n"
|
|
|
|
+"tsprespec>\n"
|
|
|
|
|
|
|
|
+"\n"
|
|
|
|
|
|
|
|
+"IPv6 options:\n"
|
|
|
|
+" -6 use IPv6\n"
|
|
|
|
+" -6 use IPv6\n"
|
|
|
|
+" -F <flowlabel> define flow label, default is random\n"
|
|
|
|
+" -F <flowlabel> define flow label, default is random\n"
|
|
|
|
+" -N <nodeinfo opt> use icmp6 node info query, try <help> as argument\n"
|
|
|
|
+" -N <nodeinfo opt> use icmp6 node info query, try <help> as argument\n"
|
|
|
|
+"\nFor more details see ping(8).\n"
|
|
|
|
+"\n"
|
|
|
|
|
|
|
|
+"For more details see ping(8).\n"
|
|
|
|
+msgstr ""
|
|
|
|
+msgstr ""
|
|
|
|
+"\nИспользование\n"
|
|
|
|
+"\n"
|
|
|
|
|
|
|
|
+"Использование\n"
|
|
|
|
+" ping [options] <destination>\n"
|
|
|
|
+" ping [options] <destination>\n"
|
|
|
|
+"\nОпции:\n"
|
|
|
|
+"\n"
|
|
|
|
|
|
|
|
+"Опции:\n"
|
|
|
|
+" <destination> DNS-имя или IP-адрес\n"
|
|
|
|
+" <destination> DNS-имя или IP-адрес\n"
|
|
|
|
+" -a использовать звуковой сигнал\n"
|
|
|
|
+" -a использовать звуковой сигнал\n"
|
|
|
|
+" -A использовать адаптивный пинг\n"
|
|
|
|
+" -A использовать адаптивный пинг\n"
|
|
|
@ -544,7 +590,7 @@ index 0000000..5ae6831
|
|
|
|
+#: ping/ping_common.c:800
|
|
|
|
+#: ping/ping_common.c:800
|
|
|
|
+#, c-format
|
|
|
|
+#, c-format
|
|
|
|
+msgid "%d bytes from %s:"
|
|
|
|
+msgid "%d bytes from %s:"
|
|
|
|
+msgstr "%d байт из %s:"
|
|
|
|
+msgstr "%d байт от %s:"
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+#: arping.c:290
|
|
|
|
+#: arping.c:290
|
|
|
|
+#, c-format
|
|
|
|
+#, c-format
|
|
|
|