Allowing Portrait and Landscape to be translated

This commit is contained in:
YAOU Reda 2025-10-19 16:20:41 +02:00
parent 84db4e5f2e
commit 81295539a9
2 changed files with 4 additions and 2 deletions

View File

@ -1153,6 +1153,8 @@ pageLayout.title=Multi Page Layout
pageLayout.header=Multi Page Layout pageLayout.header=Multi Page Layout
pageLayout.pagesPerSheet=Pages per sheet: pageLayout.pagesPerSheet=Pages per sheet:
pageLayout.orientation=Orientation: pageLayout.orientation=Orientation:
pageLayout.portrait=Portrait
pageLayout.landscape=Landscape
pageLayout.addBorder=Add Borders pageLayout.addBorder=Add Borders
pageLayout.submit=Submit pageLayout.submit=Submit

View File

@ -31,8 +31,8 @@
<div class="mb-3"> <div class="mb-3">
<label for="orientation" th:text="#{pageLayout.orientation}"></label> <label for="orientation" th:text="#{pageLayout.orientation}"></label>
<select class="form-control" id="orientation" name="orientation"> <select class="form-control" id="orientation" name="orientation">
<option value="PORTRAIT">Portrait</option> <option value="PORTRAIT" th:text="#{pageLayout.portrait}"></option>
<option value="LANDSCAPE">Landscape</option> <option value="LANDSCAPE" th:text="#{pageLayout.landscape}"></option>
</select> </select>
</div> </div>
<div class="form-check mb-3"> <div class="form-check mb-3">