Traductions
This commit is contained in:
parent
ec0f26678d
commit
44c046aca2
@ -10,6 +10,7 @@
|
||||
/*background: url('assets/images/backgrounds/<%=bkid%>.jpg') no-repeat center center fixed;*/
|
||||
transition: background-image 1s ease;
|
||||
background-image: url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBkZWZhdWx0IHF1YWxpdHkK/9sAQwAIBgYHBgUIBwcHCQkICgwUDQwLCwwZEhMPFB0aHx4dGhwcICQuJyAiLCMcHCg3KSwwMTQ0NB8nOT04MjwuMzQy/9sAQwEJCQkMCwwYDQ0YMiEcITIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy/8AAEQgAPwBwAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/aAAwDAQACEQMRAD8A8VooopDCiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAP/9k=');
|
||||
box-shadow: -10px 20px 100px 3px rgba(0, 0, 0, 0.3) inset;
|
||||
background-size: cover;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
@ -328,12 +328,12 @@ function asyncSystemScan(mcVersion, launchAfter = true){
|
||||
// Show this information to the user.
|
||||
setOverlayContent(
|
||||
'No Compatible<br>Java Installation Found',
|
||||
'In order to join WesterosCraft, you need a 64-bit installation of Java 8. Would you like us to install a copy? By installing, you accept <a href="http://www.oracle.com/technetwork/java/javase/terms/license/index.html">Oracle\'s license agreement</a>.',
|
||||
'In order to join AdventureCraft, you need a 64-bit installation of Java 8. Would you like us to install a copy? By installing, you accept <a href="http://www.oracle.com/technetwork/java/javase/terms/license/index.html">Oracle\'s license agreement</a>.',
|
||||
'Install Java',
|
||||
'Install Manually'
|
||||
)
|
||||
setOverlayHandler(() => {
|
||||
setLaunchDetails('Preparing Java Download..')
|
||||
setLaunchDetails('Préparation du téléchargement de Java...')
|
||||
sysAEx.send({task: 'changeContext', class: 'AssetGuard', args: [ConfigManager.getCommonDirectory(),ConfigManager.getJavaExecutable()]})
|
||||
sysAEx.send({task: 'execute', function: '_enqueueOpenJDK', argsArr: [ConfigManager.getDataDirectory()]})
|
||||
toggleOverlay(false)
|
||||
@ -380,7 +380,7 @@ function asyncSystemScan(mcVersion, launchAfter = true){
|
||||
if(m.result === true){
|
||||
|
||||
// Oracle JRE enqueued successfully, begin download.
|
||||
setLaunchDetails('Downloading Java..')
|
||||
setLaunchDetails('Téléchargement de Java...')
|
||||
sysAEx.send({task: 'execute', function: 'processDlQueues', argsArr: [[{id:'java', limit:1}]]})
|
||||
|
||||
} else {
|
||||
@ -444,7 +444,7 @@ function asyncSystemScan(mcVersion, launchAfter = true){
|
||||
extractListener = null
|
||||
}
|
||||
|
||||
setLaunchDetails('Java Installed!')
|
||||
setLaunchDetails('Java Installé !')
|
||||
|
||||
if(launchAfter){
|
||||
dlAsync()
|
||||
@ -460,7 +460,7 @@ function asyncSystemScan(mcVersion, launchAfter = true){
|
||||
})
|
||||
|
||||
// Begin system Java scan.
|
||||
setLaunchDetails('Checking system info..')
|
||||
setLaunchDetails('Vérification des infos du système...')
|
||||
sysAEx.send({task: 'execute', function: 'validateJava', argsArr: [ConfigManager.getDataDirectory()]})
|
||||
|
||||
}
|
||||
@ -494,7 +494,7 @@ function dlAsync(login = true){
|
||||
}
|
||||
}
|
||||
|
||||
setLaunchDetails('Please wait..')
|
||||
setLaunchDetails('Veuillez patienter...')
|
||||
toggleLaunchArea(true)
|
||||
setLaunchPercentage(0, 100)
|
||||
|
||||
@ -542,7 +542,7 @@ function dlAsync(login = true){
|
||||
case 'distribution':
|
||||
setLaunchPercentage(20, 100)
|
||||
loggerLaunchSuite.log('Validated distibution index.')
|
||||
setLaunchDetails('Loading version information..')
|
||||
setLaunchDetails('Chargement des données de version...')
|
||||
break
|
||||
case 'version':
|
||||
setLaunchPercentage(40, 100)
|
||||
@ -562,7 +562,7 @@ function dlAsync(login = true){
|
||||
case 'files':
|
||||
setLaunchPercentage(100, 100)
|
||||
loggerLaunchSuite.log('File validation complete.')
|
||||
setLaunchDetails('Downloading files..')
|
||||
setLaunchDetails('Téléchargement des fichiers..')
|
||||
break
|
||||
}
|
||||
} else if(m.context === 'progress'){
|
||||
@ -604,7 +604,7 @@ function dlAsync(login = true){
|
||||
progressListener = null
|
||||
}
|
||||
|
||||
setLaunchDetails('Preparing to launch..')
|
||||
setLaunchDetails('Préparation au lancement...')
|
||||
break
|
||||
}
|
||||
} else if(m.context === 'error'){
|
||||
@ -651,7 +651,7 @@ function dlAsync(login = true){
|
||||
const authUser = ConfigManager.getSelectedAccount()
|
||||
loggerLaunchSuite.log(`Sending selected account (${authUser.displayName}) to ProcessBuilder.`)
|
||||
let pb = new ProcessBuilder(serv, versionData, forgeData, authUser, remote.app.getVersion())
|
||||
setLaunchDetails('Launching game..')
|
||||
setLaunchDetails('Démarrage du jeu...')
|
||||
|
||||
// const SERVER_JOINED_REGEX = /\[.+\]: \[CHAT\] [a-zA-Z0-9_]{1,16} joined the game/
|
||||
const SERVER_JOINED_REGEX = new RegExp(`\\[.+\\]: \\[CHAT\\] ${authUser.displayName} joined the game`)
|
||||
@ -686,9 +686,9 @@ function dlAsync(login = true){
|
||||
const gameStateChange = function(data){
|
||||
data = data.trim()
|
||||
if(SERVER_JOINED_REGEX.test(data)){
|
||||
DiscordWrapper.updateDetails('Exploring the Realm!')
|
||||
DiscordWrapper.updateDetails('Exploration d\'AdventureCraft !')
|
||||
} else if(GAME_JOINED_REGEX.test(data)){
|
||||
DiscordWrapper.updateDetails('Sailing to Westeros!')
|
||||
DiscordWrapper.updateDetails('En route pour AdventureCraft !')
|
||||
}
|
||||
}
|
||||
|
||||
@ -708,7 +708,7 @@ function dlAsync(login = true){
|
||||
proc.stdout.on('data', tempListener)
|
||||
proc.stderr.on('data', gameErrorListener)
|
||||
|
||||
setLaunchDetails('Done. Enjoy the server!')
|
||||
setLaunchDetails('Terminé. Amusez vous bien !')
|
||||
|
||||
// Init Discord Hook
|
||||
const distro = DistroManager.getDistribution()
|
||||
@ -740,7 +740,7 @@ function dlAsync(login = true){
|
||||
// Begin Validations
|
||||
|
||||
// Validate Forge files.
|
||||
setLaunchDetails('Loading server information..')
|
||||
setLaunchDetails('Chargement des données du serveur...')
|
||||
|
||||
refreshDistributionIndex(true, (data) => {
|
||||
onDistroRefresh(data)
|
||||
|
@ -1,14 +1,14 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"discord": {
|
||||
"clientId": "385581240906022916",
|
||||
"clientId": "763884519463190548",
|
||||
"smallImageText": "AdventureCraft",
|
||||
"smallImageKey": "seal-circle"
|
||||
},
|
||||
"java": {
|
||||
"oracle": "http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html"
|
||||
},
|
||||
"rss": "",
|
||||
"rss": "https://fr-minecraft.net/minecraft_net_rss.xml",
|
||||
"servers": [
|
||||
{
|
||||
"id": "AdventureCraft",
|
||||
@ -25,7 +25,30 @@
|
||||
},
|
||||
"mainServer": true,
|
||||
"autoconnect": true,
|
||||
"modules": []
|
||||
"modules": [
|
||||
{
|
||||
"id": "com.adventurecraft:serverpack:1.16.3-201009",
|
||||
"name": "AdventureCraft Resource Pack",
|
||||
"type": "File",
|
||||
"artifact": {
|
||||
"size": 164843222,
|
||||
"MD5": "c2e1da5e8d915bf9a2cd98b8714cd5c7",
|
||||
"path": "resourcepacks/ServerPack.zip",
|
||||
"url": "https://www.adventurecraft.fr/files/resourcepacks/ServerPack 201009.zip"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "servers.dat",
|
||||
"name": "Saved Client Servers",
|
||||
"type": "File",
|
||||
"artifact": {
|
||||
"size": 13283,
|
||||
"MD5": "d4d7d3eac05aa0e8c7380ee0f70a22ee",
|
||||
"path": "servers.dat",
|
||||
"url": "https://www.adventurecraft.fr/files/launcher/servers.dat"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user