rinatkhaziev / wp-frontend-uploader

WordPress plugin that allows your visitors to upload media from the front-end
53 stars 52 forks source link

Add textdomain to i18n functions #2

Closed danielbachhuber closed 12 years ago

danielbachhuber commented 12 years ago

It would be great if there were a text domain for the i18n functions (e.g. __( 'This is my text', 'text-domain' )

rinatkhaziev commented 12 years ago

Added localization textdomain where appropriate, closing.

gastonbesada commented 12 years ago

Hi Rinat, Sorry, I'm wainting to translate the plugin with codestyling localization but, I could't find textdomain function like this:

function l10n()
{
    load_plugin_textdomain( 'frontendupload', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
}
gastonbesada commented 12 years ago

I did the changes in the files and generated .pot and .mo .po for es_ES