From 08b472facf246383ee46e4e4abdfe48e95a4faf3 Mon Sep 17 00:00:00 2001 From: Kamesuta Date: Thu, 31 Aug 2023 00:11:20 +0900 Subject: [PATCH] i18n for landing.ejs --- app/assets/lang/en_US.json | 30 +++++++++++++++++++- app/landing.ejs | 58 +++++++++++++++++++------------------- 2 files changed, 58 insertions(+), 30 deletions(-) diff --git a/app/assets/lang/en_US.json b/app/assets/lang/en_US.json index 20e879ce..c6025f31 100644 --- a/app/assets/lang/en_US.json +++ b/app/assets/lang/en_US.json @@ -4,7 +4,35 @@ }, "ejs": { "landing": { - "news": "NEWS" + "updateAvailableTooltip": "Update Available", + "usernamePlaceholder": "Username", + "usernameEditButton": "Edit", + "settingsTooltip": "Settings", + "mediaGitHubURL": "https://github.com/dscalzi/HeliosLauncher", + "mediaTwitterURL": "#", + "mediaInstagramURL": "#", + "mediaYouTubeURL": "#", + "mediaDiscordURL": "https://discord.gg/zNWUXdt", + "serverStatus": "SERVER", + "serverStatusPlaceholder": "OFFLINE", + "mojangStatus": "MOJANG STATUS", + "mojangStatusIcon": "•", + "mojangStatusTooltipTitle": "Services", + "mojangStatusNETitle": "Non Essential", + "newsButton": "NEWS", + "launchButton": "PLAY", + "launchButtonPlaceholder": "• No Server Selected", + "launchProgressLabel": "0%", + "launchDetails": "Please wait..", + "newsArticleTitle": "Lorem Ipsum", + "newsArticleDate": "Mar 15, 44 BC, 9:14 AM", + "newsArticleAuthor": "by Cicero", + "newsArticleComments": "0 Comments", + "newsNavigationStatus": "1 of 1", + "newsErrorLoadSpan": "Checking for News..", + "newsErrorFailedSpan": "Failed to Load News", + "newsErrorRetryButton": "Try Again", + "newsErrorNoneSpan": "No News" } }, "js": { diff --git a/app/landing.ejs b/app/landing.ejs index b70e484b..16b98f9d 100644 --- a/app/landing.ejs +++ b/app/landing.ejs @@ -3,7 +3,7 @@
-
Update Available
+
<%- lang('landing.updateAvailableTooltip') %>
@@ -11,9 +11,9 @@