Moodle

Missing string [[nostatstodisplay]]

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8.5, 1.9.1
  • Fix Version/s: 1.8.6
  • Component/s: General
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE, MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_18_STABLE

Description

After generating statistics... some times, the [[nostatstodisplay]] message is showed. Perhpas it's defined incorrectly in lang files?

Ciao

Activity

Hide
Dongsheng Cai added a comment -

HI, Eloy, this string is defined incorrectly in moodle 1.9, it should be in error.php. It is correct in HEAD.

Show
Dongsheng Cai added a comment - HI, Eloy, this string is defined incorrectly in moodle 1.9, it should be in error.php. It is correct in HEAD.
Hide
Dongsheng Cai added a comment -

fixed in 1.8 and 1.9, head is OK, please review, feel free to reopen.

Show
Dongsheng Cai added a comment - fixed in 1.8 and 1.9, head is OK, please review, feel free to reopen.
Hide
Dan Marsden added a comment -

I don't really like the text used....

$string['nostatstodisplay'] = 'There is no available data to display, sorry.';

the "sorry" seems tacked on the end.....

maybe just "There is no available data to display." would be better? or even "Sorry, there is no available data to display"

Dan

Show
Dan Marsden added a comment - I don't really like the text used.... $string['nostatstodisplay'] = 'There is no available data to display, sorry.'; the "sorry" seems tacked on the end..... maybe just "There is no available data to display." would be better? or even "Sorry, there is no available data to display" Dan
Hide
Helen Foster added a comment -

Dongsheng, thanks for adding the lang string

Dan, thanks for your comments. String amended as suggested

Show
Helen Foster added a comment - Dongsheng, thanks for adding the lang string Dan, thanks for your comments. String amended as suggested

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: