wrong italian translation

Dirk Hohndel dirk at hohndel.org
Sun Oct 11 07:09:11 PDT 2015


> On Oct 11, 2015, at 7:00 AM, Giorgio Marzano <marzano.giorgio at gmail.com> wrote:
> 
> I noticed an error in one italian translation.
> 
> in function get_time_string, file statistics.c:
> 
> snprintf(buf, sizeof(buf), translate("gettextFromC", "%dh %dmin"), hours, minutes);
> 
> should return "20o, 39min" (o is for "ore", italian for hours)
> 
> Instead I get "20g, 39min" (g is gor "giorni", italian for days).
> 
> How am I suppose to proceed to fix this? I subscribed to transiflex but italian seems to be somehow locked, i guess because it is at 100%

No, Italian isn't locked at all.
Click on Italian, pick subsurface4 as resource, click on translate.
Then in the search field in the top left pick TEXT: and enter %dh (so this is the English text you are looking for)
You'll see two strings

%dd %dh %dmin  -- translated as %dg %dg %dmin
%dh %dmin   -- translated as %dg %dmin

So it sounds like the second one is mis-translated. I could of course fix this myself right now, but I think this is one of those "teach people to fish" moments. So please let me know if you can follow along what I just explained and can then fix it...

Thanks

/D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151011/5fd1f258/attachment.html>


More information about the subsurface mailing list