5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-01 21:36:07 +00:00

traduccion de pull

This commit is contained in:
f 2019-09-12 13:57:25 -03:00
parent 5696e41d03
commit f856cd78bb
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D
13 changed files with 33 additions and 30 deletions

View file

@ -1,5 +1,5 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index'), sites_path),
crumbs: [link_to(t('sites.index.title'), sites_path),
link_to(@site.name, site_path(@site)),
t('i18n.index'),
t('i18n.edit')]

View file

@ -1,5 +1,5 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index'), sites_path),
crumbs: [link_to(t('sites.index.title'), sites_path),
link_to(@site.name, site_posts_path(@site)),
link_to(t('posts.index'), site_posts_path(@site)),
link_to(@post.title.value, site_post_path(@site, @post.id)),

View file

@ -1,5 +1,5 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index'), sites_path),
crumbs: [link_to(t('sites.index.title'), sites_path),
@site.name,
link_to(t('posts.index'),
site_posts_path(@site)),

View file

@ -1,5 +1,5 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index'), sites_path),
crumbs: [link_to(t('sites.index.title'), sites_path),
@site.name,
link_to(t('posts.index'),
site_posts_path(@site)), t('posts.new')]

View file

@ -1,5 +1,5 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index'), sites_path),
crumbs: [link_to(t('sites.index.title'), sites_path),
@site.name,
link_to(t('posts.index'), site_posts_path(@site)),
@post.title.value]

View file

@ -1,5 +1,5 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index'), sites_path),
crumbs: [link_to(t('sites.index.title'), sites_path),
t('.title', site: @site.name)]
.row
.col

View file

@ -1,5 +1,5 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index'), sites_path), t('.title')]
crumbs: [link_to(t('sites.index.title'), sites_path), t('.title')]
.row.justify-content-center
.col-md-8#pull

View file

@ -1,9 +1,9 @@
= render 'layouts/breadcrumb', crumbs: [t('sites.index')]
= render 'layouts/breadcrumb', crumbs: [t('sites.index.title')]
.row
.col
%h1
= t('sites.title')
= t('.title')
- if policy(Site).new?
= link_to t('sites.new.title'), new_site_path,
class: 'btn'
@ -57,25 +57,24 @@
text: t('usuaries.index.title'),
type: 'info',
link: site_usuaries_path(site)
- if policy(site).build?
- if site.enqueued?
= render 'layouts/btn_with_tooltip',
tooltip: t('help.sites.enqueued'),
text: t('sites.enqueued'),
type: 'secondary',
link: nil
- else
= form_tag site_enqueue_path(site),
method: :post, class: 'form-inline' do
= button_tag type: 'submit',
class: 'btn btn-success',
title: t('help.sites.enqueue'),
data: { toggle: 'tooltip' } do
= t('sites.enqueue')
- if policy(site).pull? && site.repository.needs_pull?
= render 'layouts/btn_with_tooltip',
tooltip: t('help.sites.pull'),
text: t('.pull'),
type: 'info',
link: site_pull_path(site)
- if policy(site).build?
- if site.enqueued?
= render 'layouts/btn_with_tooltip',
tooltip: t('help.sites.enqueued'),
text: t('.enqueued'),
type: 'secondary',
link: nil
- else
= form_tag site_enqueue_path(site),
method: :post, class: 'form-inline' do
= button_tag type: 'submit',
class: 'btn no-border-radius',
title: t('help.sites.enqueue'),
data: { toggle: 'tooltip' } do
= t('sites.enqueue')

View file

@ -1,5 +1,5 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index'), sites_path), t('.title')]
crumbs: [link_to(t('sites.index.title'), sites_path), t('.title')]
.row
.col

View file

@ -1,5 +1,5 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index'), sites_path),
crumbs: [link_to(t('sites.index.title'), sites_path),
link_to(@site.name, site_path(@site)), t('.title')]
.row

View file

@ -1,7 +1,7 @@
- invite_as = t("usuaries.invite_as.#{params[:invite_as]}")
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index'), sites_path),
crumbs: [link_to(t('sites.index.title'), sites_path),
@site.name,
link_to(t('posts.index'), site_usuaries_path(@site)),
t('.title', invite_as: invite_as)]

View file

@ -229,12 +229,14 @@ en:
average: 'Average building time'
maximum: 'Maximum building time'
sites:
index:
title: 'Sites'
pull: 'Upgrade'
repository:
config: 'Changes in config'
actions: 'Actions'
posts: 'View and edit posts'
title: 'Sites'
index: 'Sites'
enqueued: 'Waiting for build'
enqueue: 'Build'
failed: 'Failed!'

View file

@ -231,12 +231,14 @@ es:
average: 'Tiempo promedio de generación'
maximum: 'Tiempo máximo de generación'
sites:
index:
title: 'Sitios'
pull: 'Actualizar'
repository:
config: 'Cambios en la configuración'
actions: 'Acciones'
posts: 'Ver y editar artículos'
title: 'Sitios'
index: 'Sitios'
enqueued: 'Esperando compilación'
enqueue: 'Compilar'
failed: '¡Falló!'