-
Notifications
You must be signed in to change notification settings - Fork 49
Don't mark formated strings as c-format #57
Copy link
Copy link
Open
Description
If we have a string like
<plurals name="received_files_title">
<item quantity="one">Received file from %2$s</item>
<item quantity="other">Received %1$d files from %2$s</item>
</plurals>
a2po will create
#, c-format
msgctxt "received_files_title"
msgid "Received file from %2$s"
msgid_plural "Received %1$d files from %2$s"
msgstr[0] ""
msgstr[1] ""
But the problem is that adding c-format enforces that the translation strings contain both %1 and %2 since printf c-format can't skip strings while android can.
So I think it's better not to include c-format, does that make sense to you?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels