mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #806 from creative-commoners/pulls/5.2/localise-step-nav
FIX Step navigation buttons are not translatable
This commit is contained in:
commit
9b48b4f954
@ -147,6 +147,8 @@ en:
|
|||||||
one: 'A Page Break'
|
one: 'A Page Break'
|
||||||
other: '{count} Page Breaks'
|
other: '{count} Page Breaks'
|
||||||
SINGULARNAME: 'Page Break'
|
SINGULARNAME: 'Page Break'
|
||||||
|
STEP_NEXT: Next
|
||||||
|
STEP_PREV: Prev
|
||||||
STEP_TITLE: 'Page {page}'
|
STEP_TITLE: 'Page {page}'
|
||||||
TITLE_FIRST: 'First Page'
|
TITLE_FIRST: 'First Page'
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableLiteralField:
|
SilverStripe\UserForms\Model\EditableFormField\EditableLiteralField:
|
||||||
|
@ -5,10 +5,14 @@
|
|||||||
so the 'prev' and 'next' button are not used. These buttons are made visible via JavaScript.
|
so the 'prev' and 'next' button are not used. These buttons are made visible via JavaScript.
|
||||||
--%>
|
--%>
|
||||||
<li class="step-button-wrapper" aria-hidden="true" style="display:none;">
|
<li class="step-button-wrapper" aria-hidden="true" style="display:none;">
|
||||||
<button class="step-button-prev">Prev</button>
|
<button class="step-button-prev">
|
||||||
|
<%t SilverStripe\\UserForms\\Model\\EditableFormField\\EditableFormStep.STEP_PREV "Prev" %>
|
||||||
|
</button>
|
||||||
</li>
|
</li>
|
||||||
<li class="step-button-wrapper" aria-hidden="true" style="display:none;">
|
<li class="step-button-wrapper" aria-hidden="true" style="display:none;">
|
||||||
<button class="step-button-next">Next</button>
|
<button class="step-button-next">
|
||||||
|
<%t SilverStripe\\UserForms\\Model\\EditableFormField\\EditableFormStep.STEP_NEXT "Next" %>
|
||||||
|
</button>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<% if $Actions %>
|
<% if $Actions %>
|
||||||
@ -20,4 +24,4 @@
|
|||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
Loading…
Reference in New Issue
Block a user