Start translation

This commit is contained in:
Thomas Roque 2023-04-27 16:50:05 +02:00
parent 10a3805fe9
commit ef07ec814e
5 changed files with 68 additions and 12 deletions

23
.idea/workspace.xml generated
View File

@ -4,13 +4,12 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="c7fc7215-5a14-4d6e-8a38-d34bcd9137f5" name="Changes" comment="Editing ico">
<change afterPath="$PROJECT_DIR$/build/logo.png" afterDir="false" />
<list default="true" id="c7fc7215-5a14-4d6e-8a38-d34bcd9137f5" name="Changes" comment="Update logo and loading screen">
<change afterPath="$PROJECT_DIR$/app/assets/lang/fr_FR.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/app.ejs" beforeDir="false" afterPath="$PROJECT_DIR$/app/app.ejs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/assets/css/launcher.css" beforeDir="false" afterPath="$PROJECT_DIR$/app/assets/css/launcher.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/assets/images/SealCircle.ico" beforeDir="false" afterPath="$PROJECT_DIR$/app/assets/images/SealCircle.ico" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/assets/images/logo.png" beforeDir="false" afterPath="$PROJECT_DIR$/app/assets/images/logo.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/assets/js/preloader.js" beforeDir="false" afterPath="$PROJECT_DIR$/app/assets/js/preloader.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/frame.ejs" beforeDir="false" afterPath="$PROJECT_DIR$/app/frame.ejs" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -82,7 +81,7 @@
<workItem from="1682597151301" duration="1539000" />
<workItem from="1682599215708" duration="3000" />
<workItem from="1682599222418" duration="3037000" />
<workItem from="1682604704565" duration="1274000" />
<workItem from="1682604704565" duration="2270000" />
</task>
<task id="LOCAL-00001" summary="Editing ico">
<created>1682604080148</created>
@ -91,7 +90,14 @@
<option name="project" value="LOCAL" />
<updated>1682604080148</updated>
</task>
<option name="localTasksCounter" value="2" />
<task id="LOCAL-00002" summary="Update logo and loading screen">
<created>1682606030929</created>
<option name="number" value="00002" />
<option name="presentableId" value="LOCAL-00002" />
<option name="project" value="LOCAL" />
<updated>1682606030929</updated>
</task>
<option name="localTasksCounter" value="3" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@ -100,6 +106,7 @@
<component name="VcsManagerConfiguration">
<option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" />
<MESSAGE value="Editing ico" />
<option name="LAST_COMMIT_MESSAGE" value="Editing ico" />
<MESSAGE value="Update logo and loading screen" />
<option name="LAST_COMMIT_MESSAGE" value="Update logo and loading screen" />
</component>
</project>

View File

@ -1,7 +1,7 @@
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<html lang="fr" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" http-equiv="Content-Security-Policy" content="script-src 'self' 'sha256-In6B8teKZQll5heMl9bS7CESTbGvuAt3VVV86BUQBDk='"/>
<title>Helios Launcher</title>
<title>BTCV Launcher</title>
<script src="./assets/js/scripts/uicore.js"></script>
<script src="./assets/js/scripts/uibinder.js"></script>
<link type="text/css" rel="stylesheet" href="./assets/css/launcher.css">

View File

@ -23,7 +23,7 @@ DistroAPI['commonDir'] = ConfigManager.getCommonDirectory()
DistroAPI['instanceDir'] = ConfigManager.getInstanceDirectory()
// Load Strings
LangLoader.loadLanguage('en_US')
LangLoader.loadLanguage('fr_FR')
/**
*

View File

@ -0,0 +1,49 @@
{
"html": {
"avatarOverlay": "Modifier"
},
"js": {
"login": {
"error": {
"invalidValue": "* Valeur invalide",
"requiredValue": "* Champ obligatoire",
"userMigrated": {
"title": "Erreur lors de la connexion :<br>Identifiants invalides",
"desc": "Vous avez tenté de vous connecter avec un compte migré. Veuillez réessayer en utilisant l'adresse e-mail du compte comme nom d'utilisateur."
},
"invalidCredentials": {
"title": "Erreur lors de la connexion :<br>Identifiants invalides",
"desc": "L'adresse e-mail ou le mot de passe que vous avez entré est incorrect. Veuillez réessayer."
},
"rateLimit": {
"title": "Erreur lors de la connexion :<br>Trop de tentatives",
"desc": "Il y a eu trop de tentatives de connexion avec ce compte récemment. Veuillez réessayer plus tard."
},
"noInternet": {
"title": "Erreur lors de la connexion :<br>Pas de connexion Internet",
"desc": "Vous devez être connecté à Internet pour vous connecter. Veuillez vous connecter et réessayer."
},
"authDown": {
"title": "Erreur lors de la connexion :<br>Serveur d'authentification hors ligne",
"desc": "Le serveur d'authentification de Mojang est actuellement hors ligne ou inaccessible. Veuillez patienter un peu et réessayer. Vous pouvez vérifier l'état du serveur sur <a href="https://help.mojang.com/\">le portail d'aide de Mojang</a>."
},
"notPaid": {
"title": "Erreur lors de la connexion :<br>Jeu non acheté",
"desc": "Le compte que vous essayez de vous connecter n'a pas acheté une copie de Minecraft. Vous pouvez acheter une copie sur <a href="https://minecraft.net/\">Minecraft.net</a>."
},
"unknown": {
"title": "Erreur lors de la connexion :<br>Erreur inconnue"
}
},
"login": "CONNEXION",
"loggingIn": "CONNEXION EN COURS",
"success": "SUCCÈS",
"tryAgain": "Réessayer"
},
"landing": {
"launch": {
"pleaseWait": "Veuillez patienter.."
}
}
}
}

View File

@ -13,7 +13,7 @@
<% } else{ %>
<div id="frameContentWin">
<div id="frameTitleDock">
<span id="frameTitleText">Helios Launcher</span>
<span id="frameTitleText">BTCV Launcher</span>
</div>
<div id="frameButtonDockWin">
<button class="frameButton fMb" id="frameButton_minimize" tabIndex="-1">