mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 11:42:14 -08:00
Icons don't need translation.
This commit is contained in:
parent
d88a1f7224
commit
cf6ffb3334
@ -165,14 +165,14 @@ function updateSelectedServer(serv){
|
|||||||
}
|
}
|
||||||
ConfigManager.setSelectedServer(serv != null ? serv.rawServer.id : null)
|
ConfigManager.setSelectedServer(serv != null ? serv.rawServer.id : null)
|
||||||
ConfigManager.save()
|
ConfigManager.save()
|
||||||
server_selection_button.innerHTML = Lang.queryJS('landing.selectedServer.icon') + (serv != null ? serv.rawServer.name : Lang.queryJS('landing.noSelection'))
|
server_selection_button.innerHTML = '• ' + (serv != null ? serv.rawServer.name : Lang.queryJS('landing.noSelection'))
|
||||||
if(getCurrentView() === VIEWS.settings){
|
if(getCurrentView() === VIEWS.settings){
|
||||||
animateSettingsTabRefresh()
|
animateSettingsTabRefresh()
|
||||||
}
|
}
|
||||||
setLaunchEnabled(serv != null)
|
setLaunchEnabled(serv != null)
|
||||||
}
|
}
|
||||||
// Real text is set in uibinder.js on distributionIndexDone.
|
// Real text is set in uibinder.js on distributionIndexDone.
|
||||||
server_selection_button.innerHTML = Lang.queryJS('landing.selectedServer.icon') + Lang.queryJS('landing.selectedServer.loading')
|
server_selection_button.innerHTML = '• ' + Lang.queryJS('landing.selectedServer.loading')
|
||||||
server_selection_button.onclick = async e => {
|
server_selection_button.onclick = async e => {
|
||||||
e.target.blur()
|
e.target.blur()
|
||||||
await toggleServerSelection(true)
|
await toggleServerSelection(true)
|
||||||
@ -202,7 +202,7 @@ const refreshMojangStatuses = async function(){
|
|||||||
const service = statuses[i]
|
const service = statuses[i]
|
||||||
|
|
||||||
const tooltipHTML = `<div class="mojangStatusContainer">
|
const tooltipHTML = `<div class="mojangStatusContainer">
|
||||||
<span class="mojangStatusIcon" style="color: ${MojangRestAPI.statusToHex(service.status)};">${Lang.queryJS('landing.mojangStatus.icon')}</span>
|
<span class="mojangStatusIcon" style="color: ${MojangRestAPI.statusToHex(service.status)};">•</span>
|
||||||
<span class="mojangStatusName">${service.name}</span>
|
<span class="mojangStatusName">${service.name}</span>
|
||||||
</div>`
|
</div>`
|
||||||
if(service.essential){
|
if(service.essential){
|
||||||
|
@ -6,7 +6,6 @@ settingsTooltip = "Settings"
|
|||||||
serverStatus = "SERVER"
|
serverStatus = "SERVER"
|
||||||
serverStatusPlaceholder = "OFFLINE"
|
serverStatusPlaceholder = "OFFLINE"
|
||||||
mojangStatus = "MOJANG STATUS"
|
mojangStatus = "MOJANG STATUS"
|
||||||
mojangStatusIcon = "•"
|
|
||||||
mojangStatusTooltipTitle = "Services"
|
mojangStatusTooltipTitle = "Services"
|
||||||
mojangStatusNETitle = "Non Essential"
|
mojangStatusNETitle = "Non Essential"
|
||||||
newsButton = "NEWS"
|
newsButton = "NEWS"
|
||||||
@ -21,7 +20,6 @@ newsErrorRetryButton = "Try Again"
|
|||||||
newsErrorNoneSpan = "No News"
|
newsErrorNoneSpan = "No News"
|
||||||
|
|
||||||
[ejs.login]
|
[ejs.login]
|
||||||
loginCancelIcon = "X"
|
|
||||||
loginCancelText = "Cancel"
|
loginCancelText = "Cancel"
|
||||||
loginSubheader = "MINECRAFT LOGIN"
|
loginSubheader = "MINECRAFT LOGIN"
|
||||||
loginEmailError = "* Invalid Value"
|
loginEmailError = "* Invalid Value"
|
||||||
@ -161,13 +159,9 @@ okay = "Okay"
|
|||||||
noAccountSelected = "No Account Selected"
|
noAccountSelected = "No Account Selected"
|
||||||
|
|
||||||
[js.landing.selectedServer]
|
[js.landing.selectedServer]
|
||||||
icon = "• "
|
|
||||||
noSelection = "No Server Selected"
|
noSelection = "No Server Selected"
|
||||||
loading = "Loading.."
|
loading = "Loading.."
|
||||||
|
|
||||||
[js.landing.mojangStatus]
|
|
||||||
icon = "•"
|
|
||||||
|
|
||||||
[js.landing.serverStatus]
|
[js.landing.serverStatus]
|
||||||
server = "SERVER"
|
server = "SERVER"
|
||||||
offline = "OFFLINE"
|
offline = "OFFLINE"
|
||||||
|
@ -102,7 +102,7 @@
|
|||||||
<div class="bot_divider"></div>
|
<div class="bot_divider"></div>
|
||||||
<div id="mojangStatusWrapper">
|
<div id="mojangStatusWrapper">
|
||||||
<span class="bot_label"><%- lang('landing.mojangStatus') %></span>
|
<span class="bot_label"><%- lang('landing.mojangStatus') %></span>
|
||||||
<span id="mojang_status_icon"><%- lang('landing.mojangStatusIcon') %></span>
|
<span id="mojang_status_icon">•</span>
|
||||||
<div id="mojangStatusTooltip">
|
<div id="mojangStatusTooltip">
|
||||||
<div id="mojangStatusTooltipTitle"><%- lang('landing.mojangStatusTooltipTitle') %></div>
|
<div id="mojangStatusTooltipTitle"><%- lang('landing.mojangStatusTooltipTitle') %></div>
|
||||||
<div id="mojangStatusEssentialContainer">
|
<div id="mojangStatusEssentialContainer">
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<div id="loginContainer" style="display: none;">
|
<div id="loginContainer" style="display: none;">
|
||||||
<div id="loginCancelContainer" style="display: none;">
|
<div id="loginCancelContainer" style="display: none;">
|
||||||
<button id="loginCancelButton">
|
<button id="loginCancelButton">
|
||||||
<div id="loginCancelIcon"><%- lang('login.loginCancelIcon') %></div>
|
<div id="loginCancelIcon">X</div>
|
||||||
<span id="loginCancelText"><%- lang('login.loginCancelText') %></span>
|
<span id="loginCancelText"><%- lang('login.loginCancelText') %></span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user