Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-8771

Datatables info do not work for Configurable Reports. Translation issue.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.9.11, 3.10.8, 3.11.4
    • None
    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE

      $string['datatables_info'] = 'Showing START to END of TOTAL entries';

      This string works correctly (Showing 1 to 10 of 99 entries) but some translations change the key strings 'START', 'END' and probably 'TOTAL' causing JS to not be able to find them to replace them.

      For example, in Spanish language (moodledata/lang/es/block_configurable_reports.php) the string has been translated as

      $string['datatables_info'] = 'Mostrando INICIO a FIN de TOTAL entradas';

      and the keys are displayed literally: 'Mostrando INICIO a FIN de 99 entradas'.

      The translations must be

      $string['datatables_info'] = 'Mostrando START a END de TOTAL entradas';

      Always keeping START, END and TOTAL without any modifications

            jleyva Juan Leyva
            juanandrésjiménezaragón Juan Andrés Jiménez Aragón
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.