lib/Skeleton/I18n/Translation.php
private function add_to_po($string) {
		$this->strings[$string] = '';

		$current_strings = Util::load(Config::$po_directory . '/' . $this->language->name_short . '/' . $this->application_name . '.po');
		$untranslated = [$string => ''];
		$strings = array_merge($untranslated, $current_strings);
		ksort($strings);

		Util::save(Config::$po_directory . '/' . $this->language->name_short . '/' . $this->application_name . '.po', $this->application_name, $this->language, $strings);
	}
private function add_to_po($string) {
		$this->strings[$string] = '';

		$current_strings = Util::load(Config::$po_directory . '/' . $this->language->name_short . '/' . $this->application_name . '.po');
		$untranslated = [$string => ''];
		$strings = array_merge($untranslated, $current_strings);
		ksort($strings);

		Util::save(Config::$po_directory . '/' . $this->language->name_short . '/' . $this->application_name . '.po', $this->application_name, $this->language, $strings);
	}
private function add_to_po ( $ string ) { $ this -> strings [ $ string ] = '' ; $ current_strings = Util :: load ( Config :: $ po_directory . '/' . $ this -> language -> name_short . '/' . $ this -> application_name . '.po' ) ; $ untranslated = [ $ string => '' ] ; $ strings = array_merge ( $ untranslated , $ current_strings ) ; ksort ( $ strings ) ; Util :: save ( Config :: $ po_directory . '/' . $ this -> language -> name_short . '/' . $ this -> application_name . '.po' , $ this -> application_name , $ this -> language , $ strings ) ; }
Add a string to the po file

@access public
@param string $string
Add a string to the po file