mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-23 01:21:03 +00:00
parent
41c2178685
commit
df30af69d2
15 changed files with 51 additions and 13 deletions
|
@ -3,6 +3,7 @@
|
|||
namespace Wallabag\CoreBundle\Form\Type;
|
||||
|
||||
use Symfony\Component\Form\AbstractType;
|
||||
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
|
||||
use Symfony\Component\Form\Extension\Core\Type\TextType;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||
|
@ -12,7 +13,15 @@ class NewTagType extends AbstractType
|
|||
public function buildForm(FormBuilderInterface $builder, array $options)
|
||||
{
|
||||
$builder
|
||||
->add('label', TextType::class, ['required' => true])
|
||||
->add('label', TextType::class, [
|
||||
'required' => true,
|
||||
'attr' => [
|
||||
'placeholder' => 'tag.new.placeholder',
|
||||
],
|
||||
])
|
||||
->add('add', SubmitType::class, [
|
||||
'label' => 'tag.new.add',
|
||||
])
|
||||
;
|
||||
}
|
||||
|
||||
|
|
|
@ -335,6 +335,9 @@ tag:
|
|||
list:
|
||||
# number_on_the_page: '{0} There is no tag.|{1} There is one tag.|]1,Inf[ There are %count% tags.'
|
||||
# see_untagged_entries: 'See untagged entries'
|
||||
new:
|
||||
# add: 'Add'
|
||||
# placeholder: 'You can add several tags, separated by a comma.'
|
||||
|
||||
import:
|
||||
# page_title: 'Import'
|
||||
|
|
|
@ -335,6 +335,9 @@ tag:
|
|||
list:
|
||||
number_on_the_page: '{0} Es gibt keine Tags.|{1} Es gibt einen Tag.|]1,Inf[ Es gibt %count% Tags.'
|
||||
see_untagged_entries: 'Zeige nicht getaggte Einträge'
|
||||
new:
|
||||
# add: 'Add'
|
||||
# placeholder: 'You can add several tags, separated by a comma.'
|
||||
|
||||
import:
|
||||
page_title: 'Importieren'
|
||||
|
|
|
@ -335,6 +335,9 @@ tag:
|
|||
list:
|
||||
number_on_the_page: '{0} There are no tags.|{1} There is one tag.|]1,Inf[ There are %count% tags.'
|
||||
see_untagged_entries: 'See untagged entries'
|
||||
new:
|
||||
add: 'Add'
|
||||
placeholder: 'You can add several tags, separated by a comma.'
|
||||
|
||||
import:
|
||||
page_title: 'Import'
|
||||
|
|
|
@ -335,6 +335,9 @@ tag:
|
|||
list:
|
||||
number_on_the_page: '{0} No hay ninguna etiqueta.|{1} Hay una etiqueta.|]1,Inf[ Hay %count% etiquetas.'
|
||||
# see_untagged_entries: 'See untagged entries'
|
||||
new:
|
||||
# add: 'Add'
|
||||
# placeholder: 'You can add several tags, separated by a comma.'
|
||||
|
||||
import:
|
||||
page_title: 'Importar'
|
||||
|
|
|
@ -335,6 +335,9 @@ tag:
|
|||
list:
|
||||
number_on_the_page: '{0} هیچ برچسبی نیست.|{1} یک برچسب هست.|]1,Inf[ %count% برچسب هست.'
|
||||
# see_untagged_entries: 'See untagged entries'
|
||||
new:
|
||||
# add: 'Add'
|
||||
# placeholder: 'You can add several tags, separated by a comma.'
|
||||
|
||||
import:
|
||||
page_title: 'درونریزی'
|
||||
|
|
|
@ -335,6 +335,9 @@ tag:
|
|||
list:
|
||||
number_on_the_page: "{0} Il n’y a pas de tag.|{1} Il y a un tag.|]1,Inf[ Il y a %count% tags."
|
||||
see_untagged_entries: "Voir les articles sans tag"
|
||||
new:
|
||||
add: 'Ajouter'
|
||||
placeholder: 'Vous pouvez ajouter plusieurs tags, séparés par une virgule.'
|
||||
|
||||
import:
|
||||
page_title: "Importer"
|
||||
|
|
|
@ -335,6 +335,9 @@ tag:
|
|||
list:
|
||||
number_on_the_page: "{0} Non ci sono tag.|{1} C'è un tag.|]1,Inf[ ci sono %count% tag."
|
||||
# see_untagged_entries: 'See untagged entries'
|
||||
new:
|
||||
# add: 'Add'
|
||||
# placeholder: 'You can add several tags, separated by a comma.'
|
||||
|
||||
import:
|
||||
page_title: 'Importa'
|
||||
|
|
|
@ -335,6 +335,9 @@ tag:
|
|||
list:
|
||||
number_on_the_page: "{0} I a pas cap d'etiquetas.|{1} I a una etiqueta.|]1,Inf[ I a %count% etiquetas."
|
||||
see_untagged_entries: "Afichar las entradas sens pas cap d'etiquetas"
|
||||
new:
|
||||
# add: 'Add'
|
||||
# placeholder: 'You can add several tags, separated by a comma.'
|
||||
|
||||
import:
|
||||
page_title: 'Importar'
|
||||
|
|
|
@ -335,6 +335,9 @@ tag:
|
|||
list:
|
||||
number_on_the_page: '{0} Nie ma tagów.|{1} Jest jeden tag.|]1,Inf[ Są %count% tagi.'
|
||||
see_untagged_entries: 'Zobacz nieotagowane wpisy'
|
||||
new:
|
||||
# add: 'Add'
|
||||
# placeholder: 'You can add several tags, separated by a comma.'
|
||||
|
||||
import:
|
||||
page_title: 'Import'
|
||||
|
|
|
@ -335,6 +335,9 @@ tag:
|
|||
list:
|
||||
number_on_the_page: '{0} Não existem tags.|{1} Uma tag.|]1,Inf[ Existem %count% tags.'
|
||||
see_untagged_entries: 'Ver entradas sem tags'
|
||||
new:
|
||||
# add: 'Add'
|
||||
# placeholder: 'You can add several tags, separated by a comma.'
|
||||
|
||||
import:
|
||||
page_title: 'Importar'
|
||||
|
|
|
@ -335,6 +335,9 @@ tag:
|
|||
list:
|
||||
# number_on_the_page: '{0} There is no tag.|{1} There is one tag.|]1,Inf[ There are %count% tags.'
|
||||
# see_untagged_entries: 'See untagged entries'
|
||||
new:
|
||||
# add: 'Add'
|
||||
# placeholder: 'You can add several tags, separated by a comma.'
|
||||
|
||||
import:
|
||||
# page_title: 'Import'
|
||||
|
|
|
@ -335,6 +335,9 @@ tag:
|
|||
list:
|
||||
number_on_the_page: '{0} Herhangi bir etiket yok.|{1} Burada bir adet etiket var.|]1,Inf[ Burada %count% adet etiket var.'
|
||||
# see_untagged_entries: 'See untagged entries'
|
||||
new:
|
||||
# add: 'Add'
|
||||
# placeholder: 'You can add several tags, separated by a comma.'
|
||||
|
||||
import:
|
||||
page_title: 'İçe Aktar'
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
<div class="collapsible-body"></div>
|
||||
</li>
|
||||
|
||||
<li class="bold hide-on-med-and-down">
|
||||
<li class="bold">
|
||||
<a class="waves-effect collapsible-header" title="{{ 'entry.view.left_menu.re_fetch_content'|trans }}" href="{{ path('reload_entry', { 'id': entry.id }) }}" id="reload">
|
||||
<i class="material-icons small">autorenew</i>
|
||||
<span>{{ 'entry.view.left_menu.re_fetch_content'|trans }}</span>
|
||||
|
@ -81,7 +81,7 @@
|
|||
</a>
|
||||
<div class="collapsible-body"></div>
|
||||
</li>
|
||||
<li class="bold border-bottom hide-on-med-and-down">
|
||||
<li class="bold border-bottom">
|
||||
<a class="waves-effect collapsible-header" title="{{ 'entry.view.left_menu.delete'|trans }}" href="{{ path('delete_entry', { 'id': entry.id }) }}">
|
||||
<i class="material-icons small">delete</i>
|
||||
<span>{{ 'entry.view.left_menu.delete'|trans }}</span>
|
||||
|
@ -89,7 +89,7 @@
|
|||
<div class="collapsible-body"></div>
|
||||
</li>
|
||||
|
||||
<li class="bold border-bottom hide-on-med-and-down">
|
||||
<li class="bold border-bottom">
|
||||
<a class="waves-effect collapsible-header" id="nav-btn-add-tag">
|
||||
<i class="material-icons small">label_outline</i>
|
||||
<span>{{ 'entry.view.left_menu.add_a_tag'|trans }}</span>
|
||||
|
@ -186,14 +186,6 @@
|
|||
</div>
|
||||
</li>
|
||||
|
||||
<li class="bold hide-on-large-only">
|
||||
<a class="waves-effect collapsible-header" title="{{ 'entry.view.left_menu.delete'|trans }}" href="{{ path('delete_entry', { 'id': entry.id }) }}">
|
||||
<i class="material-icons small">delete</i>
|
||||
<span>{{ 'entry.view.left_menu.delete'|trans }}</span>
|
||||
</a>
|
||||
<div class="collapsible-body"></div>
|
||||
</li>
|
||||
|
||||
<li class="bold">
|
||||
<a class="waves-effect collapsible-header" href="mailto:hello@wallabag.org?subject=Wrong%20display%20in%20wallabag&body={{ entry.url|url_encode }}" title="{{ 'entry.view.left_menu.problem.description'|trans }}">
|
||||
<i class="material-icons small">error</i>
|
||||
|
|
|
@ -9,5 +9,6 @@
|
|||
|
||||
{{ form_widget(form.label, { 'attr': {'autocomplete': 'off'} }) }}
|
||||
|
||||
{{ form_rest(form) }}
|
||||
{{ form_widget(form.add, {'attr': {'class': 'btn waves-effect waves-light hide-on-large-only'}}) }}
|
||||
{{ form_widget(form._token) }}
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue