[Koha-bugs] [Bug 6464] Add inconsistence check for '%s' count in tmpl_process3.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 7 06:55:40 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6464

--- Comment #7 from Frère Sébastien Marie <semarie-koha at latrappe.fr> 2011-06-07 04:55:40 UTC ---
When inconsistences are found, only warnings are issued, not a blocking error.
So only messages are showed, and at the beginning of process:

--- BEGIN extract of "translate install fr-FR" ---
Install templates
  Install templates 'opac
    From: /srv/koha/koha-git-tree/koha-tmpl/opac-tmpl/prog/en/
    To  : /srv/koha/koha-git-tree/koha-tmpl/opac-tmpl/prog/fr-FR
    With:
/srv/koha/koha-git-tree/misc/translator/po/fr-FR-i-opac-t-prog-v-3002000.po
Charset in/out: UTF-8 at
/srv/koha/koha-git-tree/misc/translator/tmpl_process3.pl line 268.
tmpl_process3.pl: Warning: unconsistent %s count: (2/1):
  line:   7913
  msgid:  "Enter your User ID%s and password%s, and click the submit button (or
press the enter key)."
  msgstr: "Entrez votre identifiant adhérent%s et mot de passe, puis cliquez
sur le bouton \"Soumettre\" (ou appuyez sur la tou
che <Entrée>)"
tmpl_process3.pl: Warning: unconsistent %s count: (12/10):
  line:   12190
  msgid:  "The %s most checked-out %s %s %s titles%s %s at %s %s %s in the past
%s months %s of all time%s "
  msgstr: "Les %s plus empruntés %s %s %s documents à %s %s %s dans les %s
derniers mois %s depuis le commencement%s "
tmpl_process3.pl: Warning: unconsistent %s count: (1/0):
  line:   10094
  msgid:  "Note: you can only delete your own tags. %sNote: your tag contained
markup code that was removed. "
  msgstr: "Note&nbsp;: votre tag contenait du texte qui a été supprimé. "
Copying /srv/koha/koha-git-tree/koha-tmpl/opac-tmpl/prog/en/css/sanop.css...
Copying /srv/koha/koha-git-tree/koha-tmpl/opac-tmpl/prog/en/css/print.css...
Copying /srv/koha/koha-git-tree/koha-tmpl/opac-tmpl/prog/en/css/colors.css...
[...]
The install seems to be successful.
--- END ---

Could you verify if warning are present between:
 "Charset in/out: ..."
and
 "Copying ..." (or "Creating ...") ?

In order to grab all output in a file (message and warnings), you could
redirect stdout and stderr in a file, using:
> ./translate install es-ES 2>&1 | tee ~/bug6464-output.txt

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list