From 5bf66662a9bdd62c5bccab15e607cd95cfb8fcab Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 27 Jul 2020 10:05:23 +0200 Subject: Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my familly --- srcs/wordpress/wp-includes/pomo/entry.php | 103 ------------------------------ 1 file changed, 103 deletions(-) delete mode 100644 srcs/wordpress/wp-includes/pomo/entry.php (limited to 'srcs/wordpress/wp-includes/pomo/entry.php') diff --git a/srcs/wordpress/wp-includes/pomo/entry.php b/srcs/wordpress/wp-includes/pomo/entry.php deleted file mode 100644 index b5e56ff..0000000 --- a/srcs/wordpress/wp-includes/pomo/entry.php +++ /dev/null @@ -1,103 +0,0 @@ - $value ) { - $this->$varname = $value; - } - if ( isset( $args['plural'] ) && $args['plural'] ) { - $this->is_plural = true; - } - if ( ! is_array( $this->translations ) ) { - $this->translations = array(); - } - if ( ! is_array( $this->references ) ) { - $this->references = array(); - } - if ( ! is_array( $this->flags ) ) { - $this->flags = array(); - } - } - - /** - * PHP4 constructor. - */ - public function Translation_Entry( $args = array() ) { - self::__construct( $args ); - } - - /** - * Generates a unique key for this entry - * - * @return string|bool the key or false if the entry is empty - */ - function key() { - if ( null === $this->singular || '' === $this->singular ) { - return false; - } - - // Prepend context and EOT, like in MO files - $key = ! $this->context ? $this->singular : $this->context . "\4" . $this->singular; - // Standardize on \n line endings - $key = str_replace( array( "\r\n", "\r" ), "\n", $key ); - - return $key; - } - - /** - * @param object $other - */ - function merge_with( &$other ) { - $this->flags = array_unique( array_merge( $this->flags, $other->flags ) ); - $this->references = array_unique( array_merge( $this->references, $other->references ) ); - if ( $this->extracted_comments != $other->extracted_comments ) { - $this->extracted_comments .= $other->extracted_comments; - } - - } - } -endif; -- cgit