mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-24 08:30:30 +00:00
Entry: handle originUrl in edit form, update translations
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
parent
e0ef1a1c8b
commit
03b020eb20
14 changed files with 22 additions and 0 deletions
|
@ -22,6 +22,11 @@ class EditEntryType extends AbstractType
|
|||
'required' => false,
|
||||
'label' => 'entry.edit.url_label',
|
||||
])
|
||||
->add('origin_url', TextType::class, [
|
||||
'required' => false,
|
||||
'property_path' => 'originUrl',
|
||||
'label' => 'entry.edit.origin_url_label',
|
||||
])
|
||||
->add('save', SubmitType::class, [
|
||||
'label' => 'entry.edit.save_label',
|
||||
])
|
||||
|
|
|
@ -244,6 +244,7 @@ entry:
|
|||
# page_title: 'Edit an entry'
|
||||
# title_label: 'Title'
|
||||
url_label: 'Url'
|
||||
# origin_url_label: 'Origin url'
|
||||
save_label: 'Gem'
|
||||
public:
|
||||
# shared_by_wallabag: "This article has been shared by %username% with <a href='%wallabag_instance%'>wallabag</a>"
|
||||
|
|
|
@ -244,6 +244,7 @@ entry:
|
|||
page_title: 'Eintrag bearbeiten'
|
||||
title_label: 'Titel'
|
||||
url_label: 'URL'
|
||||
# origin_url_label: 'Origin url'
|
||||
save_label: 'Speichern'
|
||||
public:
|
||||
shared_by_wallabag: 'Dieser Artikel wurde von %username% mittels <a href="%wallabag_instance%">wallabag</a> geteilt'
|
||||
|
|
|
@ -244,6 +244,7 @@ entry:
|
|||
page_title: 'Edit an entry'
|
||||
title_label: 'Title'
|
||||
url_label: 'Url'
|
||||
origin_url_label: 'Origin url'
|
||||
save_label: 'Save'
|
||||
public:
|
||||
shared_by_wallabag: "This article has been shared by %username% with <a href='%wallabag_instance%'>wallabag</a>"
|
||||
|
|
|
@ -244,6 +244,7 @@ entry:
|
|||
page_title: 'Editar un artículo'
|
||||
title_label: 'Título'
|
||||
url_label: 'URL'
|
||||
# origin_url_label: 'Origin url'
|
||||
save_label: 'Guardar'
|
||||
public:
|
||||
shared_by_wallabag: "Este artículo se ha compartido con <a href='%wallabag_instance%'>wallabag</a>"
|
||||
|
|
|
@ -244,6 +244,7 @@ entry:
|
|||
page_title: 'ویرایش مقاله'
|
||||
title_label: 'عنوان'
|
||||
url_label: 'نشانی'
|
||||
# origin_url_label: 'Origin url'
|
||||
save_label: 'ذخیره'
|
||||
public:
|
||||
# shared_by_wallabag: "This article has been shared by %username% with <a href='%wallabag_instance%'>wallabag</a>"
|
||||
|
|
|
@ -244,6 +244,7 @@ entry:
|
|||
page_title: "Éditer un article"
|
||||
title_label: "Titre"
|
||||
url_label: "Adresse"
|
||||
origin_url_label: "Adresse d'origine"
|
||||
save_label: "Enregistrer"
|
||||
public:
|
||||
shared_by_wallabag: "Cet article a été partagé par %username% avec <a href=\"%wallabag_instance%\">wallabag</a>"
|
||||
|
|
|
@ -244,6 +244,7 @@ entry:
|
|||
page_title: 'Modifica voce'
|
||||
title_label: 'Titolo'
|
||||
url_label: 'Url'
|
||||
# origin_url_label: 'Origin url'
|
||||
save_label: 'Salva'
|
||||
public:
|
||||
shared_by_wallabag: "Questo articolo è stato condiviso da %username% con <a href='%wallabag_instance%'>wallabag</a>"
|
||||
|
|
|
@ -244,6 +244,7 @@ entry:
|
|||
page_title: 'Modificar un article'
|
||||
title_label: 'Títol'
|
||||
url_label: 'Url'
|
||||
# origin_url_label: 'Origin url'
|
||||
save_label: 'Enregistrar'
|
||||
public:
|
||||
shared_by_wallabag: "Aqueste article es estat partejat per <a href='%wallabag_instance%'>wallabag</a>"
|
||||
|
|
|
@ -244,6 +244,7 @@ entry:
|
|||
page_title: 'Edytuj wpis'
|
||||
title_label: 'Tytuł'
|
||||
url_label: 'Adres URL'
|
||||
# origin_url_label: 'Origin url'
|
||||
save_label: 'Zapisz'
|
||||
public:
|
||||
shared_by_wallabag: "Ten artykuł został udostępniony przez <a href='%wallabag_instance%'>wallabag</a>"
|
||||
|
|
|
@ -244,6 +244,7 @@ entry:
|
|||
page_title: 'Editar uma entrada'
|
||||
title_label: 'Título'
|
||||
url_label: 'Url'
|
||||
# origin_url_label: 'Origin url'
|
||||
save_label: 'Salvar'
|
||||
public:
|
||||
shared_by_wallabag: "Este artigo foi compartilhado pelo <a href='%wallabag_instance%'>wallabag</a>"
|
||||
|
|
|
@ -244,6 +244,7 @@ entry:
|
|||
# page_title: 'Edit an entry'
|
||||
# title_label: 'Title'
|
||||
url_label: 'Url'
|
||||
# origin_url_label: 'Origin url'
|
||||
save_label: 'Salvează'
|
||||
public:
|
||||
# shared_by_wallabag: "This article has been shared by %username% with <a href='%wallabag_instance%'>wallabag</a>"
|
||||
|
|
|
@ -242,6 +242,7 @@ entry:
|
|||
page_title: 'Makaleyi düzenle'
|
||||
title_label: 'Başlık'
|
||||
url_label: 'Url'
|
||||
# origin_url_label: 'Origin url'
|
||||
save_label: 'Kaydet'
|
||||
public:
|
||||
# shared_by_wallabag: "This article has been shared by %username% with <a href='%wallabag_instance%'>wallabag</a>"
|
||||
|
|
|
@ -27,6 +27,11 @@
|
|||
{{ form_label(form.url) }}
|
||||
{{ form_widget(form.url) }}
|
||||
</div>
|
||||
|
||||
<div class="input-field s12">
|
||||
{{ form_label(form.origin_url) }}
|
||||
{{ form_widget(form.origin_url) }}
|
||||
</div>
|
||||
<br>
|
||||
|
||||
{{ form_widget(form.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }}
|
||||
|
|
Loading…
Reference in a new issue