<?php

namespace Hecate;

class Translations {

	private $data;

	private static $instance;

	protected function __construct() {
		$this->initData();
	}

	public static function get( $path ) {
		if ( ! self::$instance ) {
			self::$instance = new static();
		}

		return self::$instance->data[ $path ];
	}

	private function initData() {
		$this->data = array(

			//controls
			'background_color' => __( 'Background color', 'hecate' ),
			'text_color'       => __( 'Text color', 'hecate' ),
			'spacing'          => __( 'Spacing', 'hecate' ),
			'dimensions'       => __( 'Dimensions', 'hecate' ),
			'typography'       => __( 'Typography', 'hecate' ),

		);
	}
}
