Files
doitinpoland.com/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-translation.php
2023-09-12 21:41:04 +02:00

45 lines
739 B
PHP

<?php
class WPML_ST_Translations_File_Translation {
/** @var string */
private $original;
/** @var string */
private $translation;
/** @var string */
private $context;
/**
* @param string $original
* @param string $translation
* @param string $context
*/
public function __construct( $original, $translation, $context = '' ) {
$this->original = $original;
$this->translation = $translation;
$this->context = $context;
}
/**
* @return string
*/
public function get_original() {
return $this->original;
}
/**
* @return string
*/
public function get_translation() {
return $this->translation;
}
/**
* @return string
*/
public function get_context() {
return $this->context;
}
}