mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 07:16:21 +00:00
ayuda para los posts
This commit is contained in:
parent
e378ede510
commit
0c5c1cb62e
3 changed files with 6 additions and 3 deletions
|
@ -30,13 +30,14 @@
|
|||
%br
|
||||
%small
|
||||
- post.categories.each do |c|
|
||||
= link_to c, site_posts_path(@site, category: c)
|
||||
= link_to c, site_posts_path(@site, category: c),
|
||||
data: { toggle: 'tooltip' }, title: t('help.category')
|
||||
%td
|
||||
- if post.translations
|
||||
%small
|
||||
- post.translations.each do |pt|
|
||||
= link_to pt.title, site_post_path(@site, pt, lang: pt.lang)
|
||||
%span.badge.badge-info= t("i18n.#{pt.lang}")
|
||||
= link_to pt.title, site_post_path(@site, pt, lang: pt.lang),
|
||||
data: { toggle: 'tooltip' }, title: t("i18n.#{pt.lang}")
|
||||
%br
|
||||
|
||||
%td= post.date.strftime('%F')
|
||||
|
|
|
@ -3,6 +3,7 @@ en:
|
|||
argument_error: 'Argument `%{argument}` must be an instance of %{class}'
|
||||
unknown_locale: 'Unknown %{locale} locale'
|
||||
help:
|
||||
category: 'Category'
|
||||
logout: 'Close the session'
|
||||
breadcrumbs: "What you see up here are the bread crumbs for this
|
||||
site. When you enter a new section, you will see the previous ones
|
||||
|
|
|
@ -3,6 +3,7 @@ es:
|
|||
argument_error: 'El argumento `%{argument}` debe ser una instancia de %{class}'
|
||||
unknown_locale: 'El idioma %{locale} es desconocido'
|
||||
help:
|
||||
category: 'Categoría'
|
||||
logout: 'Cierra la sesión'
|
||||
breadcrumbs: 'Lo que ves arriba son las migas de pan de este sitio.
|
||||
Cuando ingreses a una sección, podrás volver a las secciones
|
||||
|
|
Loading…
Reference in a new issue