Minor cleanup

This commit is contained in:
ElPumpo
2018-06-16 10:17:05 +02:00
parent f4f9d13893
commit 6eb077461e
5 changed files with 2 additions and 11 deletions
-1
View File
@@ -55,7 +55,6 @@ files {
'html/fonts/pdown.ttf',
'html/fonts/bankgothic.ttf',
'html/img/cursor.png',
'html/img/keys/enter.png',
'html/img/keys/return.png',
-6
View File
@@ -12,12 +12,6 @@ html {
overflow: hidden;
}
#cursor {
position: absolute;
z-index: 999999;
display: none;
}
#hud {
position : absolute;
font-family: 'Pricedown';
Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 B

-2
View File
@@ -7,10 +7,8 @@
<div id="hud"></div>
<div id="inventory_notifications"></div>
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> -->
<script src="nui://game/ui/jquery.js" type="text/javascript"></script>
<script src="js/mustache.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>
+2 -2
View File
@@ -7,11 +7,11 @@ function _(str, ...) -- Translate string
if Locales[Config.Locale][str] ~= nil then
return string.format(Locales[Config.Locale][str], ...)
else
return 'Translation [' .. Config.Locale .. '][' .. str .. '] does not exists'
return 'Translation [' .. Config.Locale .. '][' .. str .. '] does not exist'
end
else
return 'Locale [' .. Config.Locale .. '] does not exists'
return 'Locale [' .. Config.Locale .. '] does not exist'
end
end