i18n for overlay.ejs

This commit is contained in:
Kamesuta 2023-08-31 00:58:57 +09:00
parent a9ad071ba9
commit b2ad90148e
2 changed files with 22 additions and 10 deletions

View File

@ -56,6 +56,18 @@
"loginWithMicrosoft": "Login with Microsoft", "loginWithMicrosoft": "Login with Microsoft",
"loginWithMojang": "Login with Mojang", "loginWithMojang": "Login with Mojang",
"cancelButton": "Cancel" "cancelButton": "Cancel"
},
"overlay": {
"serverSelectHeader": "Available Servers",
"serverSelectConfirm": "Select",
"serverSelectCancel": "Cancel",
"accountSelectHeader": "Select an Account",
"accountSelectConfirm": "Select",
"accountSelectCancel": "Cancel",
"overlayTitle": "Lorem Ipsum:<br>Finis Illud",
"overlayDesc": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud..",
"overlayAcknowledge": "Conare Iterum",
"overlayDismiss": "Dismiss"
} }
}, },
"js": { "js": {

View File

@ -1,39 +1,39 @@
<div id="overlayContainer" style="display: none;"> <div id="overlayContainer" style="display: none;">
<div id="serverSelectContent" style="display: none;"> <div id="serverSelectContent" style="display: none;">
<span id="serverSelectHeader">Available Servers</span> <span id="serverSelectHeader"><%- lang('overlay.serverSelectHeader') %></span>
<div id="serverSelectList"> <div id="serverSelectList">
<div id="serverSelectListScrollable"> <div id="serverSelectListScrollable">
<!-- Server listings populated here. --> <!-- Server listings populated here. -->
</div> </div>
</div> </div>
<div id="serverSelectActions"> <div id="serverSelectActions">
<button id="serverSelectConfirm" class="overlayKeybindEnter" type="submit">Select</button> <button id="serverSelectConfirm" class="overlayKeybindEnter" type="submit"><%- lang('overlay.serverSelectConfirm') %></button>
<div id="serverSelectCancelWrapper"> <div id="serverSelectCancelWrapper">
<button id="serverSelectCancel" class="overlayKeybindEsc">Cancel</button> <button id="serverSelectCancel" class="overlayKeybindEsc"><%- lang('overlay.serverSelectCancel') %></button>
</div> </div>
</div> </div>
</div> </div>
<div id="accountSelectContent" style="display: none;"> <div id="accountSelectContent" style="display: none;">
<span id="accountSelectHeader">Select an Account</span> <span id="accountSelectHeader"><%- lang('overlay.accountSelectHeader') %></span>
<div id="accountSelectList"> <div id="accountSelectList">
<div id="accountSelectListScrollable"> <div id="accountSelectListScrollable">
<!-- Accounts populated here. --> <!-- Accounts populated here. -->
</div> </div>
</div> </div>
<div id="accountSelectActions"> <div id="accountSelectActions">
<button id="accountSelectConfirm" class="overlayKeybindEnter" type="submit">Select</button> <button id="accountSelectConfirm" class="overlayKeybindEnter" type="submit"><%- lang('overlay.accountSelectConfirm') %></button>
<div id="accountSelectCancelWrapper"> <div id="accountSelectCancelWrapper">
<button id="accountSelectCancel" class="overlayKeybindEsc">Cancel</button> <button id="accountSelectCancel" class="overlayKeybindEsc"><%- lang('overlay.accountSelectCancel') %></button>
</div> </div>
</div> </div>
</div> </div>
<div id="overlayContent"> <div id="overlayContent">
<span id="overlayTitle">Lorem Ipsum:<br>Finis Illud</span> <span id="overlayTitle"><%- lang('overlay.overlayTitle') %></span>
<span id="overlayDesc">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud..</span> <span id="overlayDesc"><%- lang('overlay.overlayDesc') %></span>
<div id="overlayActionContainer"> <div id="overlayActionContainer">
<button id="overlayAcknowledge" class="overlayKeybindEnter">Conare Iterum</button> <button id="overlayAcknowledge" class="overlayKeybindEnter"><%- lang('overlay.overlayAcknowledge') %></button>
<div id="overlayDismissWrapper"> <div id="overlayDismissWrapper">
<button id="overlayDismiss" style="display: none;" class="overlayKeybindEsc">Dismiss</button> <button id="overlayDismiss" style="display: none;" class="overlayKeybindEsc"><%- lang('overlay.overlayDismiss') %></button>
</div> </div>
</div> </div>
</div> </div>