Re[2]: Uemis Patch - display message if no files present to download

Guido Lerch guido.lerch at gmail.com
Fri Sep 25 13:55:27 PDT 2015


Can you make a suggestion what it should be ?

G. Lerch


Freitag, 25. September 2015 18:59 +0200 von Dirk Hohndel  <dirk at hohndel.org>:
>On Fri, Sep 25, 2015 at 04:32:25PM +0200, Guido Lerch wrote:
>> -- 
>> Best regards,
>> Guido
>
>> From 9b6b28534e2102da18cdfed5b0d3401953217648 Mon Sep 17 00:00:00 2001
>> From: Guido Lerch < guido.lerch at gmail.com >
>> Date: Thu, 24 Sep 2015 19:26:35 +0200
>> Subject: [PATCH] Uemis-display message if no dives to download
>> 
>> Display an error message if no new files are there for
>> download.
>> 
>> Signed-off-by: Guido Lerch < guido.lerch at gmail.com >
>> ---
>>  uemis-downloader.c | 4 ++++
>>  1 file changed, 4 insertions(+)
>> 
>> diff --git a/uemis-downloader.c b/uemis-downloader.c
>> index 3b8ddf9..deb82a9 100644
>> --- a/uemis-downloader.c
>> +++ b/uemis-downloader.c
>> @@ -27,6 +27,8 @@
>>  #define ERR_FS_ALMOST_FULL QT_TRANSLATE_NOOP("gettextFromC", "Uemis Zurich: the file system is almost full.\nDisconnect/reconnect the dive computer\nand click 'Retry'")
>>  #define ERR_FS_FULL QT_TRANSLATE_NOOP("gettextFromC", "Uemis Zurich: the file system is full.\nDisconnect/reconnect the dive computer\nand click Retry")
>>  #define ERR_FS_SHORT_WRITE QT_TRANSLATE_NOOP("gettextFromC", "Short write to req.txt file.\nIs the Uemis Zurich plugged in correctly?")
>> +#define ERR_NO_FILES QT_TRANSLATE_NOOP("gettextFromC", "No files to download.")
>> +#define BUFLEN 2048
>>  #define BUFLEN 2048
>
>As already pointed out - that just gives you a warning.
>
>But I also question the message... shouldn't it be "No new dives to
>download"? Divers don't really think about this in the context of files.
>
>/D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150925/060d1898/attachment.html>


More information about the subsurface mailing list