From 31d59d8ced23ffe2e3c0fe7f07f4d52cca65654a Mon Sep 17 00:00:00 2001 From: Bence Cs Date: Wed, 7 Nov 2018 13:17:40 +0100 Subject: [PATCH] Hungarian translation Closes #493 Signed-off-by: Nathan Hjelm --- libusb/strerror.c | 17 ++++++++++++++++- libusb/version_nano.h | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/libusb/strerror.c b/libusb/strerror.c index d12bf32..a1b474e 100644 --- a/libusb/strerror.c +++ b/libusb/strerror.c @@ -60,7 +60,7 @@ static size_t usbi_locale = 0; * */ -static const char* usbi_locale_supported[] = { "en", "nl", "fr", "ru", "de" }; +static const char* usbi_locale_supported[] = { "en", "nl", "fr", "ru", "de", "hu" }; static const char* usbi_localized_errors[ARRAYSIZE(usbi_locale_supported)][LIBUSB_ERROR_COUNT] = { { /* English (en) */ "Success", @@ -138,6 +138,21 @@ static const char* usbi_localized_errors[ARRAYSIZE(usbi_locale_supported)][LIBUS "Nicht genügend Hauptspeicher verfügbar", "Die Operation wird nicht unterstützt oder ist auf dieser Platform nicht implementiert", "Allgemeiner Fehler", + }, { /* Hungarian (hu) */ + "Sikeres", + "Be-/kimeneti hiba", + "Érvénytelen paraméter", + "Hozzáférés megtagadva", + "Az eszköz nem található (eltávolították?)", + "Nem található", + "Az erőforrás foglalt", + "Időtúllépés", + "Túlcsordulás", + "Törött adatcsatorna", + "Rendszerhívás megszakítva", + "Nincs elég memória", + "A művelet nem támogatott ezen a rendszeren", + "Általános hiba", } }; diff --git a/libusb/version_nano.h b/libusb/version_nano.h index a1ef243..08264b3 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11320 +#define LIBUSB_NANO 11321