Commit e60f5eb1 authored by Al-Demon's avatar Al-Demon

update again, language footer, we need more languages

parent f5aa6a84
......@@ -2,7 +2,7 @@
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/var/www/clients/client8/web19/web/user/themes/fair-coop/languages.yaml',
'modified' => 1524737884,
'modified' => 1524738948,
'data' => [
'en' => [
'read more' => 'Read More',
......@@ -709,6 +709,136 @@ return [
'MENU' => 'Menu',
'TOGGLE_NAVIGATION' => 'Toggle navigation'
]
],
'pt' => [
'read more' => 'Read More',
'Search' => 'Search',
'Last News' => 'Last News',
'Last Campaigns' => 'Last Campaigns',
'Last Posts' => 'Last Posts',
'Tag Cloud' => 'Tag Cloud',
'footer' => 'Made with ❤️ on the decentralized earth',
'Languages' => 'Languages',
'THEME_CLEAN_BLOG' => [
'ADMIN' => [
'SUBHEADING' => [
'LABEL' => 'Subheading',
'HELP' => 'Page\'s subheading, shown in header'
],
'HEADER_IMAGE' => [
'LABEL' => 'Header Background Image',
'HELP' => 'File name of an image in page\'s folder, used as header\'s background image'
],
'COPYRIGHT' => [
'LABEL' => 'Copyright',
'HELP' => 'Copyright text shown in footer'
],
'FAVICON' => [
'LABEL' => 'favicon',
'HELP' => 'File name of an image in the theme\'s "img" folder to use as favicon'
],
'DEFAULT_HEADER_IMAGE' => [
'LABEL' => 'Default Header Image',
'HELP' => 'File name of an image in the theme\'s "img" folder to use as header image if page doesn\'t have header image'
],
'ERROR_HEADER_IMAGE' => [
'LABEL' => 'Error Page\'s Header Image',
'HELP' => 'File name of an image in the theme\'s "img" folder to use as header image of error page'
],
'SOCIAL_ICONS' => [
'LABEL' => 'Social Network Icons',
'HELP' => 'Social network icons shown in footer',
'FIELDS' => [
'ICON' => [
'LABEL' => 'FontAwesome Icon',
'HELP' => 'FontAwesome icon class, example: fa-facebook'
],
'URL' => [
'LABEL' => 'URL',
'HELP' => 'Social network channel\'s URL'
]
]
]
],
'CONTACT' => [
'NAME' => 'Name',
'EMAIL' => 'Email Address',
'PHONE' => 'Phone Number',
'MESSAGE' => 'Message',
'SEND' => 'Send'
],
'POST_BY' => 'Posted by',
'POST_ON' => 'on',
'OLDER_POSTS' => 'Older Posts',
'NEWER_POSTS' => 'Newer Posts',
'MENU' => 'Menu',
'TOGGLE_NAVIGATION' => 'Toggle navigation'
]
],
'pt-br' => [
'read more' => 'Read More',
'Search' => 'Search',
'Last News' => 'Last News',
'Last Campaigns' => 'Last Campaigns',
'Last Posts' => 'Last Posts',
'Tag Cloud' => 'Tag Cloud',
'footer' => 'Made with ❤️ on the decentralized earth',
'Languages' => 'Languages',
'THEME_CLEAN_BLOG' => [
'ADMIN' => [
'SUBHEADING' => [
'LABEL' => 'Subheading',
'HELP' => 'Page\'s subheading, shown in header'
],
'HEADER_IMAGE' => [
'LABEL' => 'Header Background Image',
'HELP' => 'File name of an image in page\'s folder, used as header\'s background image'
],
'COPYRIGHT' => [
'LABEL' => 'Copyright',
'HELP' => 'Copyright text shown in footer'
],
'FAVICON' => [
'LABEL' => 'favicon',
'HELP' => 'File name of an image in the theme\'s "img" folder to use as favicon'
],
'DEFAULT_HEADER_IMAGE' => [
'LABEL' => 'Default Header Image',
'HELP' => 'File name of an image in the theme\'s "img" folder to use as header image if page doesn\'t have header image'
],
'ERROR_HEADER_IMAGE' => [
'LABEL' => 'Error Page\'s Header Image',
'HELP' => 'File name of an image in the theme\'s "img" folder to use as header image of error page'
],
'SOCIAL_ICONS' => [
'LABEL' => 'Social Network Icons',
'HELP' => 'Social network icons shown in footer',
'FIELDS' => [
'ICON' => [
'LABEL' => 'FontAwesome Icon',
'HELP' => 'FontAwesome icon class, example: fa-facebook'
],
'URL' => [
'LABEL' => 'URL',
'HELP' => 'Social network channel\'s URL'
]
]
]
],
'CONTACT' => [
'NAME' => 'Name',
'EMAIL' => 'Email Address',
'PHONE' => 'Phone Number',
'MESSAGE' => 'Message',
'SEND' => 'Send'
],
'POST_BY' => 'Posted by',
'POST_ON' => 'on',
'OLDER_POSTS' => 'Older Posts',
'NEWER_POSTS' => 'Newer Posts',
'MENU' => 'Menu',
'TOGGLE_NAVIGATION' => 'Toggle navigation'
]
]
]
];
<?php
/* default.html.twig */
class __TwigTemplate_32e85e3b0e0cdd718170b04e1aabd208dd3b4312834f5d58cbab448472a43898 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("partials/base.html.twig", "default.html.twig", 1);
$this->blocks = array(
'content' => array($this, 'block_content'),
);
}
protected function doGetParent(array $context)
{
return "partials/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = array())
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_content($context, array $blocks = array())
{
// line 4
echo "<div class=\"defaultpage container\">
<div class=\"image-tittle\">
<h1>";
// line 6
echo $this->getAttribute($this->getAttribute(($context["page"] ?? null), "header", array()), "title", array());
echo "</h1>\t
</div>
<div class=\"image-header\">
";
// line 9
if (($context["big_header"] ?? null)) {
// line 10
echo " ";
echo $this->getAttribute($this->getAttribute(twig_first($this->env, $this->getAttribute($this->getAttribute(($context["page"] ?? null), "media", array()), "images", array())), "cropResize", array(0 => 1038, 1 => 437), "method"), "html", array(0 => $this->getAttribute(($context["page"] ?? null), "title", array()), 1 => $this->getAttribute(($context["page"] ?? null), "title", array()), 2 => "image featured"), "method");
echo "
";
} else {
// line 12
echo " ";
echo $this->getAttribute($this->getAttribute(twig_first($this->env, $this->getAttribute($this->getAttribute(($context["page"] ?? null), "media", array()), "images", array())), "cropZoom", array(0 => 1038, 1 => 437), "method"), "html", array(0 => $this->getAttribute(($context["page"] ?? null), "title", array()), 1 => $this->getAttribute(($context["page"] ?? null), "title", array()), 2 => "image featured"), "method");
echo "
";
}
// line 14
echo "</div>
";
// line 15
echo $this->getAttribute(($context["page"] ?? null), "content", array());
echo "
</div>
";
}
public function getTemplateName()
{
return "default.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 58 => 15, 55 => 14, 49 => 12, 43 => 10, 41 => 9, 35 => 6, 31 => 4, 28 => 3, 11 => 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("{% extends 'partials/base.html.twig' %}
{% block content %}
<div class=\"defaultpage container\">
<div class=\"image-tittle\">
<h1>{{ page.header.title }}</h1>\t
</div>
<div class=\"image-header\">
{% if big_header %}
{{ page.media.images|first.cropResize(1038,437).html(page.title, page.title, 'image featured') }}
{% else %}
{{ page.media.images|first.cropZoom(1038,437).html(page.title, page.title, 'image featured') }}
{% endif %}
</div>
{{ page.content }}
</div>
{% endblock %}
", "default.html.twig", "/var/www/clients/client8/web19/web/user/themes/fair-coop/templates/default.html.twig");
}
}
{"26-04-2018":1650}
\ No newline at end of file
{"26-04-2018":1693}
\ No newline at end of file
{"04-2018":108961}
\ No newline at end of file
{"04-2018":109004}
\ No newline at end of file
{"\/":106554,"\/about":1116,"\/economic-system":349,"\/faircoop-tools":356,"\/organization":328,"\/join":263}
\ No newline at end of file
{"\/":106596,"\/about":1116,"\/economic-system":350,"\/faircoop-tools":356,"\/organization":328,"\/join":263}
\ No newline at end of file
{"10.81.228.23":1524738024,"195.154.21.211":1524737627,"85.210.76.109":1524737309,"172.16.201.1":1524735344,"79.18.49.107":1524734223,"87.217.61.173":1524728409,"186.106.94.8":1524718709,"2601:204:cc01:f22d:f4d5:35ed:b9ae:acf":1524714356,"188.240.88.253":1524712477,"82.49.125.1":1524686593,"195.154.28.149":1524682908,"203.162.13.173":1524682225,"23.249.163.11":1524671385,"2804:14c:71:8960:e967:c62e:2de9:2d17":1524670513,"14.226.234.109":1524669517,"126.233.20.23":1524659336,"36.81.8.239":1524657923,"103.75.183.197":1524656557,"2a02:587:a0e:6900:ad71:a4a8:4260:5e10":1524652895,"27.78.32.17":1524644285}
\ No newline at end of file
{"10.81.228.23":1524738975,"195.154.21.211":1524737627,"85.210.76.109":1524737309,"172.16.201.1":1524735344,"79.18.49.107":1524734223,"87.217.61.173":1524728409,"186.106.94.8":1524718709,"2601:204:cc01:f22d:f4d5:35ed:b9ae:acf":1524714356,"188.240.88.253":1524712477,"82.49.125.1":1524686593,"195.154.28.149":1524682908,"203.162.13.173":1524682225,"23.249.163.11":1524671385,"2804:14c:71:8960:e967:c62e:2de9:2d17":1524670513,"14.226.234.109":1524669517,"126.233.20.23":1524659336,"36.81.8.239":1524657923,"103.75.183.197":1524656557,"2a02:587:a0e:6900:ad71:a4a8:4260:5e10":1524652895,"27.78.32.17":1524644285}
\ No newline at end of file
......@@ -553,3 +553,107 @@ sr:
NEWER_POSTS: Newer Posts
MENU: Menu
TOGGLE_NAVIGATION: Toggle navigation
pt:
read more: Read More
Search: Search
Last News: Last News
Last Campaigns: Last Campaigns
Last Posts: Last Posts
Tag Cloud: Tag Cloud
footer: Made with ❤️ on the decentralized earth
Languages: Languages
THEME_CLEAN_BLOG:
ADMIN:
SUBHEADING:
LABEL: Subheading
HELP: Page's subheading, shown in header
HEADER_IMAGE:
LABEL: Header Background Image
HELP: File name of an image in page's folder, used as header's background image
COPYRIGHT:
LABEL: Copyright
HELP: Copyright text shown in footer
FAVICON:
LABEL: favicon
HELP: File name of an image in the theme's "img" folder to use as favicon
DEFAULT_HEADER_IMAGE:
LABEL: Default Header Image
HELP: File name of an image in the theme's "img" folder to use as header image if page doesn't have header image
ERROR_HEADER_IMAGE:
LABEL: Error Page's Header Image
HELP: File name of an image in the theme's "img" folder to use as header image of error page
SOCIAL_ICONS:
LABEL: Social Network Icons
HELP: Social network icons shown in footer
FIELDS:
ICON:
LABEL: FontAwesome Icon
HELP: "FontAwesome icon class, example: fa-facebook"
URL:
LABEL: URL
HELP: Social network channel's URL
CONTACT:
NAME: Name
EMAIL: Email Address
PHONE: Phone Number
MESSAGE: Message
SEND: Send
POST_BY: Posted by
POST_ON: on
OLDER_POSTS: Older Posts
NEWER_POSTS: Newer Posts
MENU: Menu
TOGGLE_NAVIGATION: Toggle navigation
pt-br:
read more: Read More
Search: Search
Last News: Last News
Last Campaigns: Last Campaigns
Last Posts: Last Posts
Tag Cloud: Tag Cloud
footer: Made with ❤️ on the decentralized earth
Languages: Languages
THEME_CLEAN_BLOG:
ADMIN:
SUBHEADING:
LABEL: Subheading
HELP: Page's subheading, shown in header
HEADER_IMAGE:
LABEL: Header Background Image
HELP: File name of an image in page's folder, used as header's background image
COPYRIGHT:
LABEL: Copyright
HELP: Copyright text shown in footer
FAVICON:
LABEL: favicon
HELP: File name of an image in the theme's "img" folder to use as favicon
DEFAULT_HEADER_IMAGE:
LABEL: Default Header Image
HELP: File name of an image in the theme's "img" folder to use as header image if page doesn't have header image
ERROR_HEADER_IMAGE:
LABEL: Error Page's Header Image
HELP: File name of an image in the theme's "img" folder to use as header image of error page
SOCIAL_ICONS:
LABEL: Social Network Icons
HELP: Social network icons shown in footer
FIELDS:
ICON:
LABEL: FontAwesome Icon
HELP: "FontAwesome icon class, example: fa-facebook"
URL:
LABEL: URL
HELP: Social network channel's URL
CONTACT:
NAME: Name
EMAIL: Email Address
PHONE: Phone Number
MESSAGE: Message
SEND: Send
POST_BY: Posted by
POST_ON: on
OLDER_POSTS: Older Posts
NEWER_POSTS: Newer Posts
MENU: Menu
TOGGLE_NAVIGATION: Toggle navigation
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment