source = $this->getSourceContext(); $this->blocks = [ 'toolbar' => [$this, 'block_toolbar'], 'menu' => [$this, 'block_menu'], 'panel' => [$this, 'block_panel'], 'panelContent' => [$this, 'block_panelContent'], ]; } protected function doGetParent(array $context) { // line 1 return "@WebProfiler/Profiler/layout.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/translation.html.twig")); // line 3 $macros["helper"] = $this->macros["helper"] = $this; // line 1 $this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@WebProfiler/Collector/translation.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 5 public function block_toolbar($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar")); // line 6 echo " "; if (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 6, $this->source); })()), "messages", [], "any", false, false, false, 6))) { // line 7 echo " "; ob_start(); // line 8 echo " "; echo twig_include($this->env, $context, "@WebProfiler/Icon/translation.svg"); echo " "; // line 9 $context["status_color"] = ((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 9, $this->source); })()), "countMissings", [], "any", false, false, false, 9)) ? ("red") : (((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 9, $this->source); })()), "countFallbacks", [], "any", false, false, false, 9)) ? ("yellow") : ("")))); // line 10 echo " "; $context["error_count"] = (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 10, $this->source); })()), "countMissings", [], "any", false, false, false, 10) + twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 10, $this->source); })()), "countFallbacks", [], "any", false, false, false, 10)); // line 11 echo " "; echo twig_escape_filter($this->env, (((isset($context["error_count"]) || array_key_exists("error_count", $context) ? $context["error_count"] : (function () { throw new RuntimeError('Variable "error_count" does not exist.', 11, $this->source); })())) ? ((isset($context["error_count"]) || array_key_exists("error_count", $context) ? $context["error_count"] : (function () { throw new RuntimeError('Variable "error_count" does not exist.', 11, $this->source); })())) : (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 11, $this->source); })()), "countdefines", [], "any", false, false, false, 11))), "html", null, true); echo " "; $context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 13 echo " "; // line 14 ob_start(); // line 15 echo "
Missing messages env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 17, $this->source); })()), "countMissings", [], "any", false, false, false, 17)) ? ("red") : ("")); echo "\"> "; // line 18 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 18, $this->source); })()), "countMissings", [], "any", false, false, false, 18), "html", null, true); echo "
Fallback messages env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 24, $this->source); })()), "countFallbacks", [], "any", false, false, false, 24)) ? ("yellow") : ("")); echo "\"> "; // line 25 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 25, $this->source); })()), "countFallbacks", [], "any", false, false, false, 25), "html", null, true); echo "
Defined messages "; // line 31 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 31, $this->source); })()), "countdefines", [], "any", false, false, false, 31), "html", null, true); echo "
"; $context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 34 echo " "; // line 35 echo twig_include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => (isset($context["profiler_url"]) || array_key_exists("profiler_url", $context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.', 35, $this->source); })()), "status" => (isset($context["status_color"]) || array_key_exists("status_color", $context) ? $context["status_color"] : (function () { throw new RuntimeError('Variable "status_color" does not exist.', 35, $this->source); })())]); echo " "; } $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 39 public function block_menu($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu")); // line 40 echo " env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 40, $this->source); })()), "countMissings", [], "any", false, false, false, 40)) ? ("error") : (((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 40, $this->source); })()), "countFallbacks", [], "any", false, false, false, 40)) ? ("warning") : ("")))); echo " "; echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 40, $this->source); })()), "messages", [], "any", false, false, false, 40))) ? ("disabled") : ("")); echo "\"> "; // line 41 echo twig_include($this->env, $context, "@WebProfiler/Icon/translation.svg"); echo " Translation "; // line 43 if ((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 43, $this->source); })()), "countMissings", [], "any", false, false, false, 43) || twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 43, $this->source); })()), "countFallbacks", [], "any", false, false, false, 43))) { // line 44 echo " "; $context["error_count"] = (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 44, $this->source); })()), "countMissings", [], "any", false, false, false, 44) + twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 44, $this->source); })()), "countFallbacks", [], "any", false, false, false, 44)); // line 45 echo " "; // line 46 echo twig_escape_filter($this->env, (isset($context["error_count"]) || array_key_exists("error_count", $context) ? $context["error_count"] : (function () { throw new RuntimeError('Variable "error_count" does not exist.', 46, $this->source); })()), "html", null, true); echo " "; } // line 49 echo " "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 52 public function block_panel($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel")); // line 53 echo " "; if (twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 53, $this->source); })()), "messages", [], "any", false, false, false, 53))) { // line 54 echo "

