rhelgeby / smprojectbase

Automatically exported from code.google.com/p/smprojectbase
0 stars 0 forks source link

problem with BaseCmd #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
i got an error on using the base command ...

] thc_rpg modules
[THC RPG] Total HardCore RPG Modules Menu:
L 07/15/2010 - 18:00:39: [SM] Plugin encountered error 4: Invalid parameter or 
parameter type
L 07/15/2010 - 18:00:39: [SM] Native "ReplyToCommand" reported: Language phrase 
"BaseCmd server modules Enable description" not found
L 07/15/2010 - 18:00:39: [SM] Displaying call stack trace for plugin 
"thc_rpg.smx":
L 07/15/2010 - 18:00:39: [SM]   [0]  Line 1040, 
src\thc_rpg/base/modulemanager.inc::Command_Base()

i think the problem is the uppercase E in Enable!?

in basecmd.phrases.txt this phrase is specified as "BaseCmd server modules 
enable description"

Original issue reported on code.google.com by andreaspachler on 15 Jul 2010 at 5:10

GoogleCodeExporter commented 9 years ago
Not sure why that string is "Enable" and not "enable".  If you changed the name 
of the command in BaseCmd_RegisterDefs() you need to update the translations 
file to match it.  I guess case matters.

Original comment by andrewbo...@gmail.com on 26 Mar 2011 at 7:07

GoogleCodeExporter commented 9 years ago

Original comment by andrewbo...@gmail.com on 27 Mar 2011 at 8:48