Bug 6457 - translate install fr-FR failed in staff processing
Summary: translate install fr-FR failed in staff processing
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: 3.4
Hardware: All All
: PATCH-Sent (DO NOT USE) normal (vote)
Assignee: Frédéric Demians
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-04 13:15 UTC by Sébastien Marie
Modified: 2012-10-25 23:04 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Patch for correcting the two blocking syntaxic erros (1.45 KB, patch)
2011-06-04 13:15 UTC, Sébastien Marie
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien Marie 2011-06-04 13:15:45 UTC
Created attachment 4357 [details] [review]
Patch for correcting the two blocking syntaxic erros

The installation of french localization failed due to two syntax errors in misc/translator/po/fr-FR-i-staff-t-prog-v-3002000.po.

The message are "Warning", but the processing stop without finish... leaving a semi-translated system.

- Creating /srv/koha/koha-git-tree/koha-tmpl/intranet-tmpl/prog/fr-FR/modules/help/admin/matching-rules.tt...
tmpl_process3.pl: Warning: matching-rules.tt: <a1>: Anchor 1 not found for msgid "Nécessite des vérifications de concordance <a1>Ajouter  vérification de concordance </a>"
Can't call method "string" on an undefined value at TmplTokenizer.pm line 446.

- Creating /srv/koha/koha-git-tree/koha-tmpl/intranet-tmpl/prog/fr-FR/modules/admin/itemtypes.tt...
 Gestion des types de document : Completely confused parametrizing -- msgid: &rsaquo;Donnée supprimée %s %s Gestion des types d
e document %

Note that the two previous errors are obtained separately: process stop with the first, and after correction, the second arrived...

see attached patch for correction of syntax errors.

does the fact that translate system don't finish, and issue only a warning is also an issue ?
Comment 1 Sébastien Marie 2011-06-04 13:30:09 UTC
I don't known the translation mecanism, and I just realized that "anchor" could be used for word placement. So I don't known if my correction for first error is accurated or not...

Sure: without, I have a partial localization directory installed.
Comment 2 Frédéric Demians 2011-06-04 13:40:36 UTC
Those errors are already corrected on translate.koha-community.org. It has been discussed last week on Koha French discussion list. It will be pushed on HEAD just before 3.4.2 release.