Skip to content
Snippets Groups Projects
Commit d8a80301 authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Merge branch 'hruska-bugfix-#7449-networks-create' into devel

parents a528e97c 1e2fc0f1
No related branches found
No related tags found
No related merge requests found
......@@ -257,10 +257,7 @@ class CreateView(HTMLMixin, SQLAlchemyMixin, ItemCreateView): # pylint: disable
@staticmethod
def get_message_cancel(**kwargs):
return gettext(
'Canceled creating new network record for group <strong>%(parent_id)s</strong>.',
parent_id = flask.escape(str(kwargs['item'].group))
)
return gettext('Canceled creating new network record.')
@staticmethod
def get_item_form(item):
......@@ -339,10 +336,7 @@ class CreateForView(HTMLMixin, SQLAlchemyMixin, ItemCreateForView): # pylint: d
@staticmethod
def get_message_cancel(**kwargs):
return gettext(
'Canceled creating new network record for group <strong>%(parent_id)s</strong>.',
parent_id = flask.escape(str(kwargs['parent']))
)
return gettext('Canceled creating new network record.')
@staticmethod
def get_item_form(item):
......
......@@ -3410,12 +3410,8 @@ msgstr ""
#: ../hawat/blueprints/networks/__init__.py:262
#: ../hawat/blueprints/networks/__init__.py:344
#, python-format
msgid ""
"Canceled creating new network record for group "
"<strong>%(parent_id)s</strong>."
msgstr ""
"Vytvoření nového síťového záznamu pro skupinu "
"<strong>%(parent_id)s</strong> bylo zrušeno."
msgid "Canceled creating new network record."
msgstr "Vytvoření nového síťového záznamu bylo zrušeno."
#: ../hawat/blueprints/networks/__init__.py:292
#, python-format
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment