bdaloukas / moodle-mod_game

moodle-mod_game
GNU General Public License v3.0
15 stars 40 forks source link

$string['game:addinstance'] = ''; #5

Closed nachoan closed 8 years ago

nachoan commented 9 years ago

Hi,

Debugging shows me this error:

Invalid get_string() identifier: 'game:addinstance' or component 'mod_game'. Perhaps you are missing $string['game:addinstance'] = ''; in mod/game/lang/en/game.php?

line 293 of /lib/classes/string_manager_standard.php: call to debugging()
line 6905 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 2977 of /lib/accesslib.php: call to get_string()
line 2835 of /lib/accesslib.php: call to get_capability_string()
line 113 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
line 139 of /admin/roles/classes/capability_table_with_risks.php: call to core_role_capability_table_base->display()
line 624 of /admin/roles/classes/define_role_table_advanced.php: call to core_role_capability_table_with_risks->display()
line 267 of /admin/roles/define.php: call to core_role_define_role_table_advanced->display()

I can add the string to /lang/en/game.php but I don't know if this is a solution.

bdaloukas commented 8 years ago

I added the missing string. Thank you.