<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><a name="_MailEndCompose">Just going to post my fixes here as well… and post to koha-translate as well…<o:p></o:p></a></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m sure I’m doing something wrong, but hopefully someone will point that out.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Around line 32766, I added the line "Rapport %s&rsaquo; Rapports sauvegardés &rsaquo; " as it was missing from the translated version.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=FR-CA>msgstr ""<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CA>"Koha &rsaquo; Rapports &rsaquo; Assistant de rapports %s&rsaquo; Rapports "<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CA>"sauvegardés %s&rsaquo; Créer à partir d'une requête SQL %s&rsaquo; Rapports "<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CA>"sauvegardés &rsaquo; Vue SQL %s&rsaquo; Rapports sauvegardés &rsaquo; %s "<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CA>"Rapport %s&rsaquo; Rapports sauvegardés &rsaquo; "<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CA>"Modifier le rapport SQL%s&rsaquo; Construire un rapport, étape %s sur 6: "<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CA>"%sChoisissez un module %sChoisissez un type de rapport %sSélectionnez les "<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CA>"colonnes à afficher %sSélectionnez un critère de limitation de la requête "<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CA>"%sChoisissez les colonnes sur lesquelles faire un total%sChoisissez l'ordre "<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CA>"dans lequel vous voulez afficher les résultats%s %s"<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CA><o:p> </o:p></span></p><p class=MsoNormal>Around line 58245, I just added the obvious missing “%s”.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>  msgid:  "You searched for: %s"<o:p></o:p></p><p class=MsoNormal>  msgstr: "Vous avez recherché :"<o:p></o:p></p><p class=MsoNormal><span lang=FR-CA><o:p> </o:p></span></p><p class=MsoNormal>I figure these manual changes will work locally, but I imagine it’s more complicated than just updating the PO file since PO files might be automatically generated from the English templates? I really have no idea how they work, so I’m throwing myself on the mercies of the translation gurus.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>David Cook<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>Systems Librarian<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>Prosentient Systems<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>72/330 Wattle St, Ultimo, NSW 2007<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='mso-fareast-language:EN-AU'>From:</span></b><span lang=EN-US style='mso-fareast-language:EN-AU'> David Cook [mailto:dcook@prosentient.com.au] <br><b>Sent:</b> Thursday, 26 March 2015 4:49 PM<br><b>To:</b> 'koha-devel'<br><b>Subject:</b> Errors generating fr-FR templates in 3.18.5<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi all:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I got a couple of errors when trying to generate the fr-FR templates in 3.18.5. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Well, they’re warnings themselves, but they create fatal errors when trying to parse the templates in Koha. I’ve corrected the %s count locally, but what’s the next step now? Do I manually edit the PO files in the git or do I need to do something else?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The warnings are as below:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>koha-admin@koha:/usr/share/koha/misc/translator/po$ sudo koha-translate --update fr-FR<o:p></o:p></p><p class=MsoNormal>tmpl_process3.pl: Warning: unconsistent %s count: (1/0):<o:p></o:p></p><p class=MsoNormal>  line:   58245<o:p></o:p></p><p class=MsoNormal>  msgid:  "You searched for: %s"<o:p></o:p></p><p class=MsoNormal>  msgstr: "Vous avez recherché :"<o:p></o:p></p><p class=MsoNormal>tmpl_process3.pl: Warning: unconsistent %s count: (16/15):<o:p></o:p></p><p class=MsoNormal>  line:   32766<o:p></o:p></p><p class=MsoNormal>  msgid:  "Koha &rsaquo; Reports &rsaquo; Guided reports wizard %s&rsaquo; Saved reports %s&rsaquo; Create from SQL %s&rsaquo; Saved reports &rsaquo; SQL view %s&rsaquo; Saved reports &rsaquo; %s Report %s&rsaquo; Saved reports &rsaquo; Edit SQL report %s&rsaquo; Build a report, step %s of 6: %sChoose a module %sPick a report type %sSelect columns for display %sSelect criteria to limit on %sPick which columns to total %sSelect how you want the report ordered %s %s "<o:p></o:p></p><p class=MsoNormal>  <span lang=FR-CA>msgstr: "Koha &rsaquo; Rapports &rsaquo; Assistant de rapports %s&rsaquo; Rapports sauvegardés %s&rsaquo; Créer à partir d'une requête SQL %s&rsaquo; Rapports sauvegardés &rsaquo; Vue SQL %s&rsaquo; Rapports sauvegardés &rsaquo; %s Modifier le rapport SQL%s&rsaquo; Construire un rapport, étape %s sur 6: %sChoisissez un module %sChoisissez un type de rapport %sSélectionnez les colonnes à afficher %sSélectionnez un critère de limitation de la requête %sChoisissez les colonnes sur lesquelles faire un total%sChoisissez l'ordre dans lequel vous voulez afficher les résultats%s %s"<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CA><o:p> </o:p></span></p><p class=MsoNormal><span lang=FR-CA>Thanks!<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CA><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>David Cook<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>Systems Librarian<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>Prosentient Systems<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>72/330 Wattle St, Ultimo, NSW 2007<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>