spacedmonkey / super-simple-events

Super Simple Events WordPress Plugin
http://wordpress.org/plugins/super-simple-events/
GNU General Public License v2.0
6 stars 4 forks source link

Plugin textdomain should be a string, not a variable #5

Open danielck opened 10 years ago

danielck commented 10 years ago

Hi!

I noticed Super Simple Events is using $this->plugin->get_plugin_slug() as the textdomain parameter in WordPress localisation functions instead of a simple string like 'super-simple-events'. This is a problem when using automated tools for generating translation files, see this post by Mark Jaquith, a core developer of WordPress: http://markjaquith.wordpress.com/2011/10/06/translating-wordpress-plugins-and-themes-dont-get-clever/