[PATCH] Finnish translation update

Miika Turkia miika.turkia at gmail.com
Thu Oct 18 10:02:33 PDT 2012


On Thu, Oct 18, 2012 at 7:46 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
>
> While checking the last commit that I just pushed to master, I noticed
> that the automated tools caught what looks to me like a bug in the
> Finnish translation:
>
> @@ -45,18 +45,19 @@ msgstr "%1$s %2$s. %4$d %3$skuuta %5$d   %6$d:%7$02d"
>
>  #. ++GETTEXT 160 chars: weekday, monthname, day, year, hour, min
>  #: print.c:229
> -#, c-format
> -msgid "%1$s, %3$s.%2$d.%4$04d   %5$dh%6$02d"
> -msgstr "%1$s, %2$d. %3$skuuta %4$04d   %5$dh%6$02d"
> +#, fuzzy, c-format
> +msgid "%1$s, %2$s %3$d, %4$d   %5$dh%6$02d"
> +msgstr "%1$s, %3$d. %2$skuuta %4$d, %5$d:%6$02d"
>
> To me this looks like you grabbed someone's translation instead of the
> correct message id - and the tools caught it and made the correct
> adjustments to the translated string. Can you confirm this? And why is
> there the word skuuta behind every month name? Google translate doesn't
> seem to be able to make sense of it...

The word is kuuta, s is part of the format string. Every month in
Finnish ends with kuu or kuuta depending on the meaning and the month
names are missing this part when translated.

Change in the msgid seems to be a mistake.. It took me a bit of
messing around before I realized that an error message I got on
compile was due to incorrect order of %s and %d after swapping the
order of parameters.

Anyway the automated translation seems to be correct.

miika

> /D
>
> Miika Turkia <miika.turkia at gmail.com> writes:
>
>> Updated the Finnish translation to include the latest changes
>>
>> Signed-off-by: Miika Turkia <miika.turkia at gmail.com>
>> ---
>>  po/fi_FI.po |   18 ++++++++----------
>>  1 file changed, 8 insertions(+), 10 deletions(-)
>>
>> diff --git a/po/fi_FI.po b/po/fi_FI.po
>> index 137e07e..385c820 100644
>> --- a/po/fi_FI.po
>> +++ b/po/fi_FI.po
>> @@ -41,25 +41,24 @@ msgstr "%.*f %s/min"
>>  #: print.c:72
>>  #, c-format
>>  msgid "%1$s%2$s, %3$s %4$d, %5$d   %6$d:%7$02d"
>> -msgstr ""
>> +msgstr "%1$s %2$s. %4$d %3$skuuta %5$d   %6$d:%7$02d"
>>
>>  #. ++GETTEXT 160 chars: weekday, monthname, day, year, hour, min
>>  #: print.c:229
>>  #, c-format
>> -msgid "%1$s, %2$s %3$d, %4$d   %5$dh%6$02d"
>> -msgstr ""
>> +msgid "%1$s, %3$s.%2$d.%4$04d   %5$dh%6$02d"
>> +msgstr "%1$s, %2$d. %3$skuuta %4$04d   %5$dh%6$02d"
>>
>>  #. ++GETTEXT 60 char buffer weekday, monthname, day of month, year, hour:min
>>  #: divelist.c:384
>>  #, c-format
>>  msgid "%1$s, %2$s %3$d, %4$d %5$02d:%6$02d"
>> -msgstr ""
>> +msgstr "%1$s %3$d. %2$skuuta %4$d %5$02d:%6$02d"
>>
>>  #. ++GETTEXT 80 chars: weekday, monthname, day, year, hour, min
>>  #: statistics.c:529
>> -#, fuzzy, c-format
>>  msgid "%1$s, %2$s %3$d, %4$d %5$2d:%6$02d"
>> -msgstr "Sukellus #%d - %s %02d-%02d-%04d, %d:%02d"
>> +msgstr "%1$s, %3$d. %2$skuuta %4$d, %5$d:%6$02d"
>>
>>  #: print.c:254 statistics.c:536
>>  #, c-format
>> @@ -256,9 +255,8 @@ msgstr "Laitenimi"
>>
>>  #. ++GETTEXT 80 char buffer: dive nr, weekday, month, day, year, hour, min
>>  #: info.c:107
>> -#, fuzzy, c-format
>>  msgid "Dive #%1$d - %2$s %3$02d/%4$02d/%5$04d at %6$d:%7$02d"
>> -msgstr "Sukellus #%d - %s %02d-%02d-%04d, %d:%02d"
>> +msgstr "Sukellus #%1$d - %2$s %4$d.%3$d.%5$04d, %6$d:%7$02d"
>>
>>  #: print.c:67
>>  #, c-format
>> @@ -887,8 +885,8 @@ msgstr "Kokonaisaika"
>>  #, c-format
>>  msgid "Trip %1$s, %2$s %3$d, %4$d (%5$d dive)"
>>  msgid_plural "Trip %1$s, %2$s %3$d, %4$d (%5$d dives)"
>> -msgstr[0] ""
>> -msgstr[1] ""
>> +msgstr[0] "Retki %1$s, %3$d. %2$skuuta %4$04d (%5$d sukellus)"
>> +msgstr[1] "Retki %1$s, %3$d. %2$skuuta %4$04d (%5$d sukellusta)"
>>
>>  #: main.c:37
>>  msgid "Tue"
>> --
>> 1.7.9.5
>>
>> _______________________________________________
>> subsurface mailing list
>> subsurface at hohndel.org
>> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
>
> --
> Dirk Hohndel
> Intel Open Source Technology Center


More information about the subsurface mailing list