Skip to content

Commit

Permalink
translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Frooodle committed Aug 17, 2023
1 parent b666aa3 commit 3fc55a9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
13 changes: 9 additions & 4 deletions src/main/resources/messages_en_GB.properties
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ settings.zipThreshold=Zip files when the number of downloaded files exceeds
settings.signOut=Sign Out
settings.accountSettings=Account Settings

account.title=Account Settings
account.accountSettings=Account Settings
account.adminSettings=Admin Settings - View and Add Users
account.userControlSettings=User Control Settings
Expand All @@ -85,10 +86,10 @@ adminUserSettings.title=User Control Settings
adminUserSettings.header=Admin User Control Settings
adminUserSettings.admin=Admin
adminUserSettings.user=User
Add New User
Roles
Role
Actions
adminUserSettings.addUser=Add New User
adminUserSettings.roles=Roles
adminUserSettings.role=Role
adminUserSettings.actions=Actions
adminUserSettings.apiUser=Limited API User
adminUserSettings.webOnlyUser=Web Only User
adminUserSettings.submit=Save User
Expand Down Expand Up @@ -558,6 +559,8 @@ addImage.submit=Add image
#merge
merge.title=Merge
merge.header=Merge multiple PDFs (2+)
merge.sortByName=Sort by name
merge.sortByDate=Sort by date
merge.submit=Merge


Expand Down Expand Up @@ -658,6 +661,8 @@ watermark.selectText.4=Rotation (0-360):
watermark.selectText.5=widthSpacer (Space between each watermark horizontally):
watermark.selectText.6=heightSpacer (Space between each watermark vertically):
watermark.selectText.7=Opacity (0% - 100%):
watermark.selectText.8=Watermark Type:
watermark.selectText.9=Watermark Image:
watermark.submit=Add Watermark


Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/account.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<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>
<th:block th:insert="~{fragments/common :: game}"></th:block>
Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/templates/addUsers.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ <h2 class="text-center" th:text="#{adminUserSettings.header}">Admin User Control
<table class="table">
<thead>
<tr>
<th>Username</th>
<th>Roles</th>
<th>Actions</th>
<th th:text="#{username}">Username</th>
<th th:text="#{adminUserSettings.roles}">Roles</th>
<th th:text="#{adminUserSettings.actions}">Actions</th>
</tr>
</thead>
<tbody>
Expand All @@ -39,7 +39,7 @@ <h2 class="text-center" th:text="#{adminUserSettings.header}">Admin User Control
</table>


<h2>Add New User</h2>
<h2 th:text="#{adminUserSettings.addUser}">Add New User</h2>
<form action="/admin/saveUser" method="post">
<div class="form-group">
<label for="username" th:text="#{username}">Username</label>
Expand All @@ -50,7 +50,7 @@ <h2>Add New User</h2>
<input type="password" class="form-control" name="password" required>
</div>
<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>
<option value="ROLE_ADMIN" th:text="#{adminUserSettings.admin}">Admin</option>
<option value="ROLE_USER" th:text="#{adminUserSettings.user}">User</option>
Expand Down

0 comments on commit 3fc55a9

Please sign in to comment.