Giter Club home page Giter Club logo

Comments (4)

marcusgreen avatar marcusgreen commented on May 25, 2024

Hi, thank you for the feedback, I will investigate. Interestingly I have found a way of adding tests to confirm that MLang filters work with automated testing. See here
https://github.com/marcusgreen/moodle-qtype_gapfill/blob/master/tests/behat/multilang.feature

from moodle-report_advancedgrading.

moodleulpgc avatar moodleulpgc commented on May 25, 2024

Hi, as for may 2023, some parts are NOT localized.
The table header calls {{{studentheaders}}} structure to add the student names and ID number.

This structure is populated in locallib.php, function header_fields(), from $data['profilefields']
But the raw (internal) field name is used rather than get_string($field)

So, rather than
$data['studentheaders'] .= "<th " . $data['headerstyle'] . ">" . ucfirst($field) . "";

use,
$data['studentheaders'] .= "<th " . $data['headerstyle'] . ">" . get_string($field) . "";

By the way, if uppercase or not should belong to lang file.

from moodle-report_advancedgrading.

marcusgreen avatar marcusgreen commented on May 25, 2024

Thank you Enrique, thank you for the detailed information. I will take a look at that with a view to fixing in the near future. And yes, generally the case should be left to the lang file.

from moodle-report_advancedgrading.

marcusgreen avatar marcusgreen commented on May 25, 2024

I am closing this as the latest release has localised the PHP and removed the javascript. Please create a new ticket if I have missed localisation anywhere else. Many thanks for your feedback, you have helped improve the plugin.

from moodle-report_advancedgrading.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.