chore(client+nui); Add support for locales; modify character info appearance

This commit is contained in:
Linden
2021-05-21 03:17:23 +10:00
parent a6e7868407
commit 2e81884550
9 changed files with 27 additions and 31 deletions
+5 -2
View File
@@ -1,12 +1,12 @@
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;600&display=swap');
* {
font-family: 'Raleway';
margin: 0;
padding: 0;
user-select: none;
color: rgb(255, 255, 255);
font-weight: 300;
font-size: 1.5vh;
font-size: 1.6vh;
font-family: Calibri, "Helvetica", san-serif;
}
html {
@@ -36,6 +36,7 @@ body {
top: 5%;
left: 50%;
transform: translate(-50%);
font-size: 1.1rem;
}
.footer {
@@ -43,6 +44,7 @@ body {
bottom: 5%;
left: 50%;
transform: translate(-50%);
font-size: 1.1rem;
}
.character-box {
@@ -61,6 +63,7 @@ body {
}
h1 {
font-family: 'Raleway', sans-serif;
padding-top: 2rem;
display: block;
font-size: 1.3rem;
-6
View File
@@ -6,9 +6,3 @@ translate.bank = "Bank";
translate.money = "Cash";
translate.gender = "Gender";
translate.dob = "Date of birth";
translate.new = "";
translate.delete = "DELETE";
translate.play = "PLAY";
translate.playNew = "CREATE CHARACTER";
translate.modalTitle = "Are You Sure?";
translate.modalText = "By deleting your account we won't be able to recover it, all properties, cars etc. will be deleted";
-6
View File
@@ -6,9 +6,3 @@ translate.bank = "Banque";
translate.money = "Argent";
translate.gender = "Sexe";
translate.dob = "Date de naissance";
translate.new = "Créer un personnage";
translate.delete = "SUPPRIMER";
translate.play = "JOUER";
translate.playNew = "CRÉER UN PERSONNAGE";
translate.modalTitle = "Êtes-vous sûr?";
translate.modalText = "En supprimant votre personnage, vous ne pourrez pas le récupérer. Toutes les informations seront supprimées.";
-6
View File
@@ -6,9 +6,3 @@ translate.bank = "Bank";
translate.money = "Gotówka";
translate.gender = "Seks";
translate.dob = "Data urodzenia";
translate.new = "Utwórz nową postać";
translate.delete = "KASOWAĆ";
translate.play = "GRAĆ";
translate.playNew = "TWORZYĆ POSTAĆ";
translate.modalTitle = "Jesteś pewny?";
translate.modalText = "Po usunięciu konta nie będziemy mogli go odzyskać, wszystkie nieruchomości, samochody itp. Zostaną usunięte";
+1 -1
View File
@@ -21,4 +21,4 @@
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="js/app.js" type="text/javascript"></script>
</body>
</html>
</html>