D18600: Improvements in ascending_order activity

emmanuel charruau noreply at phabricator.kde.org
Sun Feb 3 21:27:31 GMT 2019

echarruau added a comment.

  We need to have a more generic code.
  If you put the data to sort into the ressource directory e.g.
  You don't need this test anymore:
  if (mode == "alphabets") {
        //: list containing all the characters separated by a "/"
        var letters = qsTr("a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z")
        alphabets = letters.split("/")
  Also creating a new ordering activity (alphabetical / images/ ascending / descending) will be done with the same generic code, the only differences will be in the external reference file.
  This external reference file should contain the name of the activity, its objective, different levels, and the data to order.
  These data should also be images to be able to order animal sizes for example or planets weights

  R2 GCompris


To: AkshayCHD, #gcompris_activities, jjazeix
Cc: jjazeix, echarruau, kde-edu, #gcompris_activities, harrymecwan, ganeshredcobra, nityanandkumar, rahulyadav, narvaez, scagarwal, apol, timotheegiet, bcoudoin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20190203/11e97d82/attachment.html>

More information about the kde-edu mailing list