help when 'Plural' syntax is not accepted

From Support
Jump to navigation Jump to search
Revision as of 26 March 2020 at 21:04.
The highlighted comment was created in this revision.

help when 'Plural' syntax is not accepted

Hi all, concerning following message => https://translatewiki.net/w/i.php?title=Special:Translate&showMessage=strings-profile_rephotos&group=ajapaik-app&language=fr

I think a parameter $1 is missing as for the plurality but it is rejected saying it must be {PLURAL| ...

{{PLURAL:$1|zero=Vous n’avez encore fait aucune rephoto|one=<b>1</b> rephoto|<b>%1$d</b> rephotos}}

I cannot find the correct syntax. I checked it is ok with template => https://translatewiki.net/wiki/Template:PLURAL/doc but cannot succeed; help please. Seems as if the original message was wrong (?). Thanks.

    ChristianW (talk)12:12, 23 March 2020

    As per CLDR data, French has only two plural forms. So the below should be enough,

    {{PLURAL|one=<b>1</b> rephoto|<b>%1$d</b> rephotos}}
      Abijeet Patro (talk)12:57, 26 March 2020
       

      The source string was just fixed yesterday by Ajapaik developers. The zero version is now a separate message.

        Nike (talk)13:03, 26 March 2020

        Sounds good now; in french 0 or 1 follow the same way, 2 and over start plural, so according to the number of books on the shelf you say:

         
        Il n'y avait aucun livre sur l'étagère. 
        Il y avait zéro livre sur l'étagère.
        Il y avait deux livres sur l'étagère. 
        

        Thanks; done.

          ChristianW (talk)21:04, 26 March 2020