Op vrijdag 15 december 2017 12:28:24 CET schreef u:
> Trying to commit nl/messages/kdesdk/umbrello.po
>
> I got an error on the following element:
>
> #: codeimpwizard/codeimpstatuspage.cpp:143
> #, kde-format
> msgid "Code import of 1 file:"
> msgid_plural "Code import of %1 files:"
> msgstr[0] "Importeren van code van %1 bestand:"
> msgstr[1] "Importeren van code van %1 bestanden:"
>
> The error message is:
>
> Committing transaction...
> svn: E165001: Commit failed (details follow):
> svn: E165001: Commit blocked by pre-commit hook (exit code 1) with output:
> :1517: 'msgid' and 'msgid_plural' entries do not both end with '\n'
> msgfmt: found 1 fatal error
>
> I do not see any '\n' there!!
It was in KF5 branch, element is:
#: codeimpwizard/codeimpstatuspage.cpp:144
#, kde-format
#| msgid "Code import of 1 file:"
#| msgid_plural "Code import of %1 files:"
msgid "Code import of 1 file:"
msgid_plural "Code import of %1 files:\n"
msgstr[0] "Importeren van code van 1 bestand:"
msgstr[1] "Importeren van code van %1 bestanden:\n"
The problem is most likely that '\n' exists for the plural but not for the
single.
--
vr.gr.
vertaler van KDE
Freek de Kruijf