[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: i18n po files : Hooks for number of arguments on SVN
From: Simon Depiets <sdepiets () gmail ! com>
Date: 2018-12-19 9:11:10
Message-ID: CAPVZv+Hw0s0KLcFz-C9ABM7S=00yPg04UesHCTVPJPgNQRStpQ () mail ! gmail ! com
[Download RAW message or body]
Hello,
I'm facing an issue with translation of kdeconnect_android, their
res/values/strings.xml ressources file contains :
<plurals name="incoming_files_text">
<item quantity="one">File: %1s</item>
<item quantity="other">(File %2$d of %3$d) : %1$s</item>
</plurals>
Understandably (in KDE/QT context), the SVN commit pre-hook rejects this
plural form message because the singular contains 1 argument and the plural
form 3 arguments. However for an Android app this seems like a valid
construct.
How does the SVN pre-commit hook work and how customizable is it ?
Is there a way to add/detect a tag in the context which would then disable
this specific check ?
Else I guess the kdeconnect team has to find a way to add %2 and %3 as
dummy argument in the singular string or the translation teams cannot
commit singular forms.
Regards
--
Simon Depiets
[Attachment #3 (text/html)]
<div dir="ltr"><div dir="ltr">Hello,<div>I'm facing an issue with translation of \
kdeconnect_android, their res/values/strings.xml ressources file contains \
:</div><div><br></div><div><plurals \
name="incoming_files_text"></div><div><item \
quantity="one">File: %1s</item></div><div><item \
quantity="other">(File %2$d of %3$d) : \
%1$s</item></div><div></plurals><br></div><div><br></div><div>Understandably \
(in KDE/QT context), the SVN commit pre-hook rejects this plural form message because \
the singular contains 1 argument and the plural form 3 arguments. However for an \
Android app this seems like a valid construct.</div><div><br></div><div>How does the \
SVN pre-commit hook work and how customizable is it ?</div><div>Is there a way to \
add/detect a tag in the context which would then disable this specific check \
?</div><div>Else I guess the kdeconnect team has to find a way to add %2 and %3 as \
dummy argument in the singular string or the translation teams cannot commit singular \
forms.</div><div>Regards</div><div>-- <br><div dir="ltr" class="gmail_signature"><div \
dir="ltr">Simon Depiets</div></div></div></div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic