Skip to content
Snippets Groups Projects
Commit e127733d authored by dyszczo's avatar dyszczo
Browse files

text domain info field

parent 56d29f12
No related branches found
No related tags found
1 merge request!2interface with info about domain
......@@ -23,6 +23,9 @@ class WPDesk_Plugin_Info implements WPDesk_Translable, WPDesk_Buildable {
/** @var \DateTimeInterface */
private $release_date;
/** string */
private $text_domain;
/**
* @return string
*/
......@@ -111,6 +114,13 @@ class WPDesk_Plugin_Info implements WPDesk_Translable, WPDesk_Buildable {
* @return string
*/
public function get_text_domain() {
return strtolower( $this->get_plugin_dir() );
return $this->text_domain;
}
/**
* @param $value
*/
public function set_text_domain($value) {
$this->text_domain = $value;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment