Skip to content

Commit

Permalink
refactor: added possibility to translate group name of plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
leandromqrs committed Feb 3, 2024
1 parent 4c9426d commit 2bd86ac
Showing 1 changed file with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,12 @@
<g:if test="${isSecondary}">
<details ${hasValue ? 'open' : ''} class="details-reset more-info">
<summary class="${groupTitleCss?:''}">
${group != '-' ? group : defaultGroupName}
<stepplugin:message
service="${service}"
name="${provider}"
code="${messagePrefix?:''}property.secondary.${group}.groupName"
messagesType="${messagesType}"
default="${group != '-' ? group : defaultGroupName}"/>
<span class="more-indicator-verbiage more-info-icon"><g:icon name="chevron-right"/></span>
<span class="less-indicator-verbiage more-info-icon"><g:icon name="chevron-down"/></span>
</summary>
Expand Down Expand Up @@ -130,7 +135,14 @@

</g:if>
<g:else>
<div class="${groupTitleCss?:''}">${group!='-'?group:defaultGroupName}</div>
<div class="${groupTitleCss?:''}">
<stepplugin:message
service="${service}"
name="${provider}"
code="${messagePrefix?:''}property.primary.${group}.groupName"
messagesType="${messagesType}"
default="${group != '-' ? group : defaultGroupName}"/>
</div>

<div>
<g:each in="${groupProps}" var="prop">
Expand Down

0 comments on commit 2bd86ac

Please sign in to comment.