Commit Graph

5 Commits

Author SHA1 Message Date
Evan Prodromou
42834944e0 add version info to SamplePlugin 2010-01-07 17:37:44 -08:00
Evan Prodromou
eebc5d0d59 add keyTypes() for User_greeting_count 2010-01-03 11:27:09 -10:00
Evan Prodromou
e940790241 update SamplePlugin.php also 2010-01-03 11:18:26 -10:00
Evan Prodromou
1348c6e819 Expand SamplePlugin to show other best practices
I modified the SamplePlugin to show how to do some real processing,
adding a data class and an action class and modifying the main
menu to link to the new action. I added documentation comments to
all the methods and made sure the modules were PHPCS-clean.
2010-01-03 11:02:36 -10:00
Brion Vibber
4b5e977a7b New _m() gettext wrapper with smart detection of plugin domains. Plugin base class registers your gettext files if present at initialization.
update_pot.sh replaced with update_po_templates.php which can do core, plugins, or all (default).
Top-level Makefile added to build .mo files for plugins as well as core.

As described on list:
http://lists.status.net/pipermail/statusnet-dev/2009-December/002869.html
2009-12-08 12:17:11 -08:00