Go on with translations

This commit is contained in:
Flavio Copes
2015-08-11 10:48:33 +02:00
parent fe1105c746
commit 1be74ff31a
5 changed files with 100 additions and 37 deletions

View File

@@ -19,6 +19,38 @@ en:
FORGOT_EMAIL_NOT_CONFIGURED: Cannot reset password. This site is not configured to send emails
FORGOT_EMAIL_SUBJECT: %s Password Reset Request
FORGOT_EMAIL_BODY: <h1>Password Reset</h1><p>Dear %1$s,</p><p>A request was made on <b>%4$s</b> to reset your password.</p><p><br /><a href="%2$s" class="btn-primary">Click this to reset your password</a><br /><br /></p><p>Alternatively, copy the following URL into your browser's address bar:</p> <p>%2$s</p><p><br />Kind regards,<br /><br />%3$s</p>
PLUGIN_ADMIN_MANAGE_PAGES: Manage Pages
PLUGIN_ADMIN_CONFIGURATION: Configuration
PLUGIN_ADMIN_PAGES: Pages
PLUGIN_ADMIN_PLUGINS: Plugins
PLUGIN_ADMIN_THEMES: Themes
PLUGIN_ADMIN_LOGOUT: Logout
PLUGIN_ADMIN_BACK: Back
PLUGIN_ADMIN_ADD_PAGE: Add Page
PLUGIN_ADMIN_ADD_MODULAR: Add Modular
PLUGIN_ADMIN_MOVE: Move
PLUGIN_ADMIN_DELETE: Delete
PLUGIN_ADMIN_SAVE: Save
PLUGIN_ADMIN_NORMAL: Normal
PLUGIN_ADMIN_EXPERT: Expert
PLUGIN_ADMIN_EXPAND_ALL: Expand All
PLUGIN_ADMIN_COLLAPSE_ALL: Collapse All
PLUGIN_ADMIN_ERROR: Error
PLUGIN_ADMIN_CLOSE: Close
PLUGIN_ADMIN_CANCEL: Cancel
PLUGIN_ADMIN_CONTINUE: Continue
PLUGIN_ADMIN_MODAL_DELETE_PAGE_CONFIRMATION_REQUIRED_TITLE: Confirmation Required
PLUGIN_ADMIN_MODAL_DELETE_PAGE_CONFIRMATION_REQUIRED_DESC: Are you sure you want to delete this page and all it's children? This action cannot be undone.
PLUGIN_ADMIN_MODAL_CHANGED_DETECTED_TITLE: Changes Detected
PLUGIN_ADMIN_MODAL_CHANGED_DETECTED_DESC: You have unsaved changes. Are you sure you want to leave without saving?
PLUGIN_ADMIN_MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_TITLE: Confirmation Required
PLUGIN_ADMIN_MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_DESC: Are you sure you want to delete this file? This action cannot be undone.
PLUGIN_ADMIN_ADD_FILTERS: Add Filters
PLUGIN_ADMIN_SEARCH_PAGES: Search Pages
PLUGIN_ADMIN_VERSION: Version
PLUGIN_ADMIN_WAS_MADE_WITH: Was made with
PLUGIN_ADMIN_BY: By
es:
ADMIN_BETA_MSG: ¡Está es una versión Beta! Utilízala bajo tu propio riesgo...
@@ -63,3 +95,34 @@ it:
FORGOT_EMAIL_NOT_CONFIGURED: Impossibile resettare la password. Il sito non è configurato per inviare email
FORGOT_EMAIL_SUBJECT: %s Richiesta di reset password
FORGOT_EMAIL_BODY: <h1>Reset password</h1><p>Caro %1$s,</p><p>Una richiesta di reset password è stata effettuata su <b>%4$s</b>.</p><p><br /><a href="%2$s" class="btn-primary">Clicca qui per resettare la tua password</a><br /><br /></p><p>In alternativa, copia il seguente URL nella barra indirizzi del tuo browser:</p> <p>%2$s</p><p><br />Cordiali saluti,<br /><br />%3$s</p>
PLUGIN_ADMIN_MANAGE_PAGES: Gestione Pagine
PLUGIN_ADMIN_CONFIGURATION: Settaggi
PLUGIN_ADMIN_PAGES: Pagine
PLUGIN_ADMIN_PLUGINS: Plugin
PLUGIN_ADMIN_THEMES: Temi
PLUGIN_ADMIN_LOGOUT: Logout
PLUGIN_ADMIN_BACK: Indietro
PLUGIN_ADMIN_ADD_PAGE: Aggiungi Pagina
PLUGIN_ADMIN_ADD_MODULAR: Aggiungi Modular
PLUGIN_ADMIN_MOVE: Sposta
PLUGIN_ADMIN_DELETE: Elimina
PLUGIN_ADMIN_SAVE: Salva
PLUGIN_ADMIN_NORMAL: Normale
PLUGIN_ADMIN_EXPERT: Esperto
PLUGIN_ADMIN_EXPAND_ALL: Espandi tutto
PLUGIN_ADMIN_COLLAPSE_ALL: Comprimi tutto
PLUGIN_ADMIN_ERROR: Errore
PLUGIN_ADMIN_CLOSE: Chiudi
PLUGIN_ADMIN_CANCEL: Cancella
PLUGIN_ADMIN_CONTINUE: Continua
PLUGIN_ADMIN_MODAL_DELETE_PAGE_CONFIRMATION_REQUIRED_TITLE: Conferma richiesta
PLUGIN_ADMIN_MODAL_DELETE_PAGE_CONFIRMATION_REQUIRED_DESC: Sicuro di voler eliminare questa pagina e tutte le sue sottopagine? Questa azione non può essere annullata.
PLUGIN_ADMIN_MODAL_CHANGED_DETECTED_TITLE: Rilevate modifiche
PLUGIN_ADMIN_MODAL_CHANGED_DETECTED_DESC: Vi sono cambiamenti non salvati. Sicuro di voler lasciare la pagina senza salvare?
PLUGIN_ADMIN_MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_TITLE: Conferma richiesta
PLUGIN_ADMIN_MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_DESC: Sicuro di voler eliminare questo file? Questa azione non può essere annullata.
PLUGIN_ADMIN_ADD_FILTERS: Aggiungi filtro
PLUGIN_ADMIN_SEARCH_PAGES: Cerca pagine
PLUGIN_ADMIN_VERSION: Versione
PLUGIN_ADMIN_WAS_MADE_WITH: Prodotta con il
PLUGIN_ADMIN_BY: Da

