← Back to team overview

mahara-contributors team mailing list archive

[Bug 1794990] Re: Can't export portfolio with french translation

 

I fixed it up again. I didn't see 7 backslashes, but definitely more
than should be in there. We'll have to check, once the export has been
made, if things are shown correctly now.

As mentioned before, you can always fix language strings yourself at
https://translations.launchpad.net/mahara-lang Usually, they are put
into the export branch once a day and then available via
langpacks.mahara.org

-- 
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