CWS_Google_Picasa_Pro_i18n

Define the internationalization functionality.

Defined (1)

The class is defined in the following location(s).

/includes/class-cws-google-picasa-pro-i18n.php  
  1. class CWS_Google_Picasa_Pro_i18n { 
  2.  
  3. /** 
  4. * The domain specified for this plugin. 
  5. * @since 2.0.0 
  6. * @access private 
  7. * @var string $domain The domain identifier for this plugin. 
  8. */ 
  9. private $domain; 
  10.  
  11. /** 
  12. * Load the plugin text domain for translation. 
  13. * @since 2.0.0 
  14. */ 
  15. public function load_plugin_textdomain() { 
  16.  
  17. load_plugin_textdomain( 
  18. $this->domain,  
  19. false,  
  20. dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/' 
  21. ); 
  22.  
  23.  
  24. /** 
  25. * Set the domain equal to that of the specified domain. 
  26. * @since 2.0.0 
  27. * @param string $domain The domain that represents the locale of this plugin. 
  28. */ 
  29. public function set_domain( $domain ) { 
  30. $this->domain = $domain; 
  31.