translations

This commit is contained in:
Anthony Stirling 2023-08-17 22:03:43 +01:00
parent b666aa3f26
commit 3fc55a9e9f
3 changed files with 15 additions and 10 deletions

View file

@ -61,6 +61,7 @@ settings.zipThreshold=Zip files when the number of downloaded files exceeds
settings.signOut=Sign Out settings.signOut=Sign Out
settings.accountSettings=Account Settings settings.accountSettings=Account Settings
account.title=Account Settings
account.accountSettings=Account Settings account.accountSettings=Account Settings
account.adminSettings=Admin Settings - View and Add Users account.adminSettings=Admin Settings - View and Add Users
account.userControlSettings=User Control Settings account.userControlSettings=User Control Settings
@ -85,10 +86,10 @@ adminUserSettings.title=User Control Settings
adminUserSettings.header=Admin User Control Settings adminUserSettings.header=Admin User Control Settings
adminUserSettings.admin=Admin adminUserSettings.admin=Admin
adminUserSettings.user=User adminUserSettings.user=User
Add New User adminUserSettings.addUser=Add New User
Roles adminUserSettings.roles=Roles
Role adminUserSettings.role=Role
Actions adminUserSettings.actions=Actions
adminUserSettings.apiUser=Limited API User adminUserSettings.apiUser=Limited API User
adminUserSettings.webOnlyUser=Web Only User adminUserSettings.webOnlyUser=Web Only User
adminUserSettings.submit=Save User adminUserSettings.submit=Save User
@ -558,6 +559,8 @@ addImage.submit=Add image
#merge #merge
merge.title=Merge merge.title=Merge
merge.header=Merge multiple PDFs (2+) merge.header=Merge multiple PDFs (2+)
merge.sortByName=Sort by name
merge.sortByDate=Sort by date
merge.submit=Merge merge.submit=Merge
@ -658,6 +661,8 @@ watermark.selectText.4=Rotation (0-360):
watermark.selectText.5=widthSpacer (Space between each watermark horizontally): watermark.selectText.5=widthSpacer (Space between each watermark horizontally):
watermark.selectText.6=heightSpacer (Space between each watermark vertically): watermark.selectText.6=heightSpacer (Space between each watermark vertically):
watermark.selectText.7=Opacity (0% - 100%): watermark.selectText.7=Opacity (0% - 100%):
watermark.selectText.8=Watermark Type:
watermark.selectText.9=Watermark Image:
watermark.submit=Add Watermark watermark.submit=Add Watermark

View file

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html th:lang="${#locale.toString()}" th:lang-direction="#{language.direction}" xmlns:th="http://www.thymeleaf.org"> <html th:lang="${#locale.toString()}" th:lang-direction="#{language.direction}" xmlns:th="http://www.thymeleaf.org">
<th:block th:insert="~{fragments/common :: head(title=#{account.userSettings})}"></th:block> <th:block th:insert="~{fragments/common :: head(title=#{account.title})}"></th:block>
<body> <body>
<th:block th:insert="~{fragments/common :: game}"></th:block> <th:block th:insert="~{fragments/common :: game}"></th:block>

View file

@ -22,9 +22,9 @@
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
<th>Username</th> <th th:text="#{username}">Username</th>
<th>Roles</th> <th th:text="#{adminUserSettings.roles}">Roles</th>
<th>Actions</th> <th th:text="#{adminUserSettings.actions}">Actions</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -39,7 +39,7 @@
</table> </table>
<h2>Add New User</h2> <h2 th:text="#{adminUserSettings.addUser}">Add New User</h2>
<form action="/admin/saveUser" method="post"> <form action="/admin/saveUser" method="post">
<div class="form-group"> <div class="form-group">
<label for="username" th:text="#{username}">Username</label> <label for="username" th:text="#{username}">Username</label>
@ -50,7 +50,7 @@
<input type="password" class="form-control" name="password" required> <input type="password" class="form-control" name="password" required>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="role">Role</label> <label for="role" th:text="#{adminUserSettings.role}">Role</label>
<select name="role" class="form-control" required> <select name="role" class="form-control" required>
<option value="ROLE_ADMIN" th:text="#{adminUserSettings.admin}">Admin</option> <option value="ROLE_ADMIN" th:text="#{adminUserSettings.admin}">Admin</option>
<option value="ROLE_USER" th:text="#{adminUserSettings.user}">User</option> <option value="ROLE_USER" th:text="#{adminUserSettings.user}">User</option>