mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #50740
[Bug 1794990] Re: Can't export portfolio with french translation
Hi,
apparently, the problem is not fixed. We have just updated today the FR langpack, and the version doesn't contain your fix.
In the 18.04.3 version of the langpack, the translation is $string['exportgeneratedsuccessfully1'] = 'L\'export a été généré avec succès.';
In the 18.10 (and master_fr) version of the langpack, the translation is $string['exportgeneratedsuccessfully1'] = 'L\\\\\\\'export a été généré avec succès.';
There is 7 \ !!
Thanks
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1794990
Title:
Can't export portfolio with french translation
Status in Mahara:
Fix Committed
Bug description:
Mahara version : 18.04.2
french langPack : 18.04
A problem in french translation generate a JS error when trying to export a portfolio (export/index.php).
You need to modify the string that is inserted in the JS to escape the quote.
You need to modify the file fr.utf8/lang/fr.utf8/export.php
$string['exportgeneratedsuccessfully1'] = 'L\'export a été généré avec
succès.';
become
$string['exportgeneratedsuccessfully1'] = 'L\\\'export a été généré avec succès.';
Sorry if this is not the right place to put this but I couldn't find a
better place.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1794990/+subscriptions
References