Fixes: #4096 - The labels "Save Draft" & "Macros" are not translatable.

This commit is contained in:
Martin Gruner 2022-05-20 14:00:37 +02:00
parent 473cc70d3b
commit ea163bb02f
2 changed files with 6 additions and 6 deletions

View file

@ -62,16 +62,13 @@
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="userAction">
<% if !@sharedDraftsDisabled: %>
<li class="label" role="menuitem">
<label>
Draft
<li class="js-dropdownActionSaveDraft" role="menuitem">Save Draft
<label><%- @T('Draft') %></label>
<li class="js-dropdownActionSaveDraft" role="menuitem"><%- @T('Save Draft') %></li>
<% end %>
<% if !@macroDisabled: %>
<li class="label" role="menuitem">
<label>
Macros
<label><%- @T('Macros') %></label>
<% for macro in @macros: %>
<li class="js-dropdownActionMacro" role="menuitem" data-id="<%= macro.id %>"><%- macro.displayName() %>

View file

@ -3348,6 +3348,7 @@ msgid "Download and install the %s Migration Plugin on your %s instance."
msgstr ""
#: app/assets/javascripts/app/controllers/knowledge_base/content_can_be_published_form.coffee
#: app/assets/javascripts/app/views/ticket_zoom/attribute_bar.jst.eco
msgid "Draft"
msgstr ""
@ -5646,6 +5647,7 @@ msgid "Macro group restrictions do not cover all tickets"
msgstr ""
#: app/assets/javascripts/app/controllers/macro.coffee
#: app/assets/javascripts/app/views/ticket_zoom/attribute_bar.jst.eco
#: db/seeds/permissions.rb
msgid "Macros"
msgstr ""
@ -7834,6 +7836,7 @@ msgid "Save"
msgstr ""
#: app/assets/javascripts/app/views/ticket_shared_draft_overwrite_modal.coffee
#: app/assets/javascripts/app/views/ticket_zoom/attribute_bar.jst.eco
msgid "Save Draft"
msgstr ""