From 3471e6cb02fb5b2dd2f222f0921c6bd2a783bc6d Mon Sep 17 00:00:00 2001 From: Kolyunya Date: Thu, 9 Mar 2017 21:08:12 +0300 Subject: [PATCH] Add missing titles to the CRUD show page --- Resources/translations/SonataAdminBundle.ar.xliff | 4 ++++ Resources/translations/SonataAdminBundle.bg.xliff | 4 ++++ Resources/translations/SonataAdminBundle.ca.xliff | 4 ++++ Resources/translations/SonataAdminBundle.cs.xliff | 4 ++++ Resources/translations/SonataAdminBundle.de.xliff | 4 ++++ Resources/translations/SonataAdminBundle.en.xliff | 4 ++++ Resources/translations/SonataAdminBundle.es.xliff | 4 ++++ Resources/translations/SonataAdminBundle.eu.xliff | 4 ++++ Resources/translations/SonataAdminBundle.fa.xliff | 4 ++++ Resources/translations/SonataAdminBundle.fr.xliff | 4 ++++ Resources/translations/SonataAdminBundle.hr.xliff | 4 ++++ Resources/translations/SonataAdminBundle.hu.xliff | 4 ++++ Resources/translations/SonataAdminBundle.it.xliff | 4 ++++ Resources/translations/SonataAdminBundle.ja.xliff | 4 ++++ Resources/translations/SonataAdminBundle.lb.xliff | 4 ++++ Resources/translations/SonataAdminBundle.lt.xliff | 4 ++++ Resources/translations/SonataAdminBundle.nl.xliff | 4 ++++ Resources/translations/SonataAdminBundle.no.xliff | 4 ++++ Resources/translations/SonataAdminBundle.pl.xliff | 4 ++++ Resources/translations/SonataAdminBundle.pt.xliff | 4 ++++ Resources/translations/SonataAdminBundle.pt_BR.xliff | 4 ++++ Resources/translations/SonataAdminBundle.ro.xliff | 4 ++++ Resources/translations/SonataAdminBundle.ru.xliff | 4 ++++ Resources/translations/SonataAdminBundle.sk.xliff | 4 ++++ Resources/translations/SonataAdminBundle.sl.xliff | 4 ++++ Resources/translations/SonataAdminBundle.sv_SE.xliff | 4 ++++ Resources/translations/SonataAdminBundle.uk.xliff | 4 ++++ Resources/translations/SonataAdminBundle.zh_CN.xliff | 4 ++++ Resources/views/CRUD/base_show.html.twig | 8 ++++++++ 29 files changed, 120 insertions(+) diff --git a/Resources/translations/SonataAdminBundle.ar.xliff b/Resources/translations/SonataAdminBundle.ar.xliff index a695e55159..cec63ad630 100644 --- a/Resources/translations/SonataAdminBundle.ar.xliff +++ b/Resources/translations/SonataAdminBundle.ar.xliff @@ -86,6 +86,10 @@ title_create إنشاء + + title_show + title_show + title_dashboard لوحة المشرف diff --git a/Resources/translations/SonataAdminBundle.bg.xliff b/Resources/translations/SonataAdminBundle.bg.xliff index 5e7a512d5d..ef0bb4dc03 100644 --- a/Resources/translations/SonataAdminBundle.bg.xliff +++ b/Resources/translations/SonataAdminBundle.bg.xliff @@ -86,6 +86,10 @@ title_create Добавяне на елемент + + title_show + title_show + title_dashboard Начална страница diff --git a/Resources/translations/SonataAdminBundle.ca.xliff b/Resources/translations/SonataAdminBundle.ca.xliff index 680ba85cec..66edae4f12 100644 --- a/Resources/translations/SonataAdminBundle.ca.xliff +++ b/Resources/translations/SonataAdminBundle.ca.xliff @@ -86,6 +86,10 @@ title_create Crea + + title_show + title_show + title_dashboard Tauler diff --git a/Resources/translations/SonataAdminBundle.cs.xliff b/Resources/translations/SonataAdminBundle.cs.xliff index 96c7f9a690..d66b9595ce 100644 --- a/Resources/translations/SonataAdminBundle.cs.xliff +++ b/Resources/translations/SonataAdminBundle.cs.xliff @@ -86,6 +86,10 @@ title_create Vytvořit + + title_show + title_show + title_dashboard Administrační panel diff --git a/Resources/translations/SonataAdminBundle.de.xliff b/Resources/translations/SonataAdminBundle.de.xliff index 24132713ff..538d5a9520 100644 --- a/Resources/translations/SonataAdminBundle.de.xliff +++ b/Resources/translations/SonataAdminBundle.de.xliff @@ -86,6 +86,10 @@ title_create Hinzufügen + + title_show + "%name%" betrachten + title_dashboard Startseite diff --git a/Resources/translations/SonataAdminBundle.en.xliff b/Resources/translations/SonataAdminBundle.en.xliff index 4a6ce37e33..11f0905421 100644 --- a/Resources/translations/SonataAdminBundle.en.xliff +++ b/Resources/translations/SonataAdminBundle.en.xliff @@ -86,6 +86,10 @@ title_create Create + + title_show + Show "%name%" + title_dashboard Dashboard diff --git a/Resources/translations/SonataAdminBundle.es.xliff b/Resources/translations/SonataAdminBundle.es.xliff index cf1bbc83e5..995108bd02 100644 --- a/Resources/translations/SonataAdminBundle.es.xliff +++ b/Resources/translations/SonataAdminBundle.es.xliff @@ -86,6 +86,10 @@ title_create Crear + + title_show + title_show + title_dashboard Panel principal diff --git a/Resources/translations/SonataAdminBundle.eu.xliff b/Resources/translations/SonataAdminBundle.eu.xliff index efaea5fb33..f66e08fc41 100644 --- a/Resources/translations/SonataAdminBundle.eu.xliff +++ b/Resources/translations/SonataAdminBundle.eu.xliff @@ -86,6 +86,10 @@ title_create Sortu + + title_show + title_show + title_dashboard Hasiera diff --git a/Resources/translations/SonataAdminBundle.fa.xliff b/Resources/translations/SonataAdminBundle.fa.xliff index 77eb031cab..6ed7df9886 100644 --- a/Resources/translations/SonataAdminBundle.fa.xliff +++ b/Resources/translations/SonataAdminBundle.fa.xliff @@ -86,6 +86,10 @@ title_create ایجاد + + title_show + title_show + title_dashboard داشبورد diff --git a/Resources/translations/SonataAdminBundle.fr.xliff b/Resources/translations/SonataAdminBundle.fr.xliff index e56332830c..02ac890d1b 100644 --- a/Resources/translations/SonataAdminBundle.fr.xliff +++ b/Resources/translations/SonataAdminBundle.fr.xliff @@ -86,6 +86,10 @@ title_create Créer + + title_show + Afficher "%name%" + title_dashboard Tableau de bord diff --git a/Resources/translations/SonataAdminBundle.hr.xliff b/Resources/translations/SonataAdminBundle.hr.xliff index 5c6cf9589b..3b98c44b5b 100644 --- a/Resources/translations/SonataAdminBundle.hr.xliff +++ b/Resources/translations/SonataAdminBundle.hr.xliff @@ -86,6 +86,10 @@ title_create Novi unos + + title_show + title_show + title_dashboard Početna stranica diff --git a/Resources/translations/SonataAdminBundle.hu.xliff b/Resources/translations/SonataAdminBundle.hu.xliff index 0d739bd853..34eee7f9a0 100644 --- a/Resources/translations/SonataAdminBundle.hu.xliff +++ b/Resources/translations/SonataAdminBundle.hu.xliff @@ -86,6 +86,10 @@ title_create Hozzáadás + + title_show + "%name%" megjelenítése + title_dashboard Vezérlőpult diff --git a/Resources/translations/SonataAdminBundle.it.xliff b/Resources/translations/SonataAdminBundle.it.xliff index f4f85819f4..f47b613f6b 100644 --- a/Resources/translations/SonataAdminBundle.it.xliff +++ b/Resources/translations/SonataAdminBundle.it.xliff @@ -86,6 +86,10 @@ title_create Crea + + title_show + title_show + title_dashboard Dashboard diff --git a/Resources/translations/SonataAdminBundle.ja.xliff b/Resources/translations/SonataAdminBundle.ja.xliff index 24d08badf3..e5a6adae58 100644 --- a/Resources/translations/SonataAdminBundle.ja.xliff +++ b/Resources/translations/SonataAdminBundle.ja.xliff @@ -86,6 +86,10 @@ title_create 作成 + + title_show + title_show + title_dashboard ダッシュボード diff --git a/Resources/translations/SonataAdminBundle.lb.xliff b/Resources/translations/SonataAdminBundle.lb.xliff index b0c084ed4c..400784031f 100644 --- a/Resources/translations/SonataAdminBundle.lb.xliff +++ b/Resources/translations/SonataAdminBundle.lb.xliff @@ -86,6 +86,10 @@ title_create Dobäisetzen + + title_show + title_show + title_dashboard Startsäit diff --git a/Resources/translations/SonataAdminBundle.lt.xliff b/Resources/translations/SonataAdminBundle.lt.xliff index 047df5cee1..a5083a7567 100644 --- a/Resources/translations/SonataAdminBundle.lt.xliff +++ b/Resources/translations/SonataAdminBundle.lt.xliff @@ -86,6 +86,10 @@ title_create Sukurti + + title_show + title_show + title_dashboard Titulinis diff --git a/Resources/translations/SonataAdminBundle.nl.xliff b/Resources/translations/SonataAdminBundle.nl.xliff index 087f1f99ac..fb492614ce 100644 --- a/Resources/translations/SonataAdminBundle.nl.xliff +++ b/Resources/translations/SonataAdminBundle.nl.xliff @@ -86,6 +86,10 @@ title_create Aanmaken + + title_show + title_show + title_dashboard Dashboard diff --git a/Resources/translations/SonataAdminBundle.no.xliff b/Resources/translations/SonataAdminBundle.no.xliff index c45081f887..f3bfbf63a4 100644 --- a/Resources/translations/SonataAdminBundle.no.xliff +++ b/Resources/translations/SonataAdminBundle.no.xliff @@ -86,6 +86,10 @@ title_create Lag ny + + title_show + title_show + title_dashboard Dashboard diff --git a/Resources/translations/SonataAdminBundle.pl.xliff b/Resources/translations/SonataAdminBundle.pl.xliff index fb34de0e6c..e660dc5b79 100644 --- a/Resources/translations/SonataAdminBundle.pl.xliff +++ b/Resources/translations/SonataAdminBundle.pl.xliff @@ -86,6 +86,10 @@ title_create Stwórz + + title_show + title_show + title_dashboard Pulpit diff --git a/Resources/translations/SonataAdminBundle.pt.xliff b/Resources/translations/SonataAdminBundle.pt.xliff index 258a760d3d..33f4a0486a 100644 --- a/Resources/translations/SonataAdminBundle.pt.xliff +++ b/Resources/translations/SonataAdminBundle.pt.xliff @@ -86,6 +86,10 @@ title_create Criar + + title_show + title_show + title_dashboard Visão Geral diff --git a/Resources/translations/SonataAdminBundle.pt_BR.xliff b/Resources/translations/SonataAdminBundle.pt_BR.xliff index 0cddc9d920..e5968c7053 100644 --- a/Resources/translations/SonataAdminBundle.pt_BR.xliff +++ b/Resources/translations/SonataAdminBundle.pt_BR.xliff @@ -86,6 +86,10 @@ title_create Criar + + title_show + title_show + title_dashboard Visão Geral diff --git a/Resources/translations/SonataAdminBundle.ro.xliff b/Resources/translations/SonataAdminBundle.ro.xliff index a4bb690a91..abc1f8ee83 100644 --- a/Resources/translations/SonataAdminBundle.ro.xliff +++ b/Resources/translations/SonataAdminBundle.ro.xliff @@ -86,6 +86,10 @@ title_create Creați + + title_show + title_show + title_dashboard Panoul principal diff --git a/Resources/translations/SonataAdminBundle.ru.xliff b/Resources/translations/SonataAdminBundle.ru.xliff index 07341b694d..07b085dc98 100644 --- a/Resources/translations/SonataAdminBundle.ru.xliff +++ b/Resources/translations/SonataAdminBundle.ru.xliff @@ -86,6 +86,10 @@ title_create Создать + + title_show + Показать "%name%" + title_dashboard Панель администрирования diff --git a/Resources/translations/SonataAdminBundle.sk.xliff b/Resources/translations/SonataAdminBundle.sk.xliff index 474c0cf913..3e4961aa1c 100644 --- a/Resources/translations/SonataAdminBundle.sk.xliff +++ b/Resources/translations/SonataAdminBundle.sk.xliff @@ -86,6 +86,10 @@ title_create Vytvoriť + + title_show + title_show + title_dashboard Administračný panel diff --git a/Resources/translations/SonataAdminBundle.sl.xliff b/Resources/translations/SonataAdminBundle.sl.xliff index 08f49f2bbb..e72adcfb5a 100644 --- a/Resources/translations/SonataAdminBundle.sl.xliff +++ b/Resources/translations/SonataAdminBundle.sl.xliff @@ -86,6 +86,10 @@ title_create Ustvari + + title_show + title_show + title_dashboard Kontrolna plošča diff --git a/Resources/translations/SonataAdminBundle.sv_SE.xliff b/Resources/translations/SonataAdminBundle.sv_SE.xliff index ecdae7ec32..2b66935a0b 100644 --- a/Resources/translations/SonataAdminBundle.sv_SE.xliff +++ b/Resources/translations/SonataAdminBundle.sv_SE.xliff @@ -86,6 +86,10 @@ title_create Skapa + + title_show + title_show + title_dashboard Dashboard diff --git a/Resources/translations/SonataAdminBundle.uk.xliff b/Resources/translations/SonataAdminBundle.uk.xliff index b655b7ce09..86a2179622 100644 --- a/Resources/translations/SonataAdminBundle.uk.xliff +++ b/Resources/translations/SonataAdminBundle.uk.xliff @@ -86,6 +86,10 @@ title_create Створити + + title_show + Показати "%name%" + title_dashboard Панель diff --git a/Resources/translations/SonataAdminBundle.zh_CN.xliff b/Resources/translations/SonataAdminBundle.zh_CN.xliff index ae0a19b6fe..7653b24d27 100644 --- a/Resources/translations/SonataAdminBundle.zh_CN.xliff +++ b/Resources/translations/SonataAdminBundle.zh_CN.xliff @@ -86,6 +86,10 @@ title_create 创建 + + title_show + title_show + title_dashboard 控制面板 diff --git a/Resources/views/CRUD/base_show.html.twig b/Resources/views/CRUD/base_show.html.twig index 9f085c1de7..53fdeba6dc 100644 --- a/Resources/views/CRUD/base_show.html.twig +++ b/Resources/views/CRUD/base_show.html.twig @@ -11,6 +11,14 @@ file that was distributed with this source code. {% extends base_template %} +{% block title %} + {{ "title_show"|trans({'%name%': admin.toString(object)|truncate(15) }, 'SonataAdminBundle') }} +{% endblock %} + +{% block navbar_title %} + {{ block('title') }} +{% endblock %} + {%- block actions -%} {% include 'SonataAdminBundle:CRUD:action_buttons.html.twig' %} {%- endblock -%}