summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorЛарионов Даниил <scumcoder@yandex.ru>2014-05-19 10:36:46 +0200
committerHans de Goede <hdegoede@redhat.com>2014-05-19 10:58:15 +0200
commitc8e9269a06afcb786913310cc01f32209acc22c6 (patch)
tree1b39993bb21dcc4a5b8893666eb016046ef2a0fd
parentd41802053c4f20691f38072879c9dd76806f0f91 (diff)
downloadlibusb-c8e9269a06afcb786913310cc01f32209acc22c6.tar.gz
strerrror.c: Add Russian translation
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r--libusb/strerror.c19
-rw-r--r--libusb/version_nano.h2
2 files changed, 18 insertions, 3 deletions
diff --git a/libusb/strerror.c b/libusb/strerror.c
index 3af1cab..7fba0e4 100644
--- a/libusb/strerror.c
+++ b/libusb/strerror.c
@@ -57,7 +57,7 @@ static size_t usbi_locale = 0;
* </ol>
*/
-static const char* usbi_locale_supported[] = { "en", "nl", "fr" };
+static const char* usbi_locale_supported[] = { "en", "nl", "fr", "ru" };
static const char* usbi_localized_errors[ARRAYSIZE(usbi_locale_supported)][LIBUSB_ERROR_COUNT] = {
{ /* English (en) */
"Success",
@@ -103,7 +103,22 @@ static const char* usbi_localized_errors[ARRAYSIZE(usbi_locale_supported)][LIBUS
"Appel système abandonné (peut-être à cause d’un signal)",
"Mémoire insuffisante",
"Opération non supportée or non implémentée sur cette plateforme",
- "Autre erreur"
+ "Autre erreur",
+ }, { /* Russian (ru) */
+ "Успех",
+ "Ошибка ввода/вывода",
+ "Неверный параметр",
+ "Доступ запрещён (не хватает прав)",
+ "Устройство отсутствует (возможно, оно было отсоединено)",
+ "Элемент не найден",
+ "Ресурс занят",
+ "Истекло время ожидания операции",
+ "Переполнение",
+ "Ошибка канала",
+ "Системный вызов прерван (возможно, сигналом)",
+ "Память исчерпана",
+ "Операция не поддерживается данной платформой",
+ "Неизвестная ошибка"
}
};
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 070de37..f9dd271 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 10890
+#define LIBUSB_NANO 10891