Translations

No translations have been called.

"; } else { // line 59 echo " "; $this->displayBlock("panelContent", $context, $blocks); echo " "; } $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 63 public function block_panelContent($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panelContent")); // line 64 echo "

Translation Metrics

"; // line 68 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 68, $this->source); })()), "countdefines", [], "any", false, false, false, 68), "html", null, true); echo " Defined messages
"; // line 73 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 73, $this->source); })()), "countFallbacks", [], "any", false, false, false, 73), "html", null, true); echo " Fallback messages
"; // line 78 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 78, $this->source); })()), "countMissings", [], "any", false, false, false, 78), "html", null, true); echo " Missing messages

Translation Messages

"; // line 86 echo " "; list($context["messages_defined"], $context["messages_missing"], $context["messages_fallback"]) = [[], [], []]; // line 87 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 87, $this->source); })()), "messages", [], "any", false, false, false, 87)); foreach ($context['_seq'] as $context["_key"] => $context["message"]) { // line 88 echo " "; if ((twig_get_attribute($this->env, $this->source, $context["message"], "state", [], "any", false, false, false, 88) == twig_constant("Symfony\\Component\\Translation\\DataCollectorTranslator::MESSAGE_DEFINED"))) { // line 89 echo " "; $context["messages_defined"] = twig_array_merge((isset($context["messages_defined"]) || array_key_exists("messages_defined", $context) ? $context["messages_defined"] : (function () { throw new RuntimeError('Variable "messages_defined" does not exist.', 89, $this->source); })()), [0 => $context["message"]]); // line 90 echo " "; } elseif ((twig_get_attribute($this->env, $this->source, $context["message"], "state", [], "any", false, false, false, 90) == twig_constant("Symfony\\Component\\Translation\\DataCollectorTranslator::MESSAGE_MISSING"))) { // line 91 echo " "; $context["messages_missing"] = twig_array_merge((isset($context["messages_missing"]) || array_key_exists("messages_missing", $context) ? $context["messages_missing"] : (function () { throw new RuntimeError('Variable "messages_missing" does not exist.', 91, $this->source); })()), [0 => $context["message"]]); // line 92 echo " "; } elseif ((twig_get_attribute($this->env, $this->source, $context["message"], "state", [], "any", false, false, false, 92) == twig_constant("Symfony\\Component\\Translation\\DataCollectorTranslator::MESSAGE_EQUALS_FALLBACK"))) { // line 93 echo " "; $context["messages_fallback"] = twig_array_merge((isset($context["messages_fallback"]) || array_key_exists("messages_fallback", $context) ? $context["messages_fallback"] : (function () { throw new RuntimeError('Variable "messages_fallback" does not exist.', 93, $this->source); })()), [0 => $context["message"]]); // line 94 echo " "; } // line 95 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 96 echo "

Defined "; // line 99 echo twig_escape_filter($this->env, twig_length_filter($this->env, (isset($context["messages_defined"]) || array_key_exists("messages_defined", $context) ? $context["messages_defined"] : (function () { throw new RuntimeError('Variable "messages_defined" does not exist.', 99, $this->source); })())), "html", null, true); echo "

These messages are correctly translated into the given locale.

"; // line 106 if (twig_test_empty((isset($context["messages_defined"]) || array_key_exists("messages_defined", $context) ? $context["messages_defined"] : (function () { throw new RuntimeError('Variable "messages_defined" does not exist.', 106, $this->source); })()))) { // line 107 echo "

None of the used translation messages are defined for the given locale.

"; } else { // line 111 echo " "; echo twig_call_macro($macros["helper"], "macro_render_table", [(isset($context["messages_defined"]) || array_key_exists("messages_defined", $context) ? $context["messages_defined"] : (function () { throw new RuntimeError('Variable "messages_defined" does not exist.', 111, $this->source); })())], 111, $context, $this->getSourceContext()); echo " "; } // line 113 echo "

Fallback "; // line 117 echo twig_escape_filter($this->env, twig_length_filter($this->env, (isset($context["messages_fallback"]) || array_key_exists("messages_fallback", $context) ? $context["messages_fallback"] : (function () { throw new RuntimeError('Variable "messages_fallback" does not exist.', 117, $this->source); })())), "html", null, true); echo "

These messages are not available for the given locale but Symfony found them in the fallback locale catalog.

