strerrror.c: Add Russian translation
authorЛарионов Даниил <scumcoder@yandex.ru>
Mon, 19 May 2014 08:36:46 +0000 (10:36 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 19 May 2014 08:58:15 +0000 (10:58 +0200)
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
libusb/strerror.c
libusb/version_nano.h

index 3af1cab..7fba0e4 100644 (file)
@@ -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) */
+               "Успех",
+               "Ошибка ввода/вывода",
+               "Неверный параметр",
+               "Доступ запрещён (не хватает прав)",
+               "Устройство отсутствует (возможно, оно было отсоединено)",
+               "Элемент не найден",
+               "Ресурс занят",
+               "Истекло время ожидания операции",
+               "Переполнение",
+               "Ошибка канала",
+               "Системный вызов прерван (возможно, сигналом)",
+               "Память исчерпана",
+               "Операция не поддерживается данной платформой",
+               "Неизвестная ошибка"
        }
 };
 
index 070de37..f9dd271 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 10890
+#define LIBUSB_NANO 10891