From e0c8dfe82c9d44cfbf88878ee3ed771087b0eae5 Mon Sep 17 00:00:00 2001 From: "severoiuliano@gmail.com" Date: Sun, 24 May 2020 23:11:47 +0200 Subject: [PATCH] added translation --- system/author/auth/setup.twig | 10 +++++----- system/author/auth/welcome.twig | 26 +++++++++++++------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/system/author/auth/setup.twig b/system/author/auth/setup.twig index 5c897c1..5c1a156 100644 --- a/system/author/auth/setup.twig +++ b/system/author/auth/setup.twig @@ -1,5 +1,5 @@ {% extends 'layouts/layoutAuth.twig' %} -{% block title %}{{ labels['SETUP'] ? labels['SETUP'] : 'Setup' }}{% endblock %} +{% block title %}{{ __('Setup') }}{% endblock %} {% block content %} @@ -19,21 +19,21 @@
- + {% if errors.username %} {{ errors.username | first }} {% endif %}
- + {% if errors.email %} {{ errors.email | first }} {% endif %}
- + {% if errors.password %} {{ errors.password | first }} @@ -41,7 +41,7 @@
- + {{ csrf_field() | raw }} diff --git a/system/author/auth/welcome.twig b/system/author/auth/welcome.twig index 7644ac7..da0ed84 100644 --- a/system/author/auth/welcome.twig +++ b/system/author/auth/welcome.twig @@ -1,6 +1,6 @@ {% extends 'layouts/layoutAuth.twig' %} -{% block title %}{{ labels['SW_SETUP_WELCOME'] ? labels['SW_SETUP_WELCOME'] : 'Setup Welcome' }}{% endblock %} +{% block title %}{{ __('Setup Welcome') }}{% endblock %} {% block content %} @@ -8,37 +8,37 @@
-

{{ labels['SW_HURRA'] ? labels['SW_HURRA'] : 'Hurra' }}!

-

{{ labels['SW_YOUR_ACCOUNT'] ? labels['SW_YOUR_ACCOUNT'] : 'Your account has been created and you are logged in now.'}}

-

{{ labels['SW_NEXT_STOP'] ? labels['SW_NEXT_STOP'] : 'Next step:' }} {{ labels['SW_VISIT'] ? labels['SW_VISIT'] : 'Visit the author panel and setup your new website. You can configure the system, choose themes and add plugins.' }}

-

{{ labels['SW_GET_HELP'] ? labels['SW_GET_HELP'] : 'Get help:' }} {{ labels['SW_IF_YOU_HAVE'] ? labels['SW_IF_YOU_HAVE'] : 'If you have any questions, please read the' }} {{ labels['SW_DOCS'] ? labels['SW_DOCS'] : 'docs' }} {{ labels['SW_OR_OPEN'] ? labels['SW_OR_OPEN'] : 'or open a new issue on' }} {{ labels['GITHUB'] ? labels['GITHUB'] : 'github' }}.

-

{{ labels['SW_CODED'] ? labels['SW_CODED'] : 'Coded with' }} {{ labels['SW_BY'] ? labels['SW_BY'] : 'by the' }} {{ labels['SW_COMMUNITY'] ? labels['SW_COMMUNITY'] : 'community' }} & {{ labels['SW_TRENDSCHAU'] ? labels['SW_TRENDSCHAU'] : 'Trendschau Digital' }}.

+

{{ __('Hurra') }}!

+

{{ __('Your account has been created and you are logged in now.') }}

+

{{ __('Next step') }}: {{ __('Visit the author panel and setup your new website. You can configure the system, choose themes and add plugins.') }}

+

{{ __('Get help') }}: {{ __('If you have any questions, please read the') }} {{ __('docs') }} {{ __('or open a new issue on') }} {{ __('github') }}.

+

{{ __('Coded with') }} {{ __('by the') }} {{ __('community') }} & {{ __('Trendschau Digital') }}.

- {{ labels['SW_CONFIGURE'] ? labels['SW_CONFIGURE'] : 'Configure your website' }} + {{ __('Configure your website') }}