"; // line 125 if (twig_test_empty((isset($context["messages_fallback"]) || array_key_exists("messages_fallback", $context) ? $context["messages_fallback"] : (function () { throw new RuntimeError('Variable "messages_fallback" does not exist.', 125, $this->source); })()))) { // line 126 echo "

No fallback translation messages were used.

"; } else { // line 130 echo " "; echo twig_call_macro($macros["helper"], "macro_render_table", [(isset($context["messages_fallback"]) || array_key_exists("messages_fallback", $context) ? $context["messages_fallback"] : (function () { throw new RuntimeError('Variable "messages_fallback" does not exist.', 130, $this->source); })())], 130, $context, $this->getSourceContext()); echo " "; } // line 132 echo "

Missing "; // line 136 echo twig_escape_filter($this->env, twig_length_filter($this->env, (isset($context["messages_missing"]) || array_key_exists("messages_missing", $context) ? $context["messages_missing"] : (function () { throw new RuntimeError('Variable "messages_missing" does not exist.', 136, $this->source); })())), "html", null, true); echo "

These messages are not available for the given locale and cannot be found in the fallback locales. Add them to the translation catalogue to avoid Symfony outputting untranslated contents.

"; // line 145 if (twig_test_empty((isset($context["messages_missing"]) || array_key_exists("messages_missing", $context) ? $context["messages_missing"] : (function () { throw new RuntimeError('Variable "messages_missing" does not exist.', 145, $this->source); })()))) { // line 146 echo "

There are no messages of this category.

"; } else { // line 150 echo " "; echo twig_call_macro($macros["helper"], "macro_render_table", [(isset($context["messages_missing"]) || array_key_exists("messages_missing", $context) ? $context["messages_missing"] : (function () { throw new RuntimeError('Variable "messages_missing" does not exist.', 150, $this->source); })())], 150, $context, $this->getSourceContext()); echo " "; } // line 152 echo "
"; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 157 public function macro_render_table($__messages__ = null, ...$__varargs__) { $macros = $this->macros; $context = $this->env->mergeGlobals([ "messages" => $__messages__, "varargs" => $__varargs__, ]); $blocks = []; ob_start(); try { $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_table")); // line 158 echo " "; // line 169 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["messages"]) || array_key_exists("messages", $context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.', 169, $this->source); })())); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["message"]) { // line 170 echo " "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 195 echo "
Locale Domain Times used Message ID Message Preview
"; // line 171 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["message"], "locale", [], "any", false, false, false, 171), "html", null, true); echo " "; // line 172 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["message"], "domain", [], "any", false, false, false, 172), "html", null, true); echo " "; // line 173 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["message"], "count", [], "any", false, false, false, 173), "html", null, true); echo " "; // line 175 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["message"], "id", [], "any", false, false, false, 175), "html", null, true); echo " "; // line 177 if ( !(null === twig_get_attribute($this->env, $this->source, $context["message"], "transChoiceNumber", [], "any", false, false, false, 177))) { // line 178 echo " (pluralization is used) "; } // line 180 echo " "; // line 181 if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["message"], "parameters", [], "any", false, false, false, 181)) > 0)) { // line 182 echo "
env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 184), "html", null, true); echo "\" class=\"hidden\"> "; // line 185 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["message"], "parameters", [], "any", false, false, false, 185)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["parameters"]) { // line 186 echo " "; echo twig_escape_filter($this->env, $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpValue($context["parameters"]), "html", null, true); echo " "; // line 187 if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 187)) { echo "
"; } // line 188 echo " "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['parameters'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 189 echo "
"; } // line 191 echo "
"; // line 192 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["message"], "translation", [], "any", false, false, false, 192), "html", null, true); echo "
"; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset()); } finally { ob_end_clean(); } } public function getTemplateName() { return "@WebProfiler/Collector/translation.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 538 => 195, 521 => 192, 518 => 191, 514 => 189, 500 => 188, 496 => 187, 491 => 186, 474 => 185, 470 => 184, 464 => 182, 462 => 181, 459 => 180, 455 => 178, 453 => 177, 448 => 175, 443 => 173, 439 => 172, 435 => 171, 432 => 170, 415 => 169, 402 => 158, 386 => 157, 376 => 152, 370 => 150, 364 => 146, 362 => 145, 350 => 136, 344 => 132, 338 => 130, 332 => 126, 330 => 125, 319 => 117, 313 => 113, 307 => 111, 301 => 107, 299 => 106, 289 => 99, 284 => 96, 278 => 95, 275 => 94, 272 => 93, 269 => 92, 266 => 91, 263 => 90, 260 => 89, 257 => 88, 252 => 87, 249 => 86, 239 => 78, 231 => 73, 223 => 68, 217 => 64, 210 => 63, 199 => 59, 192 => 54, 189 => 53, 182 => 52, 174 => 49, 168 => 46, 165 => 45, 162 => 44, 160 => 43, 155 => 41, 148 => 40, 141 => 39, 131 => 35, 128 => 34, 122 => 31, 113 => 25, 109 => 24, 100 => 18, 96 => 17, 92 => 15, 90 => 14, 87 => 13, 81 => 11, 78 => 10, 76 => 9, 71 => 8, 68 => 7, 65 => 6, 58 => 5, 50 => 1, 48 => 3, 38 => 1,); } public function getSourceContext() { return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% import _self as helper %} {% block toolbar %} {% if collector.messages|length %} {% set icon %} {{ include('@WebProfiler/Icon/translation.svg') }} {% set status_color = collector.countMissings ? 'red' : collector.countFallbacks ? 'yellow' %} {% set error_count = collector.countMissings + collector.countFallbacks %} {{ error_count ?: collector.countdefines }} {% endset %} {% set text %}
Missing messages {{ collector.countMissings }}
Fallback messages {{ collector.countFallbacks }}
Defined messages {{ collector.countdefines }}
{% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status_color }) }} {% endif %} {% endblock %} {% block menu %} {{ include('@WebProfiler/Icon/translation.svg') }} Translation {% if collector.countMissings or collector.countFallbacks %} {% set error_count = collector.countMissings + collector.countFallbacks %} {{ error_count }} {% endif %} {% endblock %} {% block panel %} {% if collector.messages is empty %}

