diff --git a/app/assets/javascripts/app/views/link/ticket/add.jst.eco b/app/assets/javascripts/app/views/link/ticket/add.jst.eco index 5f153b74b..381327410 100644 --- a/app/assets/javascripts/app/views/link/ticket/add.jst.eco +++ b/app/assets/javascripts/app/views/link/ticket/add.jst.eco @@ -1,21 +1,18 @@
- <% if @link_types.length > 1: %> - <%- @T('Link') %> - <%- @T(@link_object) %> + <% ticket_number_input = () => %> + <% end %> - - <% if @link_types.length > 1: %> - <%- @T('as') %> + <% link_type_selector = () => %> - <%- @T('of') %> - Ticket# - <%= @object.number %>. + <% end %> + <%- App.i18n.translatePlain( 'Link %s %s as %s of Ticket# %s', @T(@link_object), ticket_number_input(), link_type_selector(), @object.number ) %> <% else: %> + <%- ticket_number_input() %> <% end %> diff --git a/i18n/zammad.pot b/i18n/zammad.pot index 2a29b6575..6710eb91b 100644 --- a/i18n/zammad.pot +++ b/i18n/zammad.pot @@ -5475,7 +5475,6 @@ msgstr "" #: app/assets/javascripts/app/controllers/_ui_element/richtext_additions/link_button.coffee #: app/assets/javascripts/app/controllers/ticket_link_add.coffee #: app/assets/javascripts/app/models/overview.coffee -#: app/assets/javascripts/app/views/link/ticket/add.jst.eco msgid "Link" msgstr "" @@ -5483,6 +5482,10 @@ msgstr "" msgid "Link %s" msgstr "" +#: app/assets/javascripts/app/views/link/ticket/add.jst.eco +msgid "Link %s %s as %s of Ticket# %s" +msgstr "" + #: app/assets/javascripts/app/views/profile/linked_accounts.jst.eco msgid "Link Accounts" msgstr "" @@ -10762,10 +10765,6 @@ msgstr "" msgid "archived" msgstr "" -#: app/assets/javascripts/app/views/link/ticket/add.jst.eco -msgid "as" -msgstr "" - #: app/assets/javascripts/app/views/ticket_overview/batch_overlay.jst.eco msgid "assign tickets" msgstr "" @@ -11221,10 +11220,6 @@ msgstr "" msgid "note" msgstr "" -#: app/assets/javascripts/app/views/link/ticket/add.jst.eco -msgid "of" -msgstr "" - #: db/seeds/ticket_state_types.rb #: db/seeds/ticket_states.rb msgid "open"