From 1efd0622a40a8a842c18b07f8110481e5a3cb5b8 Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Tue, 11 Aug 2015 11:52:19 +0200 Subject: [PATCH] Go on with translations --- languages.yaml | 35 ++++++++++++++++++- .../partials/themes-details.html.twig | 26 +++++++------- themes/grav/templates/themes.html.twig | 18 +++++----- 3 files changed, 56 insertions(+), 23 deletions(-) diff --git a/languages.yaml b/languages.yaml index d441ed5d..5be6103c 100644 --- a/languages.yaml +++ b/languages.yaml @@ -50,7 +50,23 @@ en: PLUGIN_ADMIN_VERSION: Version PLUGIN_ADMIN_WAS_MADE_WITH: Was made with PLUGIN_ADMIN_BY: By - + PLUGIN_ADMIN_UPDATE_THEME: Update Theme + PLUGIN_ADMIN_OF_THIS_THEME_IS_NOW_AVAILABLE: of this theme is now available + PLUGIN_ADMIN_VERSION: Version + PLUGIN_ADMIN_AUTHOR: Author + PLUGIN_ADMIN_HOMEPAGE: Homepage + PLUGIN_ADMIN_DEMO: Demo + PLUGIN_ADMIN_BUG_TRACKER: Bug Tracker + PLUGIN_ADMIN_KEYWORDS: Keywords + PLUGIN_ADMIN_LICENCE: Licence + PLUGIN_ADMIN_DESCRIPTION: Description + PLUGIN_ADMIN_README: Readme + PLUGIN_ADMIN_REMOVE_THEME: Remove Theme + PLUGIN_ADMIN_INSTALL_THEME: Install Theme + PLUGIN_ADMIN_THEME: Theme + PLUGIN_ADMIN_BACK_TO_THEMES: Back to Themes + PLUGIN_ADMIN_CHECK_FOR_UPDATES: Check for Updates + PLUGIN_ADMIN_ADD: Add es: ADMIN_BETA_MSG: ¡Está es una versión Beta! Utilízala bajo tu propio riesgo... @@ -126,3 +142,20 @@ it: PLUGIN_ADMIN_VERSION: Versione PLUGIN_ADMIN_WAS_MADE_WITH: Prodotta con il PLUGIN_ADMIN_BY: Da + PLUGIN_ADMIN_UPDATE_THEME: Aggiorna tema + PLUGIN_ADMIN_OF_THIS_THEME_IS_NOW_AVAILABLE: di questo tema è ora disponibile + PLUGIN_ADMIN_VERSION: Versione + PLUGIN_ADMIN_AUTHOR: Autore + PLUGIN_ADMIN_HOMEPAGE: Homepage + PLUGIN_ADMIN_DEMO: Demo + PLUGIN_ADMIN_BUG_TRACKER: Bug Tracker + PLUGIN_ADMIN_KEYWORDS: Parole chiave + PLUGIN_ADMIN_LICENCE: Licenza + PLUGIN_ADMIN_DESCRIPTION: Descrizione + PLUGIN_ADMIN_README: Readme + PLUGIN_ADMIN_REMOVE_THEME: Rimuovo tema + PLUGIN_ADMIN_INSTALL_THEME: Installa tema + PLUGIN_ADMIN_THEME: Tema + PLUGIN_ADMIN_BACK_TO_THEMES: Torna ai temi + PLUGIN_ADMIN_CHECK_FOR_UPDATES: Controlla aggiornamenti + PLUGIN_ADMIN_ADD: Aggiungi diff --git a/themes/grav/templates/partials/themes-details.html.twig b/themes/grav/templates/partials/themes-details.html.twig index 4fe2a923..d94315b6 100644 --- a/themes/grav/templates/partials/themes-details.html.twig +++ b/themes/grav/templates/partials/themes-details.html.twig @@ -6,8 +6,8 @@ {% set remote = gpm.getRepositoryTheme(admin.route) %}

- v{{ remote.available }} of this theme is now available! - + v{{ remote.available }} {{ "PLUGIN_ADMIN_OF_THIS_THEME_IS_NOW_AVAILABLE"|t }}! +

{% endif %} @@ -29,13 +29,13 @@ {% if theme.version %} - + {% endif %} {% if theme.author %} - + - + {% endif %} {% if theme.demo %} - + {% endif %} {% if theme.bugs %} - + {% endif %} {% if theme.keywords %} - + {% endif %} {% if theme.license %} - + {% endif %} {% if theme.description %} - + {% endif %} @@ -88,7 +88,7 @@ {% if theme.readme or theme.homepage %} {% set readme_link = theme.readme ?: theme.homepage ~ '/blob/develop/README.md' %} - + {% endif %} @@ -102,12 +102,12 @@ {% if (config.get('system.pages.theme') != admin.route) %}
- Remove Theme + {{ "PLUGIN_ADMIN_REMOVE_THEME"|t }}
{% endif %} {% else %}
- Install Theme + {{ "PLUGIN_ADMIN_INSTALL_THEME"|t }}
{% endif %} diff --git a/themes/grav/templates/themes.html.twig b/themes/grav/templates/themes.html.twig index 0e9d8e21..eae3161e 100644 --- a/themes/grav/templates/themes.html.twig +++ b/themes/grav/templates/themes.html.twig @@ -18,26 +18,26 @@ {% if not admin.route or installing %}
{% if (installing) %} - Back + {{ "PLUGIN_ADMIN_BACK"|t }} {% else %} - Back - Add - + {{ "PLUGIN_ADMIN_BACK"|t }} + {{ "PLUGIN_ADMIN_ADD"|t }} + {% endif %}
-

Themes

+

{{ "PLUGIN_ADMIN_THEMES"|t }}

{% else %} {% if (installed) %}
- Back to Themes - + {{ "PLUGIN_ADMIN_BACK_TO_THEMES"|t }} +
{% else %}
- Back to Themes + {{ "PLUGIN_ADMIN_BACK_TO_THEMES"|t }}
{% endif %} -

Theme: {{ theme.name|e }}

+

{{ "PLUGIN_ADMIN_THEME"|t }}: {{ theme.name|e }}

{% endif %} {% endblock %}
Version:{{ "PLUGIN_ADMIN_VERSION"|t }}: {{ theme.version }}
Author:{{ "PLUGIN_ADMIN_AUTHOR"|t }}: {% if theme.author.url %} {{ theme.author.name }} @@ -50,37 +50,37 @@ {% endif %} {% if theme.homepage %}
Homepage:{{ "PLUGIN_ADMIN_HOMEPAGE"|t }}: {{ theme.homepage }}
Demo:{{ "PLUGIN_ADMIN_DEMO"|t }}: {{ theme.demo }}
Bug Tracker:{{ "PLUGIN_ADMIN_BUG_TRACKER"|t }}: {{ theme.bugs }}
Keywords:{{ "PLUGIN_ADMIN_KEYWORDS"|t }}: {{ theme.keywords }}
License:{{ "PLUGIN_ADMIN_LICENCE"|t }}: {{ theme.license }}
Description:{{ "PLUGIN_ADMIN_DESCRIPTION"|t }}: {{ theme.description_html }}
Readme:{{ "PLUGIN_ADMIN_README"|t }}: {{ readme_link }}