View File

@@ -473,7 +473,7 @@ $(function () {
$(this).css('opacity', on ? 1 : 0.7);
});
// Thems Switcher Warning
// Themes Switcher Warning
$(document).on('mousedown', '[data-remodal-target="theme-switch-warn"]', function(e){
var name = $(e.target).closest('[data-gpm-theme]').find('.gpm-name a').text(),
remodal = $('.remodal.theme-switcher');

View File

@@ -75,32 +75,32 @@
{% block titlebar %}
<div class="button-bar">
{% if mode == 'list' %}
<a class="button" href="{{ base_url }}"><i class="fa fa-reply"></i> Back</a>
<a class="button" href="#modal" data-remodal-target="modal"><i class="fa fa-plus"></i> Add Page</a>
<a class="button" href="#modular" data-remodal-target="modular"><i class="fa fa-plus"></i> Add Modular</a>
<a class="button" href="{{ base_url }}"><i class="fa fa-reply"></i> {{ "PLUGIN_ADMIN_BACK"|t }}</a>
<a class="button" href="#modal" data-remodal-target="modal"><i class="fa fa-plus"></i> {{ "PLUGIN_ADMIN_ADD_PAGE"|t }}</a>
<a class="button" href="#modular" data-remodal-target="modular"><i class="fa fa-plus"></i> {{ "PLUGIN_ADMIN_ADD_MODULAR"|t }}</a>
{% elseif mode == 'edit' %}
<a class="button" href="{{ base_url }}/pages"><i class="fa fa-reply"></i> Back</a>
<a class="button" href="{{ base_url }}/pages"><i class="fa fa-reply"></i> {{ "PLUGIN_ADMIN_BACK"|t }}</a>
{% if exists %}
<a class="button" href="{{ uri.route(true) }}/task{{ config.system.param_sep }}copy" class="page-copy" ><i class="fa fa-copy"></i> Copy</a>
<a class="button" href="#" data-remodal-target="move"><i class="fa fa-arrows"></i> Move</a>
<a class="button" href="#" data-remodal-target="move"><i class="fa fa-arrows"></i> {{ "PLUGIN_ADMIN_MOVE"|t }}</a>
{% if warn %}
<a class="button" href="#delete" data-remodal-target="delete" data-delete-url="{{ uri.route(true) }}/task{{ config.system.param_sep }}delete"><i class="fa fa-close"></i> Delete</a>
<a class="button" href="#delete" data-remodal-target="delete" data-delete-url="{{ uri.route(true) }}/task{{ config.system.param_sep }}delete"><i class="fa fa-close"></i> {{ "PLUGIN_ADMIN_DELETE"|t }}</a>
{% else %}
<a class="button" href="{{ uri.route(true) }}/task{{ config.system.param_sep }}delete" class="page-delete" ><i class="fa fa-close"></i></a>
{% endif %}
{% endif %}
<button class="button" name="task" value="save" form="blueprints"><i class="fa fa-check"></i> Save</button>
<button class="button" name="task" value="save" form="blueprints"><i class="fa fa-check"></i> {{ "PLUGIN_ADMIN_SAVE"|t }}</button>
{% endif %}
</div>
{% if mode == 'new' %}
<h1><i class="fa fa-fw fa-file-text-o"></i> Add Page</h1>
<h1><i class="fa fa-fw fa-file-text-o"></i> {{ "PLUGIN_ADMIN_ADD_PAGE"|t }}</h1>
{% elseif mode == 'edit' %}
<h1><i class="fa fa-fw fa-file-text-o"></i>
{{ context.exists ? "Edit '#{context.menu}'" ~ preview_link : "Create '#{context.menu}'" }}
</h1>
{% else %}
<h1><i class="fa fa-fw fa-file-text-o"></i> Manage Pages</h1>
<h1><i class="fa fa-fw fa-file-text-o"></i> {{ "PLUGIN_ADMIN_MANAGE_PAGES"|t }}</h1>
{% endif %}
{% endblock %}
@@ -115,9 +115,9 @@
<form id="admin-mode-toggle">
<div class="switch-toggle switch-grav">
<input type="radio" value="normal" data-leave-url="{{ uri.route(true) }}/mode:normal" id="normal" name="mode-switch" class="highlight" {% if admin.session.expert == '0' %} checked="checked"{% endif %}>
<label for="normal">Normal</label>
<label for="normal">{{ "PLUGIN_ADMIN_NORMAL"|t }}</label>
<input type="radio" value="expert" data-leave-url="{{ uri.route(true) }}/mode:expert" id="expert" name="mode-switch" class="highlight" {% if admin.session.expert == '1' %} checked="checked"{% endif %}>
<label for="expert">Expert</label>
<label for="expert">{{ "PLUGIN_ADMIN_EXPERT"|t }}</label>
<a></a>
</div>
</form>
@@ -132,14 +132,14 @@
{% else %}
<form id="page-filtering">
<div class="page-filters">
<input type="text" placeholder="Add Filters" class="page-filter" name="page-filter" />
<input type="text" placeholder="{{ "PLUGIN_ADMIN_ADD_FILTERS"|t }}" class="page-filter" name="page-filter" />
</div>
<div class="page-search">
<input type="text" placeholder="Search Pages" name="page-search" />
<input type="text" placeholder="{{ "PLUGIN_ADMIN_SEARCH_PAGES"|t }}" name="page-search" />
</div>
<div class="page-shortcuts">
<span class="button button-x-small" data-page-toggleall="expand"><i class="fa fa-fw fa-plus-circle"></i> Expand All</span>
<span class="button button-x-small" data-page-toggleall="collapse"><i class="fa fa-fw fa-minus-circle"></i> Collapse All</span>
<span class="button button-x-small" data-page-toggleall="expand"><i class="fa fa-fw fa-plus-circle"></i> {{ "PLUGIN_ADMIN_EXPAND_ALL"|t }}</span>
<span class="button button-x-small" data-page-toggleall="collapse"><i class="fa fa-fw fa-minus-circle"></i> {{ "PLUGIN_ADMIN_COLLAPSE_ALL"|t }}</span>
</div>
</form>
<ul class="pages-list depth-0">
@@ -150,10 +150,10 @@
<div class="remodal" data-remodal-id="generic" data-remodal-options="hashTracking: false">
<form>
<h1>Error</h1>
<h1>{{ "PLUGIN_ADMIN_ERROR"|t }}</h1>
<div class="error-content"></div>
<div class="button-bar">
<a class="button remodal-confirm" href="#">Close</a>
<a class="button remodal-confirm" href="#">{{ "PLUGIN_ADMIN_CLOSE"|t }}</a>
</div>
</form>
</div>
@@ -177,14 +177,14 @@
<div class="remodal" data-remodal-id="delete" data-remodal-options="hashTracking: false">
<form>
<h1>Confirmation Required</h1>
<h1>{{ "PLUGIN_ADMIN_MODAL_DELETE_PAGE_CONFIRMATION_REQUIRED_TITLE"|t }}</h1>
<p class="bigger">
Are you sure you want to delete this page and all it's children? This action cannot be undone.
{{ "PLUGIN_ADMIN_MODAL_DELETE_PAGE_CONFIRMATION_REQUIRED_DESC"|t }}
</p>
<br>
<div class="button-bar">
<a class="button secondary remodal-cancel" href="#"><i class="fa fa-fw fa-close"></i> Cancel</a>
<a class="button" data-delete-action href="#"><i class="fa fa-fw fa-check"></i>Continue</a>
<a class="button secondary remodal-cancel" href="#"><i class="fa fa-fw fa-close"></i> {{ "PLUGIN_ADMIN_CANCEL"|t }}</a>
<a class="button" data-delete-action href="#"><i class="fa fa-fw fa-check"></i> {{ "PLUGIN_ADMIN_CONTINUE"|t }}</a>
</div>
</form>
</div>
@@ -192,28 +192,28 @@
<div class="remodal" data-remodal-id="changes">
<form>
<h1>Changes Detected</h1>
<h1>{{ "PLUGIN_ADMIN_MODAL_CHANGED_DETECTED_TITLE"|t }}</h1>
<p class="bigger">
You have unsaved changes. Are you sure you want to leave without saving?
{{ "PLUGIN_ADMIN_MODAL_CHANGED_DETECTED_DESC"|t }}
</p>
<br>
<div class="button-bar">
<a class="button secondary" data-leave-action="cancel" href="#"><i class="fa fa-fw fa-close"></i> Cancel</a>
<a class="button" data-leave-action="continue" href="#"><i class="fa fa-fw fa-check"></i>Continue</a>
<a class="button secondary" data-leave-action="cancel" href="#"><i class="fa fa-fw fa-close"></i> {{ "PLUGIN_ADMIN_CANCEL"|t }}</a>
<a class="button" data-leave-action="continue" href="#"><i class="fa fa-fw fa-check"></i> {{ "PLUGIN_ADMIN_CONTINUE"|t }}</a>
</div>
</form>
</div>
<div class="remodal" data-remodal-id="delete-media" data-remodal-options="hashTracking: false">
<form>
<h1>Confirmation Required</h1>
<h1>{{ "PLUGIN_ADMIN_MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_TITLE"|t }}</h1>
<p class="bigger">
Are you sure you want to delete this file? This action cannot be undone.
{{ "PLUGIN_ADMIN_MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_DESC"|t }}
</p>
<br>
<div class="button-bar">
<a class="button secondary remodal-cancel" href="#"><i class="fa fa-fw fa-close"></i> Cancel</a>
<a class="button remodal-confirm" href="#"><i class="fa fa-fw fa-check"></i>Continue</a>
<a class="button secondary remodal-cancel" href="#"><i class="fa fa-fw fa-close"></i> {{ "PLUGIN_ADMIN_CANCEL"|t }}</a>
<a class="button remodal-confirm" href="#"><i class="fa fa-fw fa-check"></i> {{ "PLUGIN_ADMIN_CONTINUE"|t }}</a>
</div>
</form>
</div>

View File

@@ -95,7 +95,7 @@
{% block content_bottom %}{% endblock %}
</div>
<footer id="footer">
<a href="http://getgrav.org">Grav</a> version <span class="grav-version">{{ constant('GRAV_VERSION') }}</span> was made with <i class="fa fa-heart"></i> by <a href="http://www.rockettheme.com">RocketTheme</a>.
<a href="http://getgrav.org">Grav</a> {{ "PLUGIN_ADMIN_VERSION"|t|lower }} <span class="grav-version">{{ constant('GRAV_VERSION') }}</span> {{ "PLUGIN_ADMIN_WAS_MADE_WITH"|t|lower }} <i class="fa fa-heart"></i> {{ "PLUGIN_ADMIN_BY"|t|lower }} <a href="http://www.rockettheme.com">RocketTheme</a>.
</footer>
</div>

View File

@@ -21,11 +21,11 @@
<a href="{{ base_url_relative }}"><i class="fa fa-fw fa-th"></i> Dashboard</a>
</li>
<li class="{{ (location == 'configuration' or location == 'settings') ? 'selected' : '' }}">
<a href="{{ base_url_relative }}/configuration"><i class="fa fa-fw fa-wrench"></i> Configuration</a>
<a href="{{ base_url_relative }}/configuration"><i class="fa fa-fw fa-wrench"></i> {{ "PLUGIN_ADMIN_CONFIGURATION"|t }}</a>
</li>
<li class="{{ (location == 'pages') ? 'selected' : '' }}">
<a href="{{ base_url_relative }}/pages">
<i class="fa fa-fw fa-file-text-o"></i> Pages
<i class="fa fa-fw fa-file-text-o"></i> {{ "PLUGIN_ADMIN_PAGES"|t }}
<span class="badges">
<span class="badge count">{{ admin.routes|length }}</span>
</span>
@@ -33,7 +33,7 @@
</li>
<li class="{{ (location == 'plugins') ? 'selected' : '' }}">
<a href="{{ base_url_relative }}/plugins">
<i class="fa fa-fw fa-plug"></i> Plugins
<i class="fa fa-fw fa-plug"></i> {{ "PLUGIN_ADMIN_PLUGINS"|t }}
<span class="badges">
<span class="badge updates"></span>
<span class="badge count">{{ admin.plugins|length }}</span>
@@ -43,7 +43,7 @@
</li>
<li class="{{ (location == 'themes') ? 'selected' : '' }}">
<a href="{{ base_url_relative }}/themes">
<i class="fa fa-fw fa-tint"></i> Themes
<i class="fa fa-fw fa-tint"></i> {{ "PLUGIN_ADMIN_THEMES"|t }}
<span class="badges">
<span class="badge updates"></span>
<span class="badge count">{{ admin.themes|length }}</span>
@@ -62,7 +62,7 @@
</a>
</li> -->
<li>
<a href="{{ base_url_relative }}/task{{ config.system.param_sep }}logout"><i class="fa fa-fw fa-sign-out"></i> Logout</a>
<a href="{{ base_url_relative }}/task{{ config.system.param_sep }}logout"><i class="fa fa-fw fa-sign-out"></i> {{ "PLUGIN_ADMIN_LOGOUT"|t }}</a>
</li>
</ul>
</nav>