translation fixes

This commit is contained in:
enginar 2022-04-06 22:49:16 +03:00
parent 11d79cd7ad
commit eb0fc92bfa
7 changed files with 16 additions and 16 deletions

View file

@ -10,10 +10,10 @@
<h1>Welcome to the admin panel of the forum, <%= user.name %>!</h1> <h1>Welcome to the admin panel of the forum, <%= user.name %>!</h1>
<form action="/admin/" method="POST"> <form action="/admin/" method="POST">
<h2>Write an ID for make admin:</h2> <h2>Write an ID to give someone admin permissions:</h2>
<input name="userid"></input> <input name="userid"></input>
<hr> <hr>
<button class="buyuk" type="submit">Make admin!</button> <button class="buyuk" type="submit">Give admin permissions!</button>
</form> </form>
<script> <script>
@ -25,4 +25,4 @@
</body> </body>
</html> </html>

View file

@ -16,7 +16,7 @@
<a href="/threads">THREADS</a> <a href="/threads">THREADS</a>
<a href="/users">USERS</a> <a href="/users">USERS</a>
<a href="/search">SEARCH</a> <a href="/search">SEARCH</a>
<a href="/threads/open/">OPEN THREAD</a> <a href="/threads/open/">CREATE THREAD</a>
<% if (user){ %> <% if (user){ %>
<div style="float: right;" class="user" id="user"> <div style="float: right;" class="user" id="user">
@ -43,4 +43,4 @@
<hr> <hr>
<!-- Navbar end --> <!-- Navbar end -->

View file

@ -10,14 +10,14 @@
<h1>Welcome, <a href=<%=user.getLink() %>> <%= user.name %></a> <h1>Welcome, <a href=<%=user.getLink() %>> <%= user.name %></a>
<img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>> <img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>>
<br> <br>
You can press logout here: You can log out of the site here:
<button onclick="window.location.href = '/login/'">LOGOUT</button> <button onclick="window.location.href = '/login/'">LOGOUT</button>
</h1> </h1>
<br> <br>
<% } else { %> <% } else { %>
<h1>Welcome, Guest!<br>You can press for register here: <h1>Welcome, Guest!<br>You can press the button to register:
<button class="buyuk" onclick= "window.location.href = '/register'">REGISTER</button> <button class="buyuk" onclick= "window.location.href = '/register'">REGISTER</button>
</h1> </h1>
<% } %> <% } %>
@ -50,4 +50,4 @@
</body> </body>
</html> </html>

View file

@ -7,7 +7,7 @@
<!-- Navbar: --> <!-- Navbar: -->
<a href="/"><img class="logo" src="/images/logo.jpg" alt="AKF-FORUM"></a> <a href="/"><img class="logo" src="/images/logo.jpg" alt="AKF-FORUM"></a>
<br> <br>
<button class="buyuk" onclick="window.location.href = '/register'">REGISTER PAGE</button> <button class="buyuk" onclick="window.location.href = '/register'">REGISTER SECTION</button>
<hr> <hr>
@ -23,4 +23,4 @@
<%- include("extra/footer") %> <%- include("extra/footer") %>
</body> </body>
</html> </html>

View file

@ -18,11 +18,11 @@
<textarea rows="4" cols="50" name="content"></textarea> <textarea rows="4" cols="50" name="content"></textarea>
<hr> <hr>
<button class="buyuk" type="submit">Open Thread!</button> <button class="buyuk" type="submit">Create Thread!</button>
</form> </form>
<%- include("extra/footer") %> <%- include("extra/footer") %>
</body> </body>
</html> </html>

View file

@ -43,7 +43,7 @@
<% if (user?.admin) {%> <% if (user?.admin) {%>
<form action="/admin/" method="POST"> <form action="/admin/" method="POST">
<input name="userid" type="hidden" value="<%= member.id %>"></input> <input name="userid" type="hidden" value="<%= member.id %>"></input>
<button class="buyuk" type="submit">Make admin!</button> <button class="buyuk" type="submit">Give admin permissions!</button>
</form> </form>
@ -55,4 +55,4 @@
<%- include("extra/footer") %> <%- include("extra/footer") %>
</body> </body>
</html> </html>

View file

@ -8,7 +8,7 @@
<%- include("extra/navbar", {user}) %> <%- include("extra/navbar", {user}) %>
<h1>This page is not ready.</h1> <h1>This page's development is not completed yet.</h1>
<hr> <hr>
<!--- <form action="/userEdit/<%= %>" method="post"> <!--- <form action="/userEdit/<%= %>" method="post">
@ -26,4 +26,4 @@
</body> </body>
</html> </html>