diff --git a/libticables/trunk/po/de.po b/libticables/trunk/po/de.po index 1407e05f..0c581f04 100644 --- a/libticables/trunk/po/de.po +++ b/libticables/trunk/po/de.po @@ -105,7 +105,7 @@ msgstr " TTY-Unterstützung: verfügbar." msgid "Check for tty usability:" msgstr "Prüfe TTY-Verfügbarkeit:" -#: src/bsd/detect.cc:277 src/linux/detect.cc:346 src/linux/detect.cc:386 +#: src/bsd/detect.cc:277 src/linux/detect.cc:339 src/linux/detect.cc:386 msgid " is usable: yes" msgstr " benutzbar: ja" @@ -445,9 +445,17 @@ msgstr "kann serielles Gerät '%s' nicht nutzen" msgid "Error running TIOCGSERIAL ioctl on device %s - %s" msgstr "Fehler TIOCGSERIAL-Ioctl auf Gerät %s - %s auszuführen" -#: src/linux/detect.cc:341 src/linux/detect.cc:381 -msgid " is usable: no" -msgstr " ist benutzbar: nein" +#: src/linux/detect.cc:335 src/linux/detect.cc:343 +msgid "" +"NOTE: proceeding nevertheless, in an attempt to help usage of libticables " +"with some USB/RS232 adapters, though most do not work at all for the " +"purposes of TI's protocol" +msgstr "" + +#: src/linux/detect.cc:342 +#, c-format +msgid "Serial port has unknown type %d" +msgstr "" #: src/linux/detect.cc:357 msgid "Check for parport support:" @@ -465,6 +473,10 @@ msgstr " parport-Unterstützung: nicht kompiliert." msgid "Check for parport usability:" msgstr "Prüfe parport-Verfügbarkeit:" +#: src/linux/detect.cc:381 +msgid " is usable: no" +msgstr " ist benutzbar: nein" + #: src/linux/detect.cc:412 msgid "Check for libusb usability:" msgstr "Prüfe Verfügbarkeit von libusb:" diff --git a/libticables/trunk/po/fr.po b/libticables/trunk/po/fr.po index 4be3a888..0824781e 100644 --- a/libticables/trunk/po/fr.po +++ b/libticables/trunk/po/fr.po @@ -108,7 +108,7 @@ msgstr " support tty: disponible." msgid "Check for tty usability:" msgstr "Vérification de l'utilisabilité du tty:" -#: src/bsd/detect.cc:277 src/linux/detect.cc:346 src/linux/detect.cc:386 +#: src/bsd/detect.cc:277 src/linux/detect.cc:339 src/linux/detect.cc:386 msgid " is usable: yes" msgstr " est utilisable: oui" @@ -445,9 +445,20 @@ msgid "Error running TIOCGSERIAL ioctl on device %s - %s" msgstr "" "Erreur lors de l'exécution de l'ioctl TIOCGSERIAL sur le périphérique %s - %s" -#: src/linux/detect.cc:341 src/linux/detect.cc:381 -msgid " is usable: no" -msgstr " est utilisable: non" +#: src/linux/detect.cc:335 src/linux/detect.cc:343 +msgid "" +"NOTE: proceeding nevertheless, in an attempt to help usage of libticables " +"with some USB/RS232 adapters, though most do not work at all for the " +"purposes of TI's protocol" +msgstr "" +"NOTE: on poursuit quand même, pour tenter d'aider à l'utilisation de " +"libticables avec certains adaptateurs USB/RS232, bien que la plupart ne " +"fonctionnent pas du tout pour l'utilisation du protocole de TI" + +#: src/linux/detect.cc:342 +#, c-format +msgid "Serial port has unknown type %d" +msgstr "Le port série a le type inconnu %d" #: src/linux/detect.cc:357 msgid "Check for parport support:" @@ -465,6 +476,10 @@ msgstr " support parport: pas compilé." msgid "Check for parport usability:" msgstr "Vérification de l'utilisabilité du port parallèle:" +#: src/linux/detect.cc:381 +msgid " is usable: no" +msgstr " est utilisable: non" + #: src/linux/detect.cc:412 msgid "Check for libusb usability:" msgstr "Vérification de l'utilisabilité de libusb:" diff --git a/libticables/trunk/po/libticables2.pot b/libticables/trunk/po/libticables2.pot index f7f8b1ef..9ddda34f 100644 --- a/libticables/trunk/po/libticables2.pot +++ b/libticables/trunk/po/libticables2.pot @@ -103,7 +103,7 @@ msgstr "" msgid "Check for tty usability:" msgstr "" -#: src/bsd/detect.cc:277 src/linux/detect.cc:346 src/linux/detect.cc:386 +#: src/bsd/detect.cc:277 src/linux/detect.cc:339 src/linux/detect.cc:386 msgid " is usable: yes" msgstr "" @@ -394,8 +394,16 @@ msgstr "" msgid "Error running TIOCGSERIAL ioctl on device %s - %s" msgstr "" -#: src/linux/detect.cc:341 src/linux/detect.cc:381 -msgid " is usable: no" +#: src/linux/detect.cc:335 src/linux/detect.cc:343 +msgid "" +"NOTE: proceeding nevertheless, in an attempt to help usage of libticables " +"with some USB/RS232 adapters, though most do not work at all for the " +"purposes of TI's protocol" +msgstr "" + +#: src/linux/detect.cc:342 +#, c-format +msgid "Serial port has unknown type %d" msgstr "" #: src/linux/detect.cc:357 @@ -414,6 +422,10 @@ msgstr "" msgid "Check for parport usability:" msgstr "" +#: src/linux/detect.cc:381 +msgid " is usable: no" +msgstr "" + #: src/linux/detect.cc:412 msgid "Check for libusb usability:" msgstr "" diff --git a/libticables/trunk/src/linux/detect.cc b/libticables/trunk/src/linux/detect.cc index 57deb0ed..f08eaa6f 100644 --- a/libticables/trunk/src/linux/detect.cc +++ b/libticables/trunk/src/linux/detect.cc @@ -332,18 +332,18 @@ int linux_check_tty(const char *devname) if (ioctl(fd, TIOCGSERIAL, &serinfo) < 0) { ticables_warning(_("Error running TIOCGSERIAL ioctl on device %s - %s"), devname, strerror(errno)); - close(fd); - return ERR_TTDEV; + ticables_warning("%s", _("NOTE: proceeding nevertheless, in an attempt to help usage of libticables with some USB/RS232 adapters, though most do not work at all for the purposes of TI's protocol")); } - - if(serinfo.type == PORT_UNKNOWN || serinfo.type == PORT_MAX) + else { - ticables_info("%s", _(" is usable: no")); - close(fd); - return ERR_TTDEV; + ticables_info("%s", _(" is usable: yes")); + if (serinfo.type == PORT_UNKNOWN || serinfo.type == PORT_MAX) + { + ticables_warning(_("Serial port has unknown type %d"), serinfo.type); + ticables_warning("%s", _("NOTE: proceeding nevertheless, in an attempt to help usage of libticables with some USB/RS232 adapters, though most do not work at all for the purposes of TI's protocol")); + } } - ticables_info("%s", _(" is usable: yes")); close(fd); #endif