Add translation

This commit is contained in:
Andrew 2023-05-14 14:35:23 -04:00
parent 3262b5fd15
commit d02fe1cb6c
2 changed files with 8 additions and 5 deletions

View File

@ -180,9 +180,9 @@
</fieldset>
{% if not data["server_api"] %}
<div class="api-alert" style="position: absolute; top: -5px; z-index: 100; opacity: .99;">
<p style="color: white !important;"><i class="fas fa-exclamation-triangle" style="color: white;"></i> Server JARs API unreachable. Please check <a style="color: red;"; href="https://status.craftycontrol.com/status/craftycontrol"
target="_blank">Crafty's status Page</a>
for more information.</p></div>
<p style="color: white !important;"><i class="fas fa-exclamation-triangle" style="color: white;"></i>&nbsp;{{ translate('error', 'serverJars1', data['lang']) }}<a style="color: red;"; href="https://status.craftycontrol.com/status/craftycontrol"
target="_blank">&nbsp;{{ translate('error', 'craftyStatus', data['lang']) }}</a>
&nbsp;{{ translate('error', 'serverJars2', data['lang']) }}</p></div>
{% end %}
</div>
</div>

View File

@ -186,7 +186,10 @@
"terribleFailure": "What a Terrible Failure!",
"superError": "You must be a super user to complete this action.",
"fileError": "File type must be an image.",
"migration": "Crafty's main server storage is being mirgated to a new location. All server starts have been suspended during this time. Please wait while we finish this migration"
"migration": "Crafty's main server storage is being mirgated to a new location. All server starts have been suspended during this time. Please wait while we finish this migration",
"serverJars1": "Server JARs API unreachable. Please check",
"craftyStatus": "Crafty's status page",
"serverJars2": "for the most up to date information."
},
"footer": {
"allRightsReserved": "All rights reserved",
@ -614,4 +617,4 @@
"manager": "Manager",
"selectManager": "Select Manager for User"
}
}
}