mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-05 04:46:03 +01:00
Go on with translations
This commit is contained in:
@@ -114,6 +114,22 @@ en:
|
|||||||
SWITCHING_TO: Switching to
|
SWITCHING_TO: Switching to
|
||||||
SWITCHING_TO_DESCRIPTION: By switching to a different theme, there is no guarantee that all the layout pages are supported, potentially causing errors when trying to load said pages.
|
SWITCHING_TO_DESCRIPTION: By switching to a different theme, there is no guarantee that all the layout pages are supported, potentially causing errors when trying to load said pages.
|
||||||
SWITCHING_TO_CONFIRMATION: Do you want to continue and switch to the theme
|
SWITCHING_TO_CONFIRMATION: Do you want to continue and switch to the theme
|
||||||
|
CREATE_NEW_USER: Create New User
|
||||||
|
REMOVE_USER: Remove User
|
||||||
|
ACCESS_DENIED: Access denied
|
||||||
|
ACCOUNT_NOT_ADMIN: your account does not have administrator permissions
|
||||||
|
PHP_INFO: PHP Info
|
||||||
|
INSTALLER: Installer
|
||||||
|
AVAILABLE_THEMES: Available Themes
|
||||||
|
AVAILABLE_PLUGINS: Available Plugins
|
||||||
|
INSTALLED_THEMES: Installed Themes
|
||||||
|
INSTALLED_PLUGINS: Installed Plugins
|
||||||
|
BROWSE_ERROR_LOGS: Browse Error Logs
|
||||||
|
SITE: Site
|
||||||
|
INFO: Info
|
||||||
|
SYSTEM: System
|
||||||
|
USER: User
|
||||||
|
ADD_ACCOUNT: Add Account
|
||||||
|
|
||||||
es:
|
es:
|
||||||
ADMIN_BETA_MSG: ¡Está es una versión Beta! Utilízala bajo tu propio riesgo...
|
ADMIN_BETA_MSG: ¡Está es una versión Beta! Utilízala bajo tu propio riesgo...
|
||||||
@@ -251,3 +267,19 @@ it:
|
|||||||
SWITCHING_TO: Passare a
|
SWITCHING_TO: Passare a
|
||||||
SWITCHING_TO_DESCRIPTION: Cambiando il tema, non è garantito che tutti i layout di pagina siano supportati, potenzialmente causando errori quando si tenta di caricare tali pagine.
|
SWITCHING_TO_DESCRIPTION: Cambiando il tema, non è garantito che tutti i layout di pagina siano supportati, potenzialmente causando errori quando si tenta di caricare tali pagine.
|
||||||
SWITCHING_TO_CONFIRMATION: Vuoi continuare e passare al tema
|
SWITCHING_TO_CONFIRMATION: Vuoi continuare e passare al tema
|
||||||
|
CREATE_NEW_USER: Crea nuovo utente
|
||||||
|
REMOVE_USER: Rimuovi utente
|
||||||
|
ACCESS_DENIED: Accesso negato
|
||||||
|
ACCOUNT_NOT_ADMIN: il tuo account non ha permessi di amministratore
|
||||||
|
PHP_INFO: PHP Info
|
||||||
|
INSTALLER: Installazione
|
||||||
|
AVAILABLE_THEMES: Temi disponibili
|
||||||
|
AVAILABLE_PLUGINS: Plugin disponibili
|
||||||
|
INSTALLED_THEMES: Temi installati
|
||||||
|
INSTALLED_PLUGINS: Plugin installati
|
||||||
|
BROWSE_ERROR_LOGS: Vedi log errori
|
||||||
|
SITE: Sito
|
||||||
|
INFO: Info
|
||||||
|
SYSTEM: Sistema
|
||||||
|
USER: Utente
|
||||||
|
ADD_ACCOUNT: Aggiungi utente
|
||||||
@@ -3,12 +3,12 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="admin-block">
|
<div class="admin-block">
|
||||||
<h1>
|
<h1>
|
||||||
Access denied
|
{{ "PLUGIN_ADMIN.ACCESS_DENIED"|tu }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
{% include 'partials/messages.html.twig' %}
|
{% include 'partials/messages.html.twig' %}
|
||||||
|
|
||||||
<p>{{ admin.user.fullname }}, your account does not have administrator permissions. <a href="{{ base_url_relative }}/task{{ config.system.param_sep }}logout">Logout</a></p>
|
<p>{{ admin.user.fullname }}, {{ "PLUGIN_ADMIN.ACCOUNT_NOT_ADMIN"|tu }}. <a href="{{ base_url_relative }}/task{{ config.system.param_sep }}logout">{{ "PLUGIN_ADMIN.LOGOUT"|tu }}</a></p>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<div class="button-bar">
|
<div class="button-bar">
|
||||||
<a class="button" href="{{ base_url }}"><i class="fa fa-reply"></i> Back</a>
|
<a class="button" href="{{ base_url }}"><i class="fa fa-reply"></i> Back</a>
|
||||||
</div>
|
</div>
|
||||||
<h1><i class="fa fa-fw fa-th"></i> Configuration - PHP Info</h1>
|
<h1><i class="fa fa-fw fa-th"></i> {{ "PLUGIN_ADMIN.CONFIGURATION"|tu }} - {{ "PLUGIN_ADMIN.PHP_INFO"|tu }}</h1>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content_top %}
|
{% block content_top %}
|
||||||
|
|||||||
@@ -1,11 +1,9 @@
|
|||||||
{% extends 'partials/base.html.twig' %}
|
{% extends 'partials/base.html.twig' %}
|
||||||
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div class="admin-block">
|
<div class="admin-block">
|
||||||
<h1>
|
<h1>
|
||||||
Installer
|
{{ "PLUGIN_ADMIN.INSTALLER"|tu }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
{% include 'partials/messages.html.twig' %}
|
{% include 'partials/messages.html.twig' %}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<div class="admin-block">
|
<div class="admin-block">
|
||||||
<h1>
|
<h1>
|
||||||
Browse Error Logs
|
{{ 'PLUGIN_ADMIN.BROWSE_ERROR_LOGS'|tu }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<div class="grav-update plugins"></div>
|
<div class="grav-update plugins"></div>
|
||||||
|
|
||||||
<h1>
|
<h1>
|
||||||
{{ installing ? "PLUGIN_ADMIN.AVAILABLE"|tu : "PLUGIN_ADMIN.INSTALLED"|tu }} {{ "PLUGIN_ADMIN.PLUGINS"|tu }}
|
{{ installing ? "PLUGIN_ADMIN.AVAILABLE_PLUGINS"|tu : "PLUGIN_ADMIN.INSTALLED_PLUGINS"|tu }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<div class="grav-update themes"></div>
|
<div class="grav-update themes"></div>
|
||||||
|
|
||||||
<h1>
|
<h1>
|
||||||
{{ installing ? "PLUGIN_ADMIN.AVAILABLE"|tu : "PLUGIN_ADMIN.INSTALLED"|tu }} {{ "PLUGIN_ADMIN.THEMES"|tu }}
|
{{ installing ? "PLUGIN_ADMIN.AVAILABLE_THEMES"|tu : "PLUGIN_ADMIN.INSTALLED_THEMES"|tu }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<div class="themes card-row grid fixed-blocks pure-g">
|
<div class="themes card-row grid fixed-blocks pure-g">
|
||||||
|
|||||||
@@ -10,6 +10,6 @@
|
|||||||
|
|
||||||
{% if admin.authorise %}
|
{% if admin.authorise %}
|
||||||
<span class="user-details">
|
<span class="user-details">
|
||||||
<img src="http://www.gravatar.com/avatar/{{ admin.user.email|md5 }}?s=50" /><span class="badge">6</span><span class="hide-small">Hi, {{ admin.user.fullname }}<span> <a href="{{ base_url_relative }}/task{{ config.system.param_sep }}logout">Logout</a>
|
<img src="http://www.gravatar.com/avatar/{{ admin.user.email|md5 }}?s=50" /><span class="badge">6</span><span class="hide-small">Hi, {{ admin.user.fullname }}<span> <a href="{{ base_url_relative }}/task{{ config.system.param_sep }}logout">{{ "PLUGIN_ADMIN.LOGOUT"|tu }}</a>
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{% if user.title %}<h5>{{ user.title }}</h5>{% endif %}
|
{% if user.title %}<h5>{{ user.title }}</h5>{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<h1>Create new user</h1>
|
<h1>{{ "PLUGIN_ADMIN.CREATE_NEW_USER"|tu }}</h1>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% include 'partials/blueprints.html.twig' with { data: user, blueprints: user.blueprints } %}
|
{% include 'partials/blueprints.html.twig' with { data: user, blueprints: user.blueprints } %}
|
||||||
@@ -13,6 +13,6 @@
|
|||||||
{% if user.exists and admin.user.username != user.username %}
|
{% if user.exists and admin.user.username != user.username %}
|
||||||
<div class="button-bar danger">
|
<div class="button-bar danger">
|
||||||
<span class="danger-zone"></span>
|
<span class="danger-zone"></span>
|
||||||
<a class="button" href="#"><i class="fa fa-fw fa-warning"></i>Remove User</a>
|
<a class="button" href="#"><i class="fa fa-fw fa-warning"></i>{{ "PLUGIN_ADMIN.REMOVE_USER"|tu }}</a>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
<button data-gpm-checkupdates="" class="button"><i class="fa fa-refresh"></i> {{ "PLUGIN_ADMIN.CHECK_FOR_UPDATES"|tu }}</button>
|
<button data-gpm-checkupdates="" class="button"><i class="fa fa-refresh"></i> {{ "PLUGIN_ADMIN.CHECK_FOR_UPDATES"|tu }}</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<h1><i class="fa fa-fw fa-plug"></i> Plugins</h1>
|
<h1><i class="fa fa-fw fa-plug"></i> {{ "PLUGIN_ADMIN.PLUGINS"|tu }}</h1>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if (installed) %}
|
{% if (installed) %}
|
||||||
<div class="button-bar">
|
<div class="button-bar">
|
||||||
|
|||||||
@@ -5,14 +5,14 @@
|
|||||||
<a class="button" href="{{ base_url }}"><i class="fa fa-reply"></i> Back</a>
|
<a class="button" href="{{ base_url }}"><i class="fa fa-reply"></i> Back</a>
|
||||||
<button class="button" type="submit" name="task" value="save" form="blueprints"><i class="fa fa-check"></i> Save</button>
|
<button class="button" type="submit" name="task" value="save" form="blueprints"><i class="fa fa-check"></i> Save</button>
|
||||||
</div>
|
</div>
|
||||||
<h1><i class="fa fa-fw fa-th"></i> Configuration - Site</h1>
|
<h1><i class="fa fa-fw fa-th"></i> {{ "PLUGIN_ADMIN.CONFIGURATION"|tu }} - {{ "PLUGIN_ADMIN.SITE"|tu }}</h1>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content_top %}
|
{% block content_top %}
|
||||||
<ul class="tab-bar">
|
<ul class="tab-bar">
|
||||||
<li><a href="{{ base_url_relative }}/system">System</a></li>
|
<li><a href="{{ base_url_relative }}/system">{{ "PLUGIN_ADMIN.SYSTEM"|tu }}</a></li>
|
||||||
<li class="active"><span>Site</span></li>
|
<li class="active"><span>{{ "PLUGIN_ADMIN.SITE"|tu }}</span></li>
|
||||||
<li><a href="{{ base_url_relative }}/info">Info</a></li>
|
<li><a href="{{ base_url_relative }}/info">{{ "PLUGIN_ADMIN.INFO"|tu }}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<div class="admin-block">
|
<div class="admin-block">
|
||||||
<h1>
|
<h1>
|
||||||
Statistics
|
{{ "PLUGIN_ADMIN.STATISTICS"|tu }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
{% include 'partials/messages.html.twig' %}
|
{% include 'partials/messages.html.twig' %}
|
||||||
|
|||||||
@@ -5,14 +5,14 @@
|
|||||||
<a class="button" href="{{ base_url }}"><i class="fa fa-reply"></i> Back</a>
|
<a class="button" href="{{ base_url }}"><i class="fa fa-reply"></i> Back</a>
|
||||||
<button class="button" type="submit" name="task" value="save" form="blueprints"><i class="fa fa-check"></i> Save</button>
|
<button class="button" type="submit" name="task" value="save" form="blueprints"><i class="fa fa-check"></i> Save</button>
|
||||||
</div>
|
</div>
|
||||||
<h1><i class="fa fa-fw fa-th"></i> Configuration - System</h1>
|
<h1><i class="fa fa-fw fa-th"></i> {{ "PLUGIN_ADMIN.CONFIGURATION"|tu }} - {{ "PLUGIN_ADMIN.SYSTEM"|tu }}</h1>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content_top %}
|
{% block content_top %}
|
||||||
<ul class="tab-bar">
|
<ul class="tab-bar">
|
||||||
<li class="active"><span>System</span></li>
|
<li class="active"><span>{{ "PLUGIN_ADMIN.SYSTEM"|tu }}</span></li>
|
||||||
<li><a href="{{ base_url_relative }}/site">Site</a></li>
|
<li><a href="{{ base_url_relative }}/site">{{ "PLUGIN_ADMIN.SITE"|tu }}</a></li>
|
||||||
<li><a href="{{ base_url_relative }}/info">Info</a></li>
|
<li><a href="{{ base_url_relative }}/info">{{ "PLUGIN_ADMIN.INFO"|tu }}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|||||||
@@ -7,15 +7,15 @@
|
|||||||
{% block titlebar %}
|
{% block titlebar %}
|
||||||
{% if not admin.route %}
|
{% if not admin.route %}
|
||||||
<div class="button-bar">
|
<div class="button-bar">
|
||||||
<a class="button" href="#modal" data-remodal-target="modal"><i class="fa fa-plus"></i> Add Account</a>
|
<a class="button" href="#modal" data-remodal-target="modal"><i class="fa fa-plus"></i> {{ "PLUGIN_ADMIN.ADD_ACCOUNT"|tu }}</a>
|
||||||
</div>
|
</div>
|
||||||
<h1><i class="fa fa-fw fa-child"></i> Users</h1>
|
<h1><i class="fa fa-fw fa-child"></i> Users</h1>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="button-bar">
|
<div class="button-bar">
|
||||||
<a class="button" href="{{ base_url }}"><i class="fa fa-reply"></i> Back</a>
|
<a class="button" href="{{ base_url }}"><i class="fa fa-reply"></i> Back</a>
|
||||||
<button class="button" type="submit" name="task" value="save" form="blueprints"><i class="fa fa-check"></i> Save</button>
|
<button class="button" type="submit" name="task" value="save" form="blueprints"><i class="fa fa-check"></i> {{ "PLUGIN_ADMIN.SAVE"|tu }}</button>
|
||||||
</div>
|
</div>
|
||||||
<h1><i class="fa fa-fw fa-user"></i> User: {{ user.username|e }}</h1>
|
<h1><i class="fa fa-fw fa-user"></i> {{ "PLUGIN_ADMIN.USER"|tu }}: {{ user.username|e }}</h1>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
@@ -26,7 +26,6 @@
|
|||||||
{% if not admin.route %}
|
{% if not admin.route %}
|
||||||
{% include 'partials/users-list.html.twig' %}
|
{% include 'partials/users-list.html.twig' %}
|
||||||
|
|
||||||
|
|
||||||
<div class="remodal" data-remodal-id="modal" data-remodal-options="hashTracking: false">
|
<div class="remodal" data-remodal-id="modal" data-remodal-options="hashTracking: false">
|
||||||
{% include 'partials/blueprints-new.html.twig' with { blueprints: admin.blueprints('user/account_new') } %}
|
{% include 'partials/blueprints-new.html.twig' with { blueprints: admin.blueprints('user/account_new') } %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user