<?php

/* media-translation-popup.twig */
class __TwigTemplate_1de3a409f67e4cb068b2f21fbbc6cc1204148b1fd605b9fdc2aa5d640f65dbfd extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo "<div id=\"wpml-media-dialog\">
    <span class=\"ajax-loader\"></span>
    <form id=\"wpml-media-dialog-form\" method=\"post\" enctype=\"multipart/form-data\">
        ";
        // line 4
        echo ($context["nonce"] ?? null);
        echo "
        <input type=\"hidden\" name=\"original-attachment-id\" value=\"\"/>
        <input type=\"hidden\" name=\"translated-attachment-id\" value=\"\"/>
        <input type=\"hidden\" name=\"translated-language\" value=\"\"/>
        <input type=\"hidden\" name=\"restore-media\" value=\"0\"/>
        <input type=\"hidden\" name=\"update-media-file\" value=\"0\"/>
        <input type=\"hidden\" name=\"action\" value=\"wpml_media_save_translation\"/>
        <header class=\"wpml-media-translation-header\">
            <h3 class=\"wpml-header-original\">";
        // line 12
        echo twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "original", array()), "html", null, true);
        echo "<span class=\"wpml-title-flag\"><img
                            src=\"#\"></span><strong>%from_language%</strong>
            </h3>
            <h3 class=\"wpml-header-translation\">";
        // line 15
        echo twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "translation", array()), "html", null, true);
        echo "<span class=\"wpml-title-flag\"><img
                            src=\"#\"></span><strong>%to_language%</strong>
            </h3>
        </header>


        <div class=\"wpml-form-row\">

            <label>";
        // line 23
        echo twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "file", array()), "html", null, true);
        echo "</label>

            <span class=\"wpml-media-wrapper\">
                <span class=\"wpml-media-original-image\">
                    <img src=\"#\" alt=\"#\">
                    <span class=\"wpml-media-original-title\"></span>
                </span>
            </span>

            <span class=\"wpml-media-wrapper wpml-media-upload-handle\">
                <a class=\"wpml-media-translation-image drag-drop-area\">
                    <img src=\"#\" alt=\"#\">
                    <span class=\"wpml-media-translated-title\"></span>
                    <span class=\"wpml-media-upload-text hidden\">";
        // line 36
        echo twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "use_different_file", array()), "html", null, true);
        echo "</span>
                </a>

                <span class=\"js-wpml-media-revert wpml-display-block text-center hidden\">
                    <a class=\"button button-secondary button-small\">";
        // line 40
        echo twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "revert_to_original", array()), "html", null, true);
        echo "</a>
                </span>
            </span>

        </div>

        <div class=\"wpml-form-row wpml-form-row-title hidden\">
            <label for=\"media-title\">";
        // line 47
        echo twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "name", array()), "html", null, true);
        echo "</label>
            <input readonly value=\"\" id=\"media-title-original\" type=\"text\">
            <button class=\"button-copy button-secondary js-button-copy otgs-ico-copy\"
                    title=\"";
        // line 50
        echo twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "copy_from_original", array()), "html", null, true);
        echo "\"></button>
            <input name=\"translation[title]\" id=\"media-title-translation\" value=\"\" type=\"text\">
        </div>
        <div class=\"wpml-form-row wpml-form-row-caption hidden\">
            <label for=\"media-caption\">";
        // line 54
        echo twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "caption", array()), "html", null, true);
        echo "</label>
            <textarea readonly id=\"media-caption-original\" cols=\"22\" rows=\"4\"></textarea>
            <button class=\"button-copy button-secondary js-button-copy otgs-ico-copy\"
                    title=\"";
        // line 57
        echo twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "copy_from_original", array()), "html", null, true);
        echo "\"></button>
            <textarea name=\"translation[caption]\" id=\"media-caption-translation\" cols=\"22\" rows=\"4\"></textarea>
        </div>
        <div class=\"wpml-form-row wpml-form-row-alt-text hidden\">
            <label for=\"media-alt-text\">";
        // line 61
        echo twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "alt_text", array()), "html", null, true);
        echo "</label>
            <input readonly value=\"\" id=\"media-alt-text-original\" type=\"text\">
            <button class=\"button-copy button-secondary js-button-copy otgs-ico-copy\"
                    title=\"";
        // line 64
        echo twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "copy_from_original", array()), "html", null, true);
        echo "\"></button>
            <input name=\"translation[alt-text]\" id=\"media-alt-text-translation\" value=\"\" type=\"text\">
        </div>
        <div class=\"wpml-form-row wpml-form-row-description hidden\">
            <label for=\"media-description\">";
        // line 68
        echo twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "description", array()), "html", null, true);
        echo "</label>
            <textarea readonly id=\"media-description-original\" cols=\"22\" rows=\"4\"></textarea>
            <button class=\"button-copy button-secondary js-button-copy otgs-ico-copy\"
                    title=\"";
        // line 71
        echo twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "copy_from_original", array()), "html", null, true);
        echo "\"></button>
            <textarea name=\"translation[description]\" id=\"media-description-translation\" cols=\"22\" rows=\"4\"></textarea>
        </div>
    </form>
    ";
        // line 75
        if (($context["show_text_change_notice"] ?? null)) {
            // line 76
            echo "    <div class=\"text-change-notice notice notice-info inline is-dismissible hidden\">
        <p>";
            // line 77
            echo twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "texts_change_notice", array()), "html", null, true);
            echo "</p>
    </div>
    ";
        }
        // line 80
        echo "    <div id=\"wpml-media-upload-progress-animation\">
        <div class=\"upload-progress-bar\"></div>
        <div class=\"status\">0%</div>
    </div>
    <span id=\"wpml-media-upload-error\" class=\"icl_error_text\"></span>
</div>
<form id=\"wpml-media-file-upload-form\" enctype=\"multipart/form-data\">
    <input type=\"hidden\" name=\"action\" value=\"wpml_media_upload_file\">
    <input type=\"hidden\" name=\"attachment-id\" value=\"\">
    <input type=\"hidden\" name=\"original-attachment-id\" value=\"\">
    <input type=\"hidden\" name=\"language\" value=\"\">
    ";
        // line 91
        echo ($context["nonce"] ?? null);
        echo "
    <input style=\"display:none\" type=\"file\" name=\"image\" accept=\"image/*\" />
</form>
";
    }

    public function getTemplateName()
    {
        return "media-translation-popup.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  161 => 91,  148 => 80,  142 => 77,  139 => 76,  137 => 75,  130 => 71,  124 => 68,  117 => 64,  111 => 61,  104 => 57,  98 => 54,  91 => 50,  85 => 47,  75 => 40,  68 => 36,  52 => 23,  41 => 15,  35 => 12,  24 => 4,  19 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Twig_Source("", "media-translation-popup.twig", "/var/www/dev-curemedia.se/wordpress/wp-content/plugins/wpml-media-translation/templates/menus/media-translation-popup.twig");
    }
}