Translations

No translations have been called.

{% else %} {{ block('panelContent') }} {% endif %} {% endblock %} {% block panelContent %}

Translation Metrics

{{ collector.countdefines }} Defined messages
{{ collector.countFallbacks }} Fallback messages
{{ collector.countMissings }} Missing messages

Translation Messages

{# sort translation messages in groups #} {% set messages_defined, messages_missing, messages_fallback = [], [], [] %} {% for message in collector.messages %} {% if message.state == constant('Symfony\\\\Component\\\\Translation\\\\DataCollectorTranslator::MESSAGE_DEFINED') %} {% set messages_defined = messages_defined|merge([message]) %} {% elseif message.state == constant('Symfony\\\\Component\\\\Translation\\\\DataCollectorTranslator::MESSAGE_MISSING') %} {% set messages_missing = messages_missing|merge([message]) %} {% elseif message.state == constant('Symfony\\\\Component\\\\Translation\\\\DataCollectorTranslator::MESSAGE_EQUALS_FALLBACK') %} {% set messages_fallback = messages_fallback|merge([message]) %} {% endif %} {% endfor %}

Defined {{ messages_defined|length }}

These messages are correctly translated into the given locale.

{% if messages_defined is empty %}

None of the used translation messages are defined for the given locale.

{% else %} {{ helper.render_table(messages_defined) }} {% endif %}

Fallback {{ messages_fallback|length }}

These messages are not available for the given locale but Symfony found them in the fallback locale catalog.

{% if messages_fallback is empty %}

No fallback translation messages were used.

{% else %} {{ helper.render_table(messages_fallback) }} {% endif %}

Missing {{ messages_missing|length }}

These messages are not available for the given locale and cannot be found in the fallback locales. Add them to the translation catalogue to avoid Symfony outputting untranslated contents.

{% if messages_missing is empty %}

There are no messages of this category.

{% else %} {{ helper.render_table(messages_missing) }} {% endif %}
{% endblock %} {% macro render_table(messages) %} {% for message in messages %} {% endfor %}
Locale Domain Times used Message ID Message Preview
{{ message.locale }} {{ message.domain }} {{ message.count }} {{ message.id }} {% if message.transChoiceNumber is not null %} (pluralization is used) {% endif %} {% if message.parameters|length > 0 %}
{% for parameters in message.parameters %} {{ profiler_dump(parameters) }} {% if not loop.last %}
{% endif %} {% endfor %}
{% endif %}
{{ message.translation }}
{% endmacro %} ", "@WebProfiler/Collector/translation.html.twig", "/Users/kadmin/Websites/sterntours-3/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/translation.html.twig"); } }