Just going to post my fixes here as well… and post to koha-translate as well…

 

I’m sure I’m doing something wrong, but hopefully someone will point that out.

 

 

Around line 32766, I added the line "Rapport %s› Rapports sauvegardés › " as it was missing from the translated version.

 

msgstr ""

"Koha › Rapports › Assistant de rapports %s› Rapports "

"sauvegardés %s› Créer à partir d'une requête SQL %s› Rapports "

"sauvegardés › Vue SQL %s› Rapports sauvegardés › %s "

"Rapport %s› Rapports sauvegardés › "

"Modifier le rapport SQL%s› 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"

 

Around line 58245, I just added the obvious missing “%s”.

 

  msgid:  "You searched for: %s"

  msgstr: "Vous avez recherché :"

 

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.

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007

 

From: David Cook [mailto:dcook@prosentient.com.au]
Sent: Thursday, 26 March 2015 4:49 PM
To: 'koha-devel'
Subject: Errors generating fr-FR templates in 3.18.5

 

Hi all:

 

I got a couple of errors when trying to generate the fr-FR templates in 3.18.5.

 

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?

 

The warnings are as below:

 

koha-admin@koha:/usr/share/koha/misc/translator/po$ sudo koha-translate --update fr-FR

tmpl_process3.pl: Warning: unconsistent %s count: (1/0):

  line:   58245

  msgid:  "You searched for: %s"

  msgstr: "Vous avez recherché :"

tmpl_process3.pl: Warning: unconsistent %s count: (16/15):

  line:   32766

  msgid:  "Koha › Reports › Guided reports wizard %s› Saved reports %s› Create from SQL %s› Saved reports › SQL view %s› Saved reports › %s Report %s› Saved reports › Edit SQL report %s› 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 "

  msgstr: "Koha › Rapports › Assistant de rapports %s› Rapports sauvegardés %s› Créer à partir d'une requête SQL %s› Rapports sauvegardés › Vue SQL %s› Rapports sauvegardés › %s Modifier le rapport SQL%s› 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"

 

Thanks!

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St, Ultimo, NSW 2007