Updated forms legend
authorThierry Florac <thierry.florac@onf.fr>
Tue, 09 Aug 2016 17:46:17 +0200
changeset 54 e26ea933fb8e
parent 53 4acef7070de7
child 55 912cb6d5314e
Updated forms legend
src/pyams_content/component/links/zmi/__init__.py
--- a/src/pyams_content/component/links/zmi/__init__.py	Mon Jul 11 12:26:22 2016 +0200
+++ b/src/pyams_content/component/links/zmi/__init__.py	Tue Aug 09 17:46:17 2016 +0200
@@ -119,7 +119,7 @@
 class InternalLinkPropertiesEditForm(AdminDialogEditForm):
     """Internal link properties edit form"""
 
-    legend = _("Edit link properties")
+    legend = _("Edit internal link properties")
     icon_css_class = 'fa fa-fw fa-link'
 
     fields = field.Fields(IInternalLink).omit('__parent__', '__name__')
@@ -166,7 +166,7 @@
 class ExternalLinkAddForm(AdminDialogAddForm):
     """External link add form"""
 
-    legend = _("Add new External link")
+    legend = _("Add new external link")
     icon_css_class = 'fa fa-fw fa-external-link'
 
     fields = field.Fields(IExternalLink).omit('__parent__', '__name__')
@@ -224,7 +224,7 @@
 class ExternalLinkPropertiesEditForm(AdminDialogEditForm):
     """External link properties edit form"""
 
-    legend = _("Edit link properties")
+    legend = _("Edit external link properties")
     icon_css_class = 'fa fa-fw fa-external-link'
 
     fields = field.Fields(IExternalLink).omit('__parent__', '__name__')
@@ -330,7 +330,7 @@
 class MailtoLinkPropertiesEditForm(AdminDialogEditForm):
     """Mailto link properties edit form"""
 
-    legend = _("Edit link properties")
+    legend = _("Edit mailto link properties")
     icon_css_class = 'fa fa-fw fa-envelope-o'
 
     fields = field.Fields(IMailtoLink).omit('__parent__', '__name__')