]> git.mjollnir.org Git - moodle.git/commit
debug / lang string: MDL-19467 Debugging option to show where each lang string came...
authortjhunt <tjhunt>
Tue, 30 Jun 2009 01:59:48 +0000 (01:59 +0000)
committertjhunt <tjhunt>
Tue, 30 Jun 2009 01:59:48 +0000 (01:59 +0000)
commit42fafd4b57940c8cc04a7848bd21ff19a4748942
tree7a5a82d08a963627a0341a07c906d9cf8f558883
parentc892b531089b262b41efb8c3b38e9ecd0d44025a
debug / lang string: MDL-19467 Debugging option to show where each lang string came from.

New option on Administration -> Server -> Debugging called
'Show origin of languages strings' ($CFG->debugstringids).

If this is set, get_string will add the name of the lang file and the id of the string
to each string it gets, so instead of returning 'No', it will return '{No admin/checkboxno}'.
admin/settings/server.php
lang/en_utf8/admin.php
lib/moodlelib.php