Skip to content

Commit

Permalink
added localization for login button
Browse files Browse the repository at this point in the history
  • Loading branch information
tsevasa committed Jul 19, 2024
1 parent 88ee939 commit dbe0eb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/client/views/login.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<!-- This is where our script inserts an error division! -->
</div>
<p id="forgot" class="forgothidden"><%=t('login.forgot_password.0')%><a href='mailto:[email protected]'><%=t('login.forgot_password.1')%></a></p>
<input type="submit" value="Log In" class="unavailable" id="submit">
<input type="submit" value="<%=t('login.login_button')%>" class="unavailable" id="submit">
</form>
</div>
</main>
Expand Down
3 changes: 2 additions & 1 deletion translation/en-US.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "English" # Name of language
direction = "ltr" # Change to "rtl" for right to left languages
version = 1
version = "1.0.1"

[header]
home = "Home"
Expand Down Expand Up @@ -445,6 +445,7 @@ title = "Log In"
username = "Username:"
password = "Password:"
forgot_password = ["Forgot? ", "Email us."]
login_button = "Log In"

[error-pages] # Messages shown on some error pages explaining what went wrong
400_message = "Invalid parameters were received."
Expand Down

0 comments on commit dbe0eb5

Please sign in to comment.