Moodle

Non-translatable error messages

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 1.9
  • Fix Version/s: None
  • Component/s: Questions
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

Sometimes the user (teacher) receives non-localized error messages, like that one:

====
Cannot move the category '<skipped>'. It is the last in this context.
====

It's because of using the deprecated old-fashion error() function instead of the recommended print_error().

Please make these messages translatable.

Issue Links

Activity

Hide
Tim Hunt added a comment -

This is indeed a duplicate of MDL-14085, so closing this report.

Show
Tim Hunt added a comment - This is indeed a duplicate of MDL-14085, so closing this report